lllyasviel / lllyasviel/FramePack

RuntimeError: CUDA error: unspecified launch failure

Open
#202 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
17.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I'm using an m40 24g graphics card and I'm running this problem.

```
Moving DynamicSwap_HunyuanVideoTransformer3DModelPacked to cuda:0 with preserved memory: 6 GB
0%| | 0/25 [00:19

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure from demo_gradio.py and run it with CUDA_LAUNCH_BLOCKING=1 to identify the failing operation. Inspect diffusers_helper/models/hunyuan_video_packed.py, especially attn_varlen_func and the forward path around the reported lines; done means establishing the cause of the CUDA launch failure and confirming a reproducible fix or clear diagnosis.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.