Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

指令报错!

オープン
#33 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, pytorch

調査の方向性

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.3k
フォーク
256
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SkyworkAI/Matrix-Game のほかの issue

SkyworkAI/Matrix-Game の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。