Closed lindylin1817 closed 1 year ago
Did you set the TORCH_CUDA_ARCH_LIST environment variable?
TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 7.5 8.0 8.6+PTX" pip3 install bmtrain
same issue,do you resolve that ?
CH_EXTENSION_NAME=_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_50,code=sm_50 -std=c++17 csrc/cuda/has_inf_nan.cu(11): error: identifier "__heq" is undefined
1 error detected in the compilation of "csrc/cuda/has_inf_nan.cu".
error: command '/usr/local/cuda-11.7/bin/nvcc' failed with exit code 1
[end of output]
When I run the following command to install BMTrain
python setup.py install
I met the error ofI went into the code of has_inf_nan.cu, and found there was no anyother place to define "__heq". Can you help to solve it? Thanks!