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

Multi-GPU interactive mode hangs during model initialization on some machines

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

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

評価

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

調査の方向性

Start with generate.py and trace the interactive torchrun path through the dist.barrier() preceding WanModel.from_pretrained(). Compare logs and initialization behavior between the working and hanging machine setups, using the reported 4-rank command and NCCL settings. Done means identifying a reproducible cause and documenting or fixing the hang so model initialization completes.

索引モデルが issue の本文から書いたものです。

説明

Running Matrix-Game 3.0 interactive mode with torchrun on 4x A100 SXM 80GB.
Stock generate.py with --interactive works on some machines but silently hangs
during model initialization on others.

Setup:

  • torch 2.10.0, FA2, CUDA 12.8, Python 3.12
  • torchrun --nproc_per_node=4 with --ulysses_size 4, --use_int8, --t5_cpu
  • Docker image based on nvidia/cuda:12.8.0-devel-ubuntu22.04

What happens:

  • NCCL init succeeds on all ranks
  • T5 encoder loads successfully on all ranks
  • All 4 ranks log "Initializing Model (DiT)..."
  • Then hangs forever: 0% CPU, 0% GPU VRAM (633MB CUDA context only)
  • No error, no timeout, no crash

What we've tried:

  • NCCL_P2P_DISABLE=1
  • NCCL_DEBUG=INFO (init shows COMPLETE, no errors)
  • device_id in init_process_group()
  • 2 GPUs instead of 4
  • Different volume sizes (75GB, 200GB)

Key observation:

  • Works on some RunPod machines (e.g. vqnzttsdu44t, c250s631h6rc)
  • Hangs on others (e.g. cmg18urp1kg5, hleuzkw9vyyn)
  • Same Docker image, same code, same config

The hang appears to be inside WanModel.from_pretrained() or the
dist.barrier() that precedes it. Has anyone else seen this?

主要言語
Python
スター
2.4k
フォーク
257
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 を短くまとめたダイジェスト。