

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.Ĭollecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. When I run the above command I get - Collecting package metadata (current_repodata.json): done
#Cudatoolkit conda install
I don’t know why conda fails to install the desired version, so could you post the install output showing all dependencies? Torchvision pytorch/linux-64::torchvision-0.14.1-p圓8_cu117Īs shown the CUDA 11.7 binaries are properly selected.Īlso note that the command installs an older 1.12.1 release instead of the current stable 1.13.1 release and 3rd party libs ( torchaudio and torchvision) with CUDA 11.3.

Requests conda-forge/noarch::requests-2.28.2-pyhd8ed1ab_0 Pytorch-mutex pytorch/noarch::pytorch-mutex-1.0-cuda The following NEW packages will be INSTALLED: The posted command works for me in a new environment (using Python 3.8) and installs the right packages: conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
#Cudatoolkit conda driver
You would only need a properly installed NVIDIA driver to execute PyTorch. Your local CUDA toolkit won’t be used unless you build PyTorch from source or a custom CUDA extension, since the binaries ship with their own CUDA runtime, cuDNN, cuBLAS, NCCL, etc. I would appreciate any help with regards to this, thanks! I am guessing maybe the issue is due to some version mismatch, but I am not sure why - since I have cuda 12 on my system and I know that it is backwards compatible. Operating System: Debian GNU/Linux 11 (bullseye) Transient hostname: megh-gpu-2-v100s-16-vcpus System information is the following - Static hostname: debian OS: Debian GNU/Linux 11 (bullseye) (x86_64) Python -m _env gives Collecting environment information.ĬUDA used to build PyTorch: Could not collect I have pytorch-cuda installed in my env -Ĭonda list | grep cuda gives - cuda 11.7.1 0 nvidia I have installed PyTorch from the PyTorch website using - conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia Nvcc -V gives nvcc: NVIDIA (R) Cuda compiler driverĬopyright (c) 2005-2023 NVIDIA CorporationĬuda compilation tools, release 12.1, V12.1.66īuild cuda_12.1.r12.1/compiler.32415258_0 | GPU GI CI PID Type Process name GPU Memory | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. Following is the details of my setup: nvidia-smi I know that this is a known issue but none of the online solutions have worked for me. > AssertionError: Torch not compiled with CUDA enabled I am getting the error when I run the following- > x = torch.tensor(1).cuda()
