You are not logged in.

#1 Today 04:43:19

jronald
Member
Registered: 2022-05-09
Posts: 209

[SOLVED] compatiblity of pytorch and cuda in venv

In the official repo, e.g. python-pytorch-cuda is always compatible with cuda(v13.1).
But in venv pytorch is installed by pip,
pytorch installed  by

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130

Is it compatible with cuda 13.1 in the official repo?

Is it better to use conda to make torch and cuda always compatible?
Or what is the best practice to install pytorch with cuda support in venv?

Last edited by jronald (Today 05:30:52)

Offline

#2 Today 05:30:39

jronald
Member
Registered: 2022-05-09
Posts: 209

Re: [SOLVED] compatiblity of pytorch and cuda in venv

`pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130` will install cuda 13.0 in venv

Offline

Board footer

Powered by FluxBB