-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Thanks for your great work! Below is the install commands and error messages.
$ conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -c nvidia
Channels:
- pytorch
- nvidia
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
Package Plan
environment location: /home/..../envs/framer
added / updated specs:
- pytorch-cuda=11.6
- pytorch==1.13.1
- torchaudio==0.13.1
- torchvision==0.14.1
The following packages will be downloaded:
package | build
---------------------------|-----------------
cuda-gdb-12.8.90 | 0 349 KB nvidia
cuda-nsight-12.8.90 | 0 113.2 MB nvidia
cuda-nvdisasm-12.8.90 | 0 4.9 MB nvidia
cuda-nvprof-12.8.90 | 0 2.5 MB nvidia
cuda-nvvp-12.8.93 | 0 112.3 MB nvidia
cuda-sanitizer-api-12.8.93 | 0 9.1 MB nvidia
cuda-version-12.8 | 3 17 KB nvidia
gds-tools-1.13.1.3 | 0 37.8 MB nvidia
libcufile-1.13.1.3 | 0 936 KB nvidia
libcufile-dev-1.13.1.3 | 0 29 KB nvidia
libcurand-10.3.9.90 | 0 43.5 MB nvidia
libcurand-dev-10.3.9.90 | 0 262 KB nvidia
libidn2-2.3.8 | ha4ef2c3_0 135 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
nsight-compute-2025.1.1.2 | 0 322.7 MB nvidia
------------------------------------------------------------
Total: 647.8 MB
The following NEW packages will be INSTALLED:
aom anaconda/cloud/conda-forge/linux-64::aom-3.5.0-h27087fc_0
blas anaconda/cloud/conda-forge/linux-64::blas-1.0-mkl
brotli-python anaconda/cloud/conda-forge/linux-64::brotli-python-1.1.0-py38h17151c0_1
cairo anaconda/cloud/conda-forge/linux-64::cairo-1.16.0-h35add3b_1015
....
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ pip install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu116 (from versions: 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1)
ERROR: No matching distribution found for torch==1.13.1+cu116
$ pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Collecting torch==1.13.1+cu116
Using cached https://download.pytorch.org/whl/cu116/torch-1.13.1%2Bcu116-cp38-cp38-linux_x86_64.whl (1977.9 MB)
Collecting torchvision==0.14.1+cu116
Using cached https://download.pytorch.org/whl/cu116/torchvision-0.14.1%2Bcu116-cp38-cp38-linux_x86_64.whl (24.2 MB)
Installing collected packages: torch, torchvision
Attempting uninstall: torch
Found existing installation: torch 1.13.1
Uninstalling torch-1.13.1:
Successfully uninstalled torch-1.13.1
Attempting uninstall: torchvision
Found existing installation: torchvision 0.14.1
Uninstalling torchvision-0.14.1:
Successfully uninstalled torchvision-0.14.1
Successfully installed torch-1.13.1+cu116 torchvision-0.14.1+cu116
when run python app.py , I got below errors,
$ python app.py
Traceback (most recent call last):
File "app.py", line 1, in
import spaces
ModuleNotFoundError: No module named 'spaces'
Traceback (most recent call last):
File "app.py", line 6, in
import cv2
ModuleNotFoundError: No module named 'cv2'
Traceback (most recent call last):
File "app.py", line 7, in
from scipy.interpolate import interp1d, PchipInterpolator
ModuleNotFoundError: No module named 'scipy'
Traceback (most recent call last):
File "app.py", line 13, in
from diffusers.utils.import_utils import is_xformers_available
ModuleNotFoundError: No module named 'diffusers'
Traceback (most recent call last):
File "app.py", line 19, in
from models_diffusers.controlnet_svd import ControlNetSVDModel
File "/home/.../Framer/models_diffusers/controlnet_svd.py", line 22, in
from diffusers.loaders import FromOriginalControlnetMixin
ImportError: cannot import name 'FromOriginalControlnetMixin' from 'diffusers.loaders' (/home/..../envs/framer/lib/python3.8/site-packages/diffusers/loaders/init.py)