lllyasviel / lllyasviel/FramePack
sm_120 RTX 5080 CUDA kernel crash with hunyuan.py - "no kernel image is available"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
## 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:
```python
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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with hunyuan.py at the llama_attention_mask.sum() call and reproduce the failure on an RTX 5080 using the reported FramePack package, PyTorch 2.6.0+cu126, and Windows 11 environment. Check the reported sm_120 compatibility warning and verify that the pipeline completes without the CUDA kernel-image crash when done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100