THUDM / THUDM/slime

如何才能快速训练GLM 5.2

Open
#2,324 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
8.5k
Forks
1.3k
Avg merge
5h 36m
Merged PRs (30d)
22

Description

Your Question

采用slime框架sft GLM 5.2,有点崩溃。256卡 h200,试了各种训练配置,太慢了,一个训练 step 4~5min。。。。如何才能加快训练速度?不知道是不是我设置的原因,真的有点崩溃

What I've Tried

我试了各种TP/PP/CP的组合,都没有什么效果,一个训练step就是大概4-5min....

Environment (if relevant)

slime version:
v0.3.1-30-g41014d1f

Git commit: 41014d1f29e201137fdffce737bb8bac65bc5219
Working tree: dirty(包含当前本地修改)

Python version:
3.12.3
GCC 13.3.0

Python version:
3.12.3
GCC 13.3.0

PyTorch version:
2.11.0+cu129

CUDA/ROCm version:
CUDA 12.9
CUDA compiler build: 12.9.r12.9
NVIDIA driver CUDA API: 13.2
NCCL: 2.28.9+cuda12.9
ROCm: N/A

GPU type and count:
256 × NVIDIA H200(约 141 GB/GPU)
32 nodes × 8 GPUs/node

OS:
Ubuntu 24.04.2 LTS (Noble Numbat)
Linux kernel 5.15.0-174-generic
x86_64, glibc 2.39

训练镜像:

registry.h.pjlab.org.cn/ailab-puyullmgpu-puyullm_gpu/lvhaijun:
slime_nightly-dev-20260810a-cu129

Additional Context

No response

Pre-submission Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the SFT run with the reported environment and profiling a single training step across the tried TP/PP/CP configurations. Done means identifying the bottleneck or missing configuration detail and documenting a validated faster setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
distributed-systems, machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.