lllyasviel / lllyasviel/FramePack
How to solve this problem
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description

Currently enabled native sdp backends: ['flash', 'math', 'mem_efficient', 'cudnn']
Xformers is not installed!
Flash Attn is not installed!
Sage Attn is not installed!
Namespace(share=False, server='127.0.0.1', port=None, inbrowser=True)
Free VRAM 6.9462890625 GB
High-VRAM Mode: False
Downloading shards: 100%|██████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 3999.34it/s]
Loading checkpoint shards: 0%| | 0/4 [00:00
text_encoder = LlamaModel.from_pretrained("hunyuanvideo-community/HunyuanVideo", subfolder='text_encoder', torch_dtype=torch.float16).cpu()
File "G:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\modeling_utils.py", line 4225, in from_pretrained
) = cls._load_pretrained_model(
File "G:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\modeling_utils.py", line 4706, in _load_pretrained_model
state_dict = load_state_dict(
File "G:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\modeling_utils.py", line 555, in load_state_dict
with safe_open(checkpoint_file, framework="pt") as f:
OSError: 页面文件太小,无法完成操作。 (os error 1455)
请按任意键继续. . .
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 webui/demo_gradio.py at the LlamaModel.from_pretrained call and review the reported safe_open failure while loading checkpoint shards. Reproduce the launch with the shown environment details and determine what change allows the text encoder and application to finish loading successfully.
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