[GH-ISSUE #59] Can't run on RTX 5000 series due to outdated torch etc #44

Open
opened 2026-10-26 21:10:46 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @rubentorresbonet on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/59

To use RTX 5000 series, such as 5080 or 5090, one needs to grab a nightly version of pytorch, e.g. pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall.

Otherwise you get errors like

NVIDIA GeForce RTX 5090 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_70 sm_75 sm_80 sm_86 sm_90.

CUDA error: no kernel image is available for execution on the device

Problem is, this repo explicitely requires torch 2.0.1.

Any plans to update this to support newer versions of torch?

If anyone knows of any workaround, please let me know.

Thanks!

Originally created by @rubentorresbonet on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/59 To use RTX 5000 series, such as 5080 or 5090, one needs to grab a nightly version of pytorch, e.g. `pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall`. Otherwise you get errors like ``` NVIDIA GeForce RTX 5090 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_70 sm_75 sm_80 sm_86 sm_90. CUDA error: no kernel image is available for execution on the device ``` Problem is, this repo explicitely requires torch 2.0.1. Any plans to update this to support newer versions of torch? If anyone knows of any workaround, please let me know. Thanks!
Author
Owner

@rubentorresbonet commented on GitHub (Feb 6, 2025):

Update: it seems I hacked this to work on wsl2. I believe the key was:

pip install -U --pre xformers --index-url https://download.pytorch.org/whl/nightly/cu128
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall
<!-- gh-comment-id:2639241022 --> @rubentorresbonet commented on GitHub (Feb 6, 2025): Update: it seems I hacked this to work on wsl2. I believe the key was: ``` pip install -U --pre xformers --index-url https://download.pytorch.org/whl/nightly/cu128 pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-VL2#44
No description provided.