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.2.2+cu121 on Ubuntu 22.04 / conda #11

Open
vsigal opened this issue Apr 27, 2024 · 1 comment
Open

Cannot install torch==2.2.2+cu121 on Ubuntu 22.04 / conda #11

vsigal opened this issue Apr 27, 2024 · 1 comment

Comments

@vsigal
Copy link

vsigal commented Apr 27, 2024

Got : ERROR: Could not find a version that satisfies the requirement torch==2.2.2+cu121

Solved it by executing command :
conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=11.8 -c pytorch -c nvidia

and removing three lines in file requirements.txt :
torch==2.2.2+cu121
torchaudio==2.2.2+cu121
torchvision==0.17.2+cu121

@reid41
Copy link
Owner

reid41 commented Apr 27, 2024

thanks for testing, seems thecuda cannot directly use for the dependencies.. I will remove the cuda pkg in requirements.txt

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