You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: [Errno 2] No such file or directory: '~/miniconda3/envs/env_name/lib/python3.10/site-packages/nvidia/bin/nvcc'
Additional information
Hello I am trying to install mccv in a virtual environment.
I set the CUDA_HOME env variable before installing mmcv.
The CUDA path in this case in the one that is shipped with torch, not the one installed in the OS.
I cannot progress since nvcc is needed, why is that? I thought the basic cuda library shipped with torch is sufficient for pretty much anything CV related.
Thanks
The text was updated successfully, but these errors were encountered:
Hi @gpastal24, the CUDA path to nvcc is usually installed when you install Nvidia's CUDA tools at /usr/local/cuda/bin/nvcc. Its not installed as part of PyTorch -- that just has pre-compiled libraries to run on GPUs.
Prerequisite
Environment
Pytorch -> pip
CUDA_HOME -> ~/miniconda3/envs/env_name/lib/python3.10/site-packages/nvidia
Reproduces the problem - code sample
CUDA_HOME=~/miniconda3/envs/env_name/lib/python3.10/site-packages/nvidia pip install mmcv-full
Reproduces the problem - command or script
CUDA_HOME=~/miniconda3/envs/env_name/lib/python3.10/site-packages/nvidia mim install mmcv-full
Reproduces the problem - error message
Additional information
Hello I am trying to install mccv in a virtual environment.
I set the CUDA_HOME env variable before installing mmcv.
The CUDA path in this case in the one that is shipped with torch, not the one installed in the OS.
I cannot progress since nvcc is needed, why is that? I thought the basic cuda library shipped with torch is sufficient for pretty much anything CV related.
Thanks
The text was updated successfully, but these errors were encountered: