Relative Content

Tag Archive for pythoncudaconda

Can’t Get MMCV build to detect My Conda Env’s Cuda

I installed pytorch via conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia then installed conda install cuda=11.8 -c nvidia just to get the build tools but after running pip install -U openmim and then mim install mmcv I get a The detected CUDA version (12.5) mismatches the version that was used to compile PyTorch (11.8). Please make sure to use the same CUDA versions. error even though running nvcc -V shows cuda 11.8. My host machine is running cuda 12.5. How do I fix this issue?(and what’s the difference between all the cuda conda packages like cuda, cudatoolkit, cudatoolkit-dev, and cuda-toolkit?)