指令报错!
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
调研方向
Start with inference.py at lines 39, 68, and 165, then inspect the safetensors/torch.py load_file call shown in the traceback. Run the exact inference command with the referenced checkpoint and verify that checkpoint loading completes without the device error and produces output in the requested folder.
由索引模型根据 Issue 内容生成。
描述
python inference.py --config_path configs/inference_yaml/inference_universal.yaml --checkpoint_path Matrix-Game-2.0 --img_path text2image.png --output_folder outputs --num_output_frames 150 --seed 42 --pretrained_model_path Matrix-Game-2.0
使用上面的指令 ,Matrix-Game-2.0 已经hf下来了
The config attributes {'inject_sample_info': False} were passed to CausalWanModel, but are not expected and will be ignored. Please verify your config.json configuration file.
KV inference with 3 frames per block
Loading Pretrained Model...
Traceback (most recent call last):
File "/home/dt/Matrix-Game/Matrix-Game-2/inference.py", line 169, in
main()
File "/home/dt/Matrix-Game/Matrix-Game-2/inference.py", line 165, in main
pipeline = InteractiveGameInference(args)
File "/home/dt/Matrix-Game/Matrix-Game-2/inference.py", line 39, in init
self._init_models()
File "/home/dt/Matrix-Game/Matrix-Game-2/inference.py", line 68, in _init_models
state_dict = load_file(self.args.checkpoint_path)
File "/home/dt/anaconda3/envs/unipic/lib/python3.10/site-packages/safetensors/torch.py", line 381, in load_file
with safe_open(filename, framework="pt", device=device) as f:
OSError: No such device (os error 19)
- 主要语言
- Python
- 星标
- 2.4k
- 派生
- 257
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SkyworkAI/Matrix-Game 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
SkyworkAI/Matrix-Game#90 ·
-
Replace deprecated v2.ToTensor() in Matrix-Game-2/inference.py with v2.ToImage() + v2.ToDtype(scale=True)可能已有人在做 @xyf5432 于 55 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
SkyworkAI/Matrix-Game#82 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
SkyworkAI/Matrix-Game#80 ·
-
run logic error when finish可能已有人在做 @Arison591 于 92 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
SkyworkAI/Matrix-Game#77 ·
-
难度 1/5 1 小时以内 新手友好度 12/100
SkyworkAI/Matrix-Game#88 ·
查看 SkyworkAI/Matrix-Game 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
TomerAberbach/profiler-md#733 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
its-me-prash/vwgroup-connect-ha#1858 ·
维护者通常 1 天内回复
-
area: client bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
leikoilja/ha-google-home#1107 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
Graphify-Labs/graphify#4524 · 1 条评论 ·
维护者通常 1 天内回复