Closed hust-lidelong closed 2 years ago
It seems a bug of pytorch-1.8.0+CUDA11.1 issues#54245.
I recommend trying different visions of PyTorch.
i have some bug
you can try using the newest pytorch version pytorch 1.9.0 + cuda 11.1, it seem worked right in my PC (GPU is 3080ti)
you can try using the newest pytorch version pytorch 1.9.0 + cuda 11.1, it seem worked right in my PC (GPU is 3080ti)
hello, I encountered the same bug, and I have tried the PyTorch 1.9.0+cuda 11.1, but it has the following error. Could you give me some suggestions?
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug When I try to run [Faster R-CNN OBB], it occurs a problem. RuntimeError: radix_sort: failed on 1st step: cudaErrorInvalidDevice: invalid device ordinal. But when I run [RetinaNet OBB], there is no problem.
Reproduction
Environment
python mmdet/utils/collect_env.py
to collect necessary environment infomation and paste it here. sys.platform: linux Python: 3.8.10 | packaged by conda-forge | (default, May 11 2021, 07:01:05) [GCC 9.3.0] CUDA available: True CUDA_HOME: /usr/local/cuda-11.1 NVCC: Build cuda_11.1.TC455_06.29190527_0 GPU 0,1: NVIDIA GeForce RTX 2080 Ti GCC: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 PyTorch: 1.8.0 PyTorch compiling details: PyTorch built with:TorchVision: 0.9.0 OpenCV: 4.5.3 MMCV: 0.6.2 MMDetection: 2.2.0+89243c8 MMDetection Compiler: GCC 9.3 MMDetection CUDA Compiler: 11.1
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback If applicable, paste the error trackback here.
Bug fix If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!