Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During my installation process, I keep encountering persistent torch version conflict warnings. What exactly is happening here? I am using the install.bat script on a Windows operating system. #220

Open
bab555 opened this issue Mar 30, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bab555
Copy link

bab555 commented Mar 30, 2024

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.
tts 0.22.0 requires torch>=2.1, but you have torch 2.0.1+cu117 which is incompatible.
audiocraft 1.3.0a1 requires torch==2.1.0, but you have torch 2.0.1+cu117 which is incompatible.
audiolm-pytorch 2.0.7 requires torch>=2.1, but you have torch 2.0.1+cu117 which is incompatible.
fairseq 0.12.2 requires hydra-core<1.1,>=1.0.7, but you have hydra-core 1.3.2 which is incompatible.
fairseq 0.12.2 requires omegaconf<2.1, but you have omegaconf 2.3.0 which is incompatible.
gateloop-transformer 0.2.4 requires torch>=2.1, but you have torch 2.0.1+cu117 which is incompatible.
torchaudio 2.1.0 requires torch==2.1.0, but you have torch 2.0.1+cu117 which is incompatible.
torchcrepe 0.0.20 requires librosa==0.9.1, but you have librosa 0.10.0 which is incompatible.
xformers 0.0.22.post7 requires torch==2.1.0, but you have torch 2.0.1+cu117 which is incompatible.
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.
tts 0.22.0 requires torch>=2.1, but you have torch 2.0.1+cu117 which is incompatible.
audiocraft 1.3.0a1 requires torch==2.1.0, but you have torch 2.0.1+cu117 which is incompatible.
audiolm-pytorch 2.0.7 requires torch>=2.1, but you have torch 2.0.1+cu117 which is incompatible.
fairseq 0.12.2 requires hydra-core<1.1,>=1.0.7, but you have hydra-core 1.3.2 which is incompatible.
fairseq 0.12.2 requires omegaconf<2.1, but you have omegaconf 2.3.0 which is incompatible.
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.
audiocraft 1.3.0a1 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.
audiocraft 1.3.0a1 requires torch==2.1.0, but you have torch 2.2.2 which is incompatible.
audiocraft 1.3.0a1 requires torchaudio<2.1.2,>=2.0.0, but you have torchaudio 2.2.2 which is incompatible.
torchcrepe 0.0.20 requires librosa==0.9.1, but you have librosa 0.10.0 which is incompatible.
torchvision 0.15.2+cu117 requires torch==2.0.1, but you have torch 2.2.2 which is incompatible.
xformers 0.0.22.post7 requires torch==2.1.0, but you have torch 2.2.2 which is incompatible.
Successfully installed antlr4-python3-runtime-4.8 hydra-core-1.0.7 omegaconf-2.0.6 torch-2.2.2 torcha
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.
tts 0.22.0 requires librosa>=0.10.0, but you have librosa 0.9.1 which is incompatible.
audiocraft 1.3.0a1 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.
audiocraft 1.3.0a1 requires torch==2.1.0, but you have torch 2.2.2 which is incompatible.
audiocraft 1.3.0a1 requires torchaudio<2.1.2,>=2.0.0, but you have torchaudio 2.2.2 which is incompatible.

@bab555 bab555 added the bug Something isn't working label Mar 30, 2024
@gitmylo
Copy link
Owner

gitmylo commented Mar 31, 2024

That's interesting, torch should install torch 2.1.0+cu118.
Is this on a fresh install? If not, try renaming or deleting the venv folder, then running the run.bat again. (install.bat only "installs" the webui's code, not the dependencies, those are installed with run.bat)

@bab555
Copy link
Author

bab555 commented Apr 1, 2024

Now I have downloaded and successfully installed it again. It turned out to be a VPN issue. When I closed the VPN, run.bat surprisingly ran correctly
But when I use VPN, opening the webui will prompt me
Install failed!
STDOUT:
Requirement already satisfied: wheel in d: \ audio webui \ venv \ lib \ site packages (0.43.0)
STDERR:
Warning: Ignoring invalid distribution - arch (d: \ audio webui \ venv \ lib \ site packages)
Warning: Ignoring invalid distribution - arch (d: \ audio webui \ venv \ lib \ site packages)
Why does opening VPN cause this error? I have never encountered such a magical problem in any other project. China cannot directly connect to the huggingface, so without opening VPN, I cannot download the Bark model. How should I solve this problem?

@gitmylo
Copy link
Owner

gitmylo commented Apr 1, 2024

One of the servers it's downloading from might have blocked the vpn server you were on. You could try using a different vpn server (location). The reason vpn servers get blocked is usually due to malicious use. Because the vpn's ip gets blocked. There isn't really much I can do about it besides suggest you try a different vpn server (with a different ip).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants