lllyasviel / lllyasviel/FramePack
Error
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys. I followed all steps and installed everything, but still get the following error. Any help?
`Currently enabled native sdp backends: ['flash', 'math', 'mem_efficient', 'cudnn']
Xformers is installed!
Flash Attn is installed!
Sage Attn is installed!
Namespace(share=False, server='127.0.0.1', port=None, inbrowser=True)
Free VRAM 6.890625 GB
High-VRAM Mode: False
Downloading shards: 100%|███████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 681.83it/s]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 4/4 [00:02<00:00, 1.45it/s]
Fetching 3 files: 100%|████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 4017.53it/s]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 3/3 [00:01<00:00, 1.53it/s]
transformer.high_quality_fp32_output_for_inference = True
* Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.
Loaded CLIPTextModel to cuda:0 as complete.
Unloaded CLIPTextModel as complete.
Loaded AutoencoderKLHunyuanVideo to cuda:0 as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Loaded SiglipVisionModel to cuda:0 as complete.
latent_padding_size = 27, is_last_section = False
Unloaded SiglipVisionModel as complete.
Moving DynamicSwap_HunyuanVideoTransformer3DModelPacked to cuda:0 with preserved memory: 6 GB
0%| | 0/25 [00:00
return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\jit.py", line 568, in run
device = driver.active.get_current_device()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\driver.py", line 23, in __getattr__
self._initialize_obj()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\driver.py", line 20, in _initialize_obj
self._obj = self._init_fn()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\driver.py", line 9, in _create_driver
return actives[0]()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\backends\nvidia\driver.py", line 499, in __init__
self.utils = CudaUtils() # TODO: make static
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\backends\nvidia\driver.py", line 96, in __init__
mod = compile_module_from_src(Path(os.path.join(dirname, "driver.c")).read_text(), "cuda_utils")
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\backends\nvidia\driver.py", line 69, in compile_module_from_src
so = _build(name, src_path, tmpdir, library_dirs(), include_dir, libraries)
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\build.py", line 108, in _build
raise e
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\build.py", line 103, in _build
ret = subprocess.check_call(cc_cmd)
File "subprocess.py", line 369, in check_call
subprocess.CalledProcessError: Command '['I:\\framepack_cu126_torch26\\system\\python\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\BULUT~1.HAR\\AppData\\Local\\Temp\\tmp1iaj2_fk\\cuda_utils.c', '-O3', '-shared', '-fPIC', '-Wno-psabi', '-o', 'C:\\Users\\BULUT~1.HAR\\AppData\\Local\\Temp\\tmp1iaj2_fk\\cuda_utils.cp310-win_amd64.pyd', '-lcuda', '-lpython3', '-LI:\\framepack_cu126_torch26\\system\\python\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.6\\lib\\x64', '-II:\\framepack_cu126_torch26\\system\\python\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.6\\include', '-IC:\\Users\\BULUT~1.HAR\\AppData\\Local\\Temp\\tmp1iaj2_fk', '-II:\\framepack_cu126_torch26\\system\\python\\Include']' returned non-zero exit status 1.
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.
Loaded CLIPTextModel to cuda:0 as complete.
Unloaded CLIPTextModel as complete.
Loaded AutoencoderKLHunyuanVideo to cuda:0 as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Loaded SiglipVisionModel to cuda:0 as complete.
latent_padding_size = 27, is_last_section = False
Unloaded SiglipVisionModel as complete.
Moving DynamicSwap_HunyuanVideoTransformer3DModelPacked to cuda:0 with preserved memory: 6 GB
0%| | 0/25 [00:00
return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\jit.py", line 568, in run
device = driver.active.get_current_device()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\driver.py", line 23, in __getattr__
self._initialize_obj()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\driver.py", line 20, in _initialize_obj
self._obj = self._init_fn()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\driver.py", line 9, in _create_driver
return actives[0]()
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\backends\nvidia\driver.py", line 499, in __init__
self.utils = CudaUtils() # TODO: make static
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\backends\nvidia\driver.py", line 96, in __init__
mod = compile_module_from_src(Path(os.path.join(dirname, "driver.c")).read_text(), "cuda_utils")
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\backends\nvidia\driver.py", line 69, in compile_module_from_src
so = _build(name, src_path, tmpdir, library_dirs(), include_dir, libraries)
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\build.py", line 108, in _build
raise e
File "I:\framepack_cu126_torch26\system\python\lib\site-packages\triton\runtime\build.py", line 103, in _build
ret = subprocess.check_call(cc_cmd)
File "subprocess.py", line 369, in check_call
subprocess.CalledProcessError: Command '['I:\\framepack_cu126_torch26\\system\\python\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\BULUT~1.HAR\\AppData\\Local\\Temp\\tmp80khaut6\\cuda_utils.c', '-O3', '-shared', '-fPIC', '-Wno-psabi', '-o', 'C:\\Users\\BULUT~1.HAR\\AppData\\Local\\Temp\\tmp80khaut6\\cuda_utils.cp310-win_amd64.pyd', '-lcuda', '-lpython3', '-LI:\\framepack_cu126_torch26\\system\\python\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.6\\lib\\x64', '-II:\\framepack_cu126_torch26\\system\\python\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.6\\include', '-IC:\\Users\\BULUT~1.HAR\\AppData\\Local\\Temp\\tmp80khaut6', '-II:\\framepack_cu126_torch26\\system\\python\\Include']' returned non-zero exit status 1.
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.`
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Windows generation path from webui/demo_gradio.py and start with the reported Python.h failure in Triton's driver initialization. Trace the call through webui/diffusers_helper/models/hunyuan_video_packed.py and sageattention, then verify that generation proceeds past the failed 0% step without the missing-header error.
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
- 25/100