CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

RTX 4090 Error: nvrtc: error: invalid value for --gpu-architecture (-arch)

Open Deadstarrr opened this issue 2 years ago • 2 comments

I'm getting this error when I try to use codeformer. Does it not work with a 4090?

nvrtc: error: invalid value for --gpu-architecture (-arch)

Anyone know how to fix this?

Deadstarrr avatar Mar 09 '23 20:03 Deadstarrr

maybe you need to upgrade your cuda-toolkit to 11.8 or newer

huangxin168 avatar Apr 07 '23 08:04 huangxin168

PyToch 1.10 & CUDA 11.3 don't support RTX 4090, update CUDA >= 11.8:

pip3 install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Sun-ZhenXing avatar Aug 01 '24 14:08 Sun-ZhenXing