Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#72 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
2.4k
Fork
257
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SkyworkAI/Matrix-Game

Tutte le issue di SkyworkAI/Matrix-Game

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.