I am not familar with CUDA so there might be some mistakse in my coments.
I am currently using RTX 3080 and CUDA 11.4.
For my project, CUDA 10.2 is recommended, So I used nvidia-docker and installed CUDA 10.2 but faced with this error.
ValueError: Unknown CUDA arch (8.6) or GPU not supported
I guess this is issue with RTX 3080 not suporting CUDA 10.2. So aren't there any ways to use CUDA 10.2 with RTX 3080?