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

ERROR: torch-2.1.2+cu121-cp311-cp311-win_amd64.whl is not a supported wheel on this platform #34

Closed
rrweller opened this issue Jan 15, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@rrweller
Copy link

rrweller commented Jan 15, 2024

I am getting this error when installing the requirements.txt file. I am on Windows 10 with Python 3.10.9 and CUDA 11.8.

(venv) C:\Users\r\taggui>pip install -r requirements.txt
Ignoring bitsandbytes: markers 'platform_system != "Windows"' don't match your environment
Collecting bitsandbytes==0.41.2.post2 (from -r requirements.txt (line 11))
  Downloading https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.2.post2-py3-none-win_amd64.whl (152.7 MB)
     ---------------------------------------- 152.7/152.7 MB 36.4 MB/s eta 0:00:00
Ignoring torch: markers 'platform_system != "Windows"' don't match your environment
ERROR: torch-2.1.2+cu121-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.

(venv) C:\Users\r\taggui>pip install https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp311-cp311-win_amd64.whl
ERROR: torch-2.1.2+cu121-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.```
@jhc13
Copy link
Owner

jhc13 commented Jan 15, 2024

Could you try using Python 3.11? Alternatively, you can download a bundled release from the releases page.

@jhc13
Copy link
Owner

jhc13 commented Jan 15, 2024

You can also run pip install https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-win_amd64.whl to install the version for Python 3.10.

I'll consider updating the requirements.txt file so that the correct version is installed based on the Python version.

@jhc13
Copy link
Owner

jhc13 commented Jan 15, 2024

I'll consider updating the requirements.txt file so that the correct version is installed based on the Python version.

I have done this (f87dba1). It should work now if you pull the changes and use the updated requirements.txt file.

@rrweller
Copy link
Author

The latest commit worked, thank you

@jhc13 jhc13 added the bug Something isn't working label Mar 12, 2024
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