Open scooller opened 1 month ago
If you update the version of torch, the versions of other libraries must also be updated to match the new version of torch.
This can be a complicated problem for people who have no experience in deep learning, so I recommend that you re-install an environment, first install torch using the command pip install torch==2.3.0 torchvision torchaudio xformers --index-url https://download.pytorch.org/whl/cu121,
Then install other libraries and they will automatically match your torch version
I would recommend to use VENVs if possible and maintain the dependencies of each application separate, that way you will avoid causing issues due to incompatible versions of the libraries
I try again and the same error come out, and when install i have this message
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
albumentations 1.3.1 requires scipy>=1.1.0, which is not installed.
basicsr 1.4.2 requires opencv-python, which is not installed.
basicsr 1.4.2 requires scipy, which is not installed.
basicsr 1.4.2 requires tqdm, which is not installed.
facexlib 0.3.0 requires opencv-python, which is not installed.
facexlib 0.3.0 requires scipy, which is not installed.
facexlib 0.3.0 requires tqdm, which is not installed.
filterpy 1.4.5 requires scipy, which is not installed.
gfpgan 1.3.8 requires opencv-python, which is not installed.
gfpgan 1.3.8 requires scipy, which is not installed.
gfpgan 1.3.8 requires tqdm, which is not installed.
insightface 0.7.3 requires onnx, which is not installed.
insightface 0.7.3 requires scipy, which is not installed.
insightface 0.7.3 requires tqdm, which is not installed.
jax 0.4.24 requires scipy>=1.9, which is not installed.
keras-nightly 3.0.4.dev2024021403 requires rich, which is not installed.
opennsfw2 0.10.2 requires opencv-python>=4.0.0.0, which is not installed.
opennsfw2 0.10.2 requires tensorflow>=2.0.0, which is not installed.
opennsfw2 0.10.2 requires tqdm>=4.62, which is not installed.
scikit-image 0.22.0 requires scipy>=1.8, which is not installed.
scikit-learn 1.4.0 requires scipy>=1.6.0, which is not installed.
tb-nightly 2.16.0a20240212 requires protobuf!=4.24.0,>=3.19.6, which is not installed.
tf-nightly-intel 2.17.0.dev20240213 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, which is not installed.
I have this error when try to generate video I had an error before with Cuda but execute this line of code pip install torch==2.3.0 torchvision torchaudio xformers --index-url https://download.pytorch.org/whl/cu121