Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Fault tolerance intra-job training

未关闭
#343 6 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@kpoeppel 已经在做这个了。

开始于 2026年7月7日。

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
没有语言数据
星标
3
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenEuroLLM/Taskboard 的其他 Issue

查看 OpenEuroLLM/Taskboard 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。