Jetpack6.1 install torchvision

this is my command

pip install torchvision==0.20

ERROR: Could not find a version that satisfies the requirement torchvision==0.20 (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.11.3, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.19.0, 0.19.1)
ERROR: No matching distribution found for torchvision==0.20

?why?

[Uploading: 2.png…

Hi,

Do you want to use TorchVision with GPU support?
Or CPU version is enough?

For CUDA version, please find the below page for more info:

Thanks.

this is for Jetpack6.0? not for Jetpack6.1?

Hi,

Please check the instructions for building from the source.

Thanks.

Can you speak in detail? Thanks

@Beenn there are torchvision wheels for JetPack 6.1 / CUDA 12.6 here:

http://jetson.webredirect.org/jp6/cu126

which one is it? Thanks

PyTorch 2.5 should be out soon, I will build that along with the latest torchvision and torchaudio when they are built 👍

Thanks

can give the url? 3q

These are urls.

Hi,
I installed Pytorch and Torch Vision as you said in Jetpack 6.1, but the cuDNN version doesn’t seem to be compatible, what should I do?
RuntimeError: cuDNN version incompatibility: PyTorch was compiled against (9, 4, 0) but found runtime version (9, 3, 0). PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN. Looks like your LD_LIBRARY_PATH contains incompatible version of cudnn. Please either remove it from the path or install cudnn (9, 4, 0)


This is my detail . If it is not do. Can you install jetpact 6.0LTS . It’s a good idea.

pytorch: Jetson Download Center | NVIDIA Developer
torchvision-0.20.0: jp6/cu126 index

Thank you, the system details match yours, actually I think the model training works well when I do it again.
But sometimes, when you do torch.backends.cudn.version(), you get the runtimer error as above.

Hi,
is there Torch wheels for JetPack 6.1, CUDA 12.6, and support Python 3.12?
I’m using Anaconda Python 3.12 environment but cannot find suitable Torch wheels. Build from source the only way?
Thanks

It’s a good idea to install jetpack 6.2LTS.

Can you use multiple python’s versions in Anaconda.

I need import a package that have Python >= 3.12 dependency. I tried build Torch from source and it works now.
Anyway thanks for your advice :)

1 Like

Congratulation!

1 Like