Skip to content

CUDA error on RTX 5080 (sm_120/Blackwell) — PyTorch not compiled for sm_120 #396

@fanhua2022-commits

Description

@fanhua2022-commits

VoiceBox v0.3.0, Windows 11, NVIDIA GeForce RTX 5080
The changelog for v0.3.0 mentions "CUDA support for RTX 50-series GPUs", but generation still fails with:
torch.AcceleratorError: CUDA error: no kernel image is available for execution on the device

The server log shows the bundled PyTorch only supports up to sm_90:
The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90.
NVIDIA GeForce RTX 5080 with CUDA capability sm_120 is not compatible with the current PyTorch installation.

RTX 50-series (Blackwell) requires PyTorch compiled with CUDA 12.8+ and sm_120 support (torch 2.7.0+cu128 or newer). The bundled torch in the CUDA backend needs to be updated to include sm_120 kernels.
Workaround I found for other projects: manually installing torch-2.7.0+cu128-cp310-cp310-win_amd64.whl from the official PyTorch wheel index resolves the issue, but this is not possible with VoiceBox's bundled environment.
Please update the bundled PyTorch in the CUDA backend to a version compiled with sm_120 support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions