HRDA icon indicating copy to clipboard operation
HRDA copied to clipboard

Unknown CUDA arch or GPU not supported

Open MLS2021 opened this issue 2 years ago • 1 comments

First of all, thank you for your work and your results. It's great. I encountered this problem when installing the environment:

                raise ValueError("Unknown CUDA arch ({}) or GPU not supported".format(arch))
  ValueError: Unknown CUDA arch (8.9) or GPU not supported
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for mmcv-full Running setup.py clean for mmcv-full Failed to build mmcv-full ERROR: Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects

This is the problem I encountered when installing mmcv-full. My device is GTX4090. I guess it is because cuda architecture version of 4090 is not supported. Excuse me, do you know how to solve this problem?

MLS2021 avatar Apr 21 '23 13:04 MLS2021

This seems to be a general problem of the installed CUDA version. Probably, you need to install a newer CUDA version. Alternatively, you could try to install a pre-compiled mmcv variant using pip install mmcv-full==1.3.7 -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7/index.html.

lhoyer avatar Apr 28 '23 13:04 lhoyer