Skip to content

sm_120 RTX 5080 CUDA kernel crash with hunyuan.py - "no kernel image is available" #722

Description

@PranThow

Summary

When running FramePack on an RTX 5080 (Blackwell architecture, CUDA capability sm_120), the pipeline crashes with:

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

This happens inside hunyuan.py, specifically on this line:

llama_attention_length = int(llama_attention_mask.sum())

Additionally, PyTorch emits the following warning:

UserWarning: NVIDIA GeForce RTX 5080 with CUDA capability sm_120 is not compatible with the current PyTorch installation.

Environment

  • GPU: NVIDIA GeForce RTX 5080
  • Driver: Studio 577.00 (latest)
  • CUDA Version: 12.6+
  • Torch Version: 2.6.0+cu126
  • Operating System: Windows 11
  • FramePack Version: framepack_cu126_torch26 one-click package

Output of torch.cuda.get_device_capability(0)

(12, 0)

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