voicebox icon indicating copy to clipboard operation
voicebox copied to clipboard

CUDA error: no kernel image is available for execution on GTX 1050 Ti (Pascal, sm_61)

Open ymlee8995 opened this issue 3 months ago • 2 comments

Environment

  • Voicebox version: (please confirm under Settings → About)
  • OS: Windows
  • GPU: NVIDIA GeForce GTX 1050 Ti (Pascal, compute capability 6.1 / sm_61), 4007 MB VRAM
  • Backend: CUDA (Settings → GPU shows the card as "Active", no [UNSUPPORTED] warning)
  • Model tested: Qwen3-TTS 1.7B, Korean

Description

Generation fails with:

CUDA error: no kernel image is available for execution on the device
Search for `cudaErrorNoKernelImageForDevice` in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

The GPU tab shows the GTX 1050 Ti as "Active" with no compatibility warning, so the runtime check described in the GPU Acceleration docs doesn't seem to catch this case — device detection succeeds but kernel execution fails. This suggests the bundled PyTorch/CUDA backend may not include compiled kernels (cubin/PTX) for sm_61.

Notably, the same voice/model combination generated successfully in earlier runs (5 days ago, and again ~17 minutes before this failure), so something changed in between — possibly a CUDA backend update that narrowed TORCH_CUDA_ARCH_LIST in favor of newer architectures (sm_120 for Blackwell was added in v0.4.0) at the expense of older ones like sm_61.

This looks related to #362, #400 (RTX 50-series) and #519 (Quadro P-series), but on the opposite (older Pascal) end of the architecture range.

Steps to reproduce

  1. Install Voicebox on Windows with a GTX 1050 Ti
  2. Select the CUDA backend
  3. Generate speech with Qwen3-TTS (0.6B or 1.7B)
  4. Generation fails with the CUDA error above

Expected behavior

Either generation succeeds via GPU acceleration on Pascal-generation cards, or Voicebox automatically falls back to CPU / surfaces a clear [UNSUPPORTED] warning in the GPU tab instead of failing silently at generation time

ymlee8995 avatar Aug 07 '26 14:08 ymlee8995

Tracking this in #594, so closing this one to keep the discussion in one place. Please add any details from your setup over there.

capy-ai-staging avatar Oct 07 '26 04:10 capy-ai-staging

Did you ever fix this issue. I'm getting it on a GTX 1070

RiverNightling avatar Oct 29 '26 08:10 RiverNightling