mapillary / inplace_abn

In-Place Activated BatchNorm for Memory-Optimized Training of DNNs
BSD 3-Clause "New" or "Revised" License
1.32k stars 187 forks source link

Changing nvcc path , error when runninf setup.py #201

Open Wonder1905 opened 3 years ago

Wonder1905 commented 3 years ago

Hi I'm trying to install setup.py and I'm getting: "error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1"

I have a valid path :/usr/local/cuda-10.1/bin/nvcc, but it always picks the path shown above. Although all my env variables, are set to cuda-10.1: PATH=/usr/local/cuda-10.1/bin CUDA_ROOT=/usr/local/cuda-10.1/bin CUDA_PATH=/usr/local/cuda-10.1/ LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64:

Any idea how to force setup.py to use the nvcc from cuda-10.1? Thanks.

macqueen09 commented 2 years ago

same error ... even I update gcc 4.8-->5.3 error still

pip install inplace_abn

nvcc fatal : Value 'c++14' is not defined for option 'std' error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for inplace_abn Running setup.py clean for inplace_abn Failed to build inplace_abn Installing collected packages: inplace_abn Running setup.py install for inplace_abn ... error error: subprocess-exited-with-error × Running setup.py install for inplace_abn did not run successfully. │ exit code: 1 [32 lines of output]