# Enabling Frontier-Scale Training for the GLM-5.3 Family

- **ID:** 867
- **Kind:** paper
- **URL:** https://www.trajectory.ai/field-notes/enabling-frontier-scale-training-for-the-glm-5-3-family
- **Authors:** Hersh Godse, Chuck Tang (Trajectory)
- **Venue:** Trajectory field report, 2 Oct 2026
- **Published:** 2026
- **Source:** web
- **Language:** en
- **Access:** free
- **Tags:** frontier-scale-training, glm-5.3, training-loop, numerical-regression, weight-sync, nccl, skyrl, rlhf, aime
- **Topics:** RL training loop, vLLM, Megatron, numerical regression, weight synchronization, NCCL, LoRA, MoE, GLM-5.3, AIME, DAPO-math
- **Added:** 2026-10-02
- **Verified:** 2026-10-02
- **Page:** https://papers.projxon.ai/entries/867

## Summary

Field report on the training infrastructure that made GLM-5.3 and GLM-5.3 Flash trainable with RL. Two camps of the 'expedition': (1) silent numerical mismatches — the Megatron trainer and vLLM sampler can drift into different policies without crashing (flat reward curve hours later). A 5-minute numerical regression test compares trainer/sampler logprobs token-by-token, deliberately perturbs only the trainer's adapter to confirm the stale sampler disagrees, then resyncs and confirms agreement — ~28x faster than a ~150-minute training cycle. It caught two real bugs (shared-expert scaling, cached prefill), fixed upstream in SkyRL. (2) slow handoffs — LoRA adapter sync took >6.5 minutes on full GLM-5.3 because the shared-expert adapter was duplicated per expert and written to disk. An in-memory path dedupes tensors and uses NCCL/CUDA IPC, cutting sync from ~390s to ~13s (~29.4x). Validation trek: trained both models on DAPO-math with a tight 8,192-token response limit; over 20 steps AIME 2024 accuracy rose 57%->81% (GLM-5.3) and 54%->83% (Flash), while Flash's share of capped responses fell 46%->6% and average length 5,217->2,424 tokens.

## Research notes

- Discovery: @trajectorylabs (Trajectory) 7-post X thread 2026-10-02 2:19 PM ET (https://x.com/trajectorylabs/status/2106086640032858340)
- Field report at trajectory.ai; several OSS contributions upstreamed to SkyRL (numerical regression tests, in-memory weight sync, shared-expert fix, Flash integration, full-model and two-node recipes)
- Setup: correctness rewards with soft length penalty, group-relative advantages, asymmetric policy clipping, token-mean loss; 128 prompts/step (16 responses/prompt GLM-5.3, 12 Flash); 4 optimizer updates/step, lr 1e-5; full GLM rank-32 LoRA + 40-update warmup, Flash rank-64 LoRA
- Data and methods in a linked gist

## Similar entries

- [SkyRL v0.4.0: Large-Scale Post-Training Release](https://papers.projxon.ai/entries/872) (paper, #872)
- [When Do Larger Batches Help Scale LLM Reinforcement Learning?](https://papers.projxon.ai/entries/1041) (paper, #1041)
- [Planned Test-Time Scaling with Coordinated Reasoning Paths](https://papers.projxon.ai/entries/1043) (paper, #1043)
- [DAPO: An Open-Source LLM Reinforcement Learning System at Scale](https://papers.projxon.ai/entries/919) (paper, #919)
- [Ring-Zero: Scaling Zero RL to a Trillion Parameters for Emergent Reasoning](https://papers.projxon.ai/entries/477) (paper, #477)
- [Scaling Automated Post-Training](https://papers.projxon.ai/entries/605) (code, #605)
