I am looking for a guide to install Pytorch successfully , I have a system where I use cuda toolkit == 11.2.2 for tensorflow , but now I want to install pytorch for same version of cuda which is 11.2.2 ,
I just want to keep my installations minimum and don’t wan’t to install different cuda versions for pytorch and tensorflow.
so please help me installing pytorch capable to run on gpu without reinstalling any new cuda libraries
Thanks for the reply. But from the instructions, it seems I would need system administrator privileges to install NVTX for a CUDA based build. Which is not a possibility for me on a huge shared server with no virtualisation. Are you aware of a repository which might provide precompiled distributions for 11.2? Alternatively, do you know if CUDA 11.0 compiled torch is (by and large) compatible with 11.2 drivers?
No, I’m not aware of pre-built binaries using the latest PyTorch release with CUDA 11.2.
Yes, CUDA11.x drivers are all compatible. In your use case you are depending on backwards compatibility, which should just work. CUDA 11 introduced minor version compatibility, which also allows forward compatibility in 11.x releases.
currently i am using CUDA 11.2,CuDNN 11.2(v8.1.0.77),OpenCV 4.5.2,Cmake 3.19.6 and Python (3.10.9) from Anaconda environment.Currently i am working a Custom data object detection project using Yolov4 Darknet. Afteri sucessfully completing the training the model iwant to convert the trianed modell into Pytorch (i.e) from Darknet to Pytorch.so currently i am in need of installing the pytorch which suits the CUDA 11.2.But in Pytorch webpage there is no pytorch for CUDA 11.2.so in this case can i use the CUDA 11.1 for the Pytorch ? if i can use CUDA 11.1… there are 10 different versions of CUDA 11.1 in the pytorch website.Amoung those ten different versions,which version can i use ? can someone give me a suggestion?
ERROR: Could not find a version that satisfies the requirement torch==1.10.1+cu111 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==1.10.1+cu111
Might your python version is > 3.9
I meet the same question
you could use virtual environment by py3.9
and I have the other question
ERROR: No matching distribution found for torchvision==0.11.2+cu111
I don’t know how to settle it