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

Cannot install torch 2.1.0 as dependencies as this is deprecated #463

Open
Shengguang-Zhou opened this issue May 30, 2024 · 2 comments
Open

Comments

@Shengguang-Zhou
Copy link

I was trying to pip install thru following command and had following error:

(.venv)(base) ~/PycharmProjects/musicGeneration git:[master]
python3 -m pip install -U git+https://github.com/facebookresearch/audiocraft#egg=audiocraft
Collecting audiocraft
Cloning https://github.com/facebookresearch/audiocraft to /tmp/pip-install-53xg7lqu/audiocraft_351d39e2e483418c92732d6aa7e5699b
Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/audiocraft /tmp/pip-install-53xg7lqu/audiocraft_351d39e2e483418c92732d6aa7e5699b

Resolved https://github.com/facebookresearch/audiocraft to commit 72cb16f
Preparing metadata (setup.py) ... done
Collecting av==11.0.0 (from audiocraft)
Using cached av-11.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.5 kB)
Collecting einops (from audiocraft)
Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
Collecting flashy>=0.0.1 (from audiocraft)
Using cached flashy-0.0.2.tar.gz (72 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting hydra-core>=1.1 (from audiocraft)
Using cached hydra_core-1.3.2-py3-none-any.whl.metadata (5.5 kB)
Collecting hydra_colorlog (from audiocraft)
Using cached hydra_colorlog-1.2.0-py3-none-any.whl.metadata (949 bytes)
Collecting julius (from audiocraft)
Using cached julius-0.2.7.tar.gz (59 kB)
Preparing metadata (setup.py) ... done
Collecting num2words (from audiocraft)
Using cached num2words-0.5.13-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: numpy in ./.venv/lib/python3.12/site-packages (from audiocraft) (1.26.4)
Collecting sentencepiece (from audiocraft)
Using cached sentencepiece-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting spacy>=3.6.1 (from audiocraft)
Using cached spacy-3.7.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (27 kB)
INFO: pip is looking at multiple versions of audiocraft to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement torch==2.1.0 (from audiocraft) (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0)

ERROR: No matching distribution found for torch==2.1.0

@Darkwing371
Copy link

You must use Python 3.9 on your system for all dependencies to interwork correctly. See here: #475 (comment)

@Aadigha-git
Copy link

pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants