Comfy-Org / Comfy-Org/ComfyUI

UserWarning: NVIDIA GeForce RTX 5070 Ti with CUDA capability sm_120 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90.

Open
#7,127 11 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

There shouldn't be any errors on a fresh install, it should work regardless of the GPU. Alternatively, it should automatically detect the incompatibility and try to fix it.

The user shouldn't have to manually reinstall. This workaround is far from an acceptable solution, A lot of people don't know how to fix this issue (the manual reinstall). You shouldn't expect the average ComfyUI user to know how to fix it entirely by themselves.

### Actual Behavior

On a fresh install (or an older install), when using a 5070 ti the following error comes up:

```
A:\Sin Sincronización\Chrome\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
Checkpoint files will always be loaded safely.
A:\Sin Sincronización\Chrome\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda\__init__.py:235: UserWarning:
NVIDIA GeForce RTX 5070 Ti with CUDA capability sm_120 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90.
If you want to use the NVIDIA GeForce RTX 5070 Ti GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
```

There is a way to fix this, but the user has to follow these specific steps manually:
1) Navigate to python_embedded\ directory and open a new command prompt in this location.
2) Run python -m pip uninstall torch torchvision
3) Run python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu128 and wait for a very long download of over 3 GB.

### Steps to Reproduce

With a 5070 ti as your GPU, make a fresh install of ComfyUI and run it (or run an already existing installation)

### Debug Logs

```powershell
A:\Sin Sincronización\Chrome\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
Checkpoint files will always be loaded safely.
A:\Sin Sincronización\Chrome\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda\__init__.py:235: UserWarning:
NVIDIA GeForce RTX 5070 Ti with CUDA capability sm_120 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90.
If you want to use the NVIDIA GeForce RTX 5070 Ti GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
```

### Other

I upgraded from a 1080 ti to a 5070 ti, but this isn't relevant since it happens on a fresh install (latest release) too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.