nguyenvulong / QA

The Unlicense
0 stars 0 forks source link

[nvidia] cuda error: no kernel image is available for execution on the device #76

Open nguyenvulong opened 9 months ago

nguyenvulong commented 9 months ago

You might also get the following warning:

NVIDIA GeForce RTX 4090 with CUDA capability sm_89 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.
If you want to use the NVIDIA GeForce RTX 4090 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))

How I fixed it: pip install -U torch torchaudio torchvision