-
Notifications
You must be signed in to change notification settings - Fork 7k
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
can't install latest version of torchvision using pip, even though I have the latest dependencies #5313
Comments
add a requirement.txt file for to install libs. |
Aah this issue of torchvision 0.2.2 is very redundant. See #4273 #4665 #4648 Also CUDA 11.5 is not supported currently. You can try with CUDA 11.3 as per instructions from docs https://pytorch.org/
|
@oke-aditya Thanks but I don't think CUDA is the culprit because (as I mentioned in the original post) I get the same problem without CUDA. I've looked at the issues you linked to, but still can't make sense of this. |
@trevoravant could you please try using the official instructions at https://pytorch.org/get-started/locally/ ? |
There are no stable binaries for Python 3.10 yet. However, there are nightlies available. |
@NicolasHug @pmeier Thank you for the suggestions. I uninstalled the Arch Linux package that I used to install torch. I also uninstalled CUDA just to eliminate another variable. I tried to install both the stable and nightly CPU-only versions of torch and torchvision from pytorch.org. The stable version produces the error:
the nightly version doesn't produce an error, but still only installs torchvision 0.2.2.post3. So is this because I'm using Python 3.10.2? |
🐛 Describe the bug
First of all, the issue I'm about to describe is similar to #4076, but I don't have opencv installed and I'm using pip. Also, I'm not sure if I should create this issue on torchvision or pip's Github page.
I'm trying to install torchvision with pip. I use Arch Linux, and I have a recent version of torch (
1.10.2
) installed through Arch'spython-pytorch-cuda
package. I also have python3.10.2
installed. When I try to install torchvision using pip, I expect it to install the latest version:0.11.1
. However, it will only install version0.2.2.post3
.I have also tested this on another machine without CUDA support (I installed torch through Arch's
python-pytorch
package) and I get the same result.Versions
Collecting environment information...
PyTorch version: 1.10.2
Is debug build: False
CUDA used to build PyTorch: 11.5
ROCM used to build PyTorch: N/A
OS: Arch Linux (x86_64)
GCC version: (GCC) 11.1.0
Clang version: 13.0.0
CMake version: version 3.22.2
Libc version: glibc-2.33
Python version: 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0] (64-bit runtime)
Python platform: Linux-5.16.3-arch1-1-x86_64-with-glibc2.33
Is CUDA available: True
CUDA runtime version: 11.5.119
GPU models and configuration: GPU 0: NVIDIA GeForce GTX 1080 Ti
Nvidia driver version: 495.46
cuDNN version: Probably one of the following:
/usr/lib/libcudnn.so.8.3.0
/usr/lib/libcudnn_adv_infer.so.8.3.0
/usr/lib/libcudnn_adv_train.so.8.3.0
/usr/lib/libcudnn_cnn_infer.so.8.3.0
/usr/lib/libcudnn_cnn_train.so.8.3.0
/usr/lib/libcudnn_ops_infer.so.8.3.0
/usr/lib/libcudnn_ops_train.so.8.3.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.22.1
[pip3] torch==1.10.2
[pip3] torchvision==0.2.2.post3
[conda] Could not collect
The text was updated successfully, but these errors were encountered: