TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

boingboing·2024년 3월 12일

현상

pytorch에 apex 설치 하다 발생한 문제.

cuda가 full version으로 설치가 안 됨.
nvcc가 설치 안되서 nvcc -V하니 아무것도 안 떴음.

nvcc가 설치가 안 되서, apex모듈이 필요로 할 때 nvcc 관련 정보가 None으로 뜬 듯.

conda install -c nvidia cuda-nvcc 

이거 하니 되었음.

https://github.com/NVIDIA/apex/issues/990

0개의 댓글