Closed houw0517 closed 2 years ago
This means that the compiler should optimize for sm_86, i.e., Nvidia 30 series card, but such optimizations have not been supported by CUDA toolkit 11.0. This work-around modifies the compile flag by adding export TORCH_CUDA_ARCH_LIST="7.5"
This may hurt the performance but it works.
After export TORCH_CUDA_ARCH_LIST="7.5" It also appears that RuntimeError: CUDA error: no kernel image is available for execution on the device
After export TORCH_CUDA_ARCH_LIST="7.5" It also appears that RuntimeError: CUDA error: no kernel image is available for execution on the device
This is our environment when using Nvidia 3090:
torcch 1.8.1+cu111
torchvision 0.9.1+cu111
mmcv 1.3.8 (compile by myself on 3090)
mmdet 2.18.0
cudatoolkit 11.1
This means that the compiler should optimize for sm_86, i.e., Nvidia 30 series card, but such optimizations have not been supported by CUDA toolkit 11.0. This work-around modifies the compile flag by adding
export TORCH_CUDA_ARCH_LIST="7.5"
This may hurt the performance but it works.
请问大佬 cuda11.0不支持算力8.6 cuda11.1支持吗
After export TORCH_CUDA_ARCH_LIST="7.5" It also appears that RuntimeError: CUDA error: no kernel image is available for execution on the device
This is our environment when using Nvidia 3090:
torcch 1.8.1+cu111 torchvision 0.9.1+cu111 mmcv 1.3.8 (compile by myself on 3090) mmdet 2.18.0 cudatoolkit 11.1
请问大佬 这一步 mmcv 1.3.8 (compile by myself on 3090) 是什么意思啊? RuntimeError: CUDA error: no kernel image is available for execution on the device 这个报错还是不知道怎么解决
ERROR: Command errored out with exit status 1: /home/hw/anaconda3/envs/R3Det/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/hw/Project/r3det-pytorch/setup.py'"'"'; file='"'"'/home/hw/Project/r3det-pytorch/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.