-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wheels for torch 2.0 #4901
Comments
It would be useful to have the wheels for newer versions of torch. It seems like they haven't been updated since November 2021. I am using the more limited installation method for now:
It seems to work fine for me so far on torch 2.0 and CUDA 1.18. |
Of course the option of |
|
Hi, I use Python 3.8, PyTorch 2.0, and Cuda 12.1 in Ubuntu 20.04, but I still face the compiling problem as follows. RuntimeError: Actually, the Pytorch can be used in my virtual environment. I don't know how to solve the problem. Any reply will be appreciated, thank you. |
you should use pytorch nightly that comes with cuda 12.1: pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121 In any case, my wheels upload in CircleCI and Github actions |
Oh, thank you for your reply. It works now! |
@johnnynunez, can you help me out to find your wheel for the detectron2..? |
@ApacheNaren doesn't look like the release is for cuda 12.1 Not sure it helps anyone -
I have multiple cuda installations cd /usr/local
open . my .zshrc looks like this
I just specify 11.8 here (as it exists on my system) then just paste in terminal
then the build succeeds. |
In my branch, if you look on artifact, you will found .whl compiled with cuda 12.1 |
As an alternative, you can try my repository for building packages and PyPI simple index and see if it works for you: |
Instructions To Reproduce the 馃悰 Bug:
Running the Colab demo for Detic - https://colab.research.google.com/drive/1QtTW9-ukX2HKZGvt0QvVGqjuqEykoZKI#scrollTo=S7MpTaZ0YNTb
results with an error as pytorch 2.0 is not part of the pre-build wheels - https://detectron2.readthedocs.io/en/latest/tutorials/install.html#install-pre-built-detectron2-linux-only
The text was updated successfully, but these errors were encountered: