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

Fault tolerance intra-job training

Aperta
#343 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@kpoeppel ci sta già lavorando.

Dal 7/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

T4.1 - Optimization HPC T4.4 - model training

Fault tolerance intra-job training

During large-scale pretraining on a Slurm cluster, node failures (GPU errors, NVLink/network faults, ECC errors, etc.) are common and grow more frequent with node count and job duration, especially at node counts of 256-1024 which is our target. By default, a single node failure kills the whole job, which then has to requeue and restart from the last checkpoint which costs time. Instead, we want to allocate a small number of spare nodes alongside the training job (e.g. 2 spares). When a node fails, the job swaps in a spare and continues within the same Slurm allocation, avoiding a full requeue and minimizing lost progress. This thus works with a static world size.

Inspiration from Bloom: https://github.com/stas00/ml-engineering/tree/master/training/fault-tolerance#fault-tolerance

Tasks

  • Survey existing solutions and assess fit for our stack (Megatron-LM, torchrun elastic launcher, shared sudoless HPC, Slurm). Start with NVIDIA Resiliency Extension (NVRx): https://github.com/NVIDIA/nvidia-resiliency-ext
  • Check what Megatron-LM already supports natively (it integrates parts of NVRx / fault tolerance hooks)
  • Evaluate torchrun elastic + rendezvous backend (e.g. c10d/etcd) for node replacement
    Note any requirements that conflict with a sudoless / shared HPC environment
  • Design the spare-node mechanism: how spares are allocated in the Slurm job, held idle, and promoted on failure
  • Implement the feature in the oellm-autoexp codebase
  • Test at small scale and simulate a node failure (e.g. scancel a node, kill a process, or inject a fault) to verify recovery
  • Measure recovery cost: wall-clock time to detect + swap + resume, and steps lost per failure
  • Document usage (how many spares to request, config flags) for other users of the codebase
Lingua principale
Nessun dato sulla lingua
Stelle
3
Fork
0
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 OpenEuroLLM/Taskboard

Tutte le issue di OpenEuroLLM/Taskboard

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.