Repository navigation
Conversation
Review all commits in the release range and confirm the image variants before drafting the upgrade guide, feature sections and acknowledgements. Co-authored-by: Codex <noreply@openai.com>
Contributor
|
Thanks for contributing to Relax, @SigureMo! 感谢你为 Relax 做出贡献! 📚 Contribution guide / 贡献指南Describe the problem, your changes, and how you validated them. Keep each PR focused and run 请说明问题、改动和验证方式,保持 PR 聚焦,并在提交前运行 🛠️ CI commands / CI 指令
Put one command on the first line of a new PR comment. Rerun/cancel require PR authorship or repository write access. 在新 PR 评论的首行写一条指令。PR 作者或有仓库写权限的贡献者可以重跑、取消 CI。 🔎 Merge requirements / 合入条件GitHub:⏳ 合入条件未满足
|
Contributor
Nyanpasu 审查看板审查状态: ✅ 已通过 审查版本: 132875f 目标分支: main 已复查 132875f。未打 tag 的预览统一使用本次扫描的完整 SHA,原问题已解决。未发现新增问题。
审查发现待处理
已解决或已取代
Powered by Nyanpasu with gpt-6.2-sol high, please check the suggestions carefully.
|
|||||||||||||||||||||||||||||
Use the same verified target for documentation, recipes and comparisons. Link the Relax v0.1.0 release and v0.2.0 draft as formatting examples. Co-authored-by: RAI Studio Bot <326208191+rai-studio-bot@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
rai-studio-bot
approved these changes
Nov 25, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Add a reusable repository skill for drafting Relax release notes in English and Chinese.
Why
A release can span hundreds of commits, and CUDA variants can ship different dependency versions. Maintainers need a draft that covers the full release range and gives users the right upgrade instructions and image for their hardware.
How
Resolve both endpoints against the official repository and review every commit between them, including changes merged from side branches. Check user-facing changes against the release tree, group them by feature, and link the supporting PRs or source. Ask the maintainer for the public image addresses and credit contributors from the release range.
Testing
Validated the skill metadata and checked the example against all 346 commits from
v0.1.0through95a0d522onrelease/0.2.0. Both versions have matching sections and the same 46 contributors.pre-commit run --all-filespassespytest tests/)Type of Change
Screenshots / Logs
Example output · Relax v0.2.0 release notes (English and 中文)
Relax v0.2.0
English · 中文
English
Relax v0.2.0 adds long-context training for Qwen3.8, diffusion post-training, and new ways to train agents that use tools or coordinate across multiple contexts. This release covers 346 commits since v0.1.0.
Highlights
Upgrade Guide
--s3-model-endpoint,--s3-model-use-placeholder-credentialsand--s3-model-use-path-stylefrom launch scripts. For a custom endpoint, setAWS_ENDPOINT_URL_S3. Supply credentials through the standard AWS credential chain. S3 configuration · MigrationModels and supervised training
--mtp-only-training. LoRA recipes · Two-stage MTPSFT data, memory and checkpoints
RELAX_SFT_TQ_SHARDSlets multiple producers prepare the same global batch. For YAML mixtures, Megatron generative SFT and CPT now report loss, samples and supervised tokens per data source at every optimizer step. SFT data pipeline · #597 · #639--seq-length. Megatron Bridge exposes fine-grained MoE activation offload. A CPU-only converter streams distributed checkpoint tensors into sharded Hugging Face safetensors. #505 · #490RELAX_KERNEL_CACHE_DIRand restore them on each GPU node at the next launch. Hopper SFT also gains an opt-in fused linear cross-entropy kernel. Compiler cache guide · #643RL algorithms, distillation and judges
route_key. With partial rollout enabled, an async custom reward can pause a local judge at the rollout cutoff and resume from its generated prefix on the next step. Multi-judge configuration · #712remote_rmsupports this path, and custom scorers can opt in. For SFT,--sft-predict-intervalschedules the generations to score. #644Agentic training and tool-use recipes
Distributed rollout and accelerators
--tq-rdma-mode=autoallows a cluster-wide fallback to the default storage transport, whilerequiredmakes RDMA a startup requirement. #256Profiling, replay and fault diagnosis
--dump-agentic-obsfollows an individual agent trajectory from prompt through reward, sample selection and optimizer update. #330 · #329 · #555Core dependency upgrades
The table describes the versions selected by the release source. CUDA-specific versions apply to the corresponding build. CUDA 12.9 · CUDA 13 · Ascend
85bced0ae/2faedbf64a4de8657/6862ee1758054a339784ad0dwith the Relax assignment-transform patchKey fixes
Container images
cu12cu13-hoppercu13-blackwellAcknowledgements
Thank you to everyone who helped build Relax v0.2.0. Community members ran Qwen3.8 with a million-token context on 32 Blackwell GPUs, brought DeepEyes V2 to Kunlunxin, and shared Kimi K3 training recipes and evaluation results for others to reproduce.
We’re also grateful to the people who shared logs and reproductions when training stalled, caught edge cases in review, and turned what they learned into guides in English and Chinese.
Contributors (46)
@A-Words, @AgentQ0, @Baiiiii126, @bulingbuling688, @dirtyDan0, @DrRyanHuang, @Echo-Nie, @fxsc03, @gouzil, @grootZ, @GUOGUOPOT, @guozhihao-224, @HpIahtcthocw, @huangjiyi, @iyea, @jambow0320, @juliantsok, @kkyyxhll, @ldemon2333, @Lemon-412, @Li-Yongwen, @li126com, @LucQueen, @Lw135, @Men1scus, @Michael-Salon, @Mukayi, @NINGBENZHE, @oliver-0424, @ooooo-create, @overloadedHenry, @RexFlux, @SigureMo, @tang27-1, @Vivicai1005, @Weird733, @WYXNICK, @xcosmosbox, @xiaoliang0601, @Xinbeok, @Yangruipis, @yeqinghe609, @yu830, @yuanlehome, @yuhongming-2026, @ZiyiTsang
Full changelog from v0.1.0
中文
Relax v0.2.0 新增 Qwen3.8 长上下文训练和扩散模型后训练,并扩展了工具调用与多智能体训练能力。本版包含 v0.1.0 以来的 346 个提交。
版本亮点
升级指南
--s3-model-endpoint、--s3-model-use-placeholder-credentials和--s3-model-use-path-style。自定义端点改用AWS_ENDPOINT_URL_S3,凭证通过标准 AWS 凭证链提供。 S3 配置 · 参数变更模型与监督训练
--mtp-only-training冻结主模型、单独训练多 token 预测层。 LoRA 配方 · 两阶段 MTPSFT 数据、显存与 Checkpoint
RELAX_SFT_TQ_SHARDS可让多个生产者分片准备同一全局批次。使用 YAML 混合数据时,Megatron 生成式 SFT 和 CPT 会在每个优化器步报告各数据源的损失、样本数和监督 token 数。 SFT 数据管线 · #597 · #639--seq-length的样本,SFT 可以用单独的微批次保留完整样本。Megatron Bridge 支持细粒度 MoE 激活卸载;分布式 checkpoint 可在纯 CPU 环境下流式导出为分片的 Hugging Face safetensors。 #505 · #490RELAX_KERNEL_CACHE_DIR将 TorchInductor 与 Triton 的编译产物保存到共享存储,在后续任务启动时恢复到各 GPU 节点。Hopper 上的 SFT 还可选用融合线性层和交叉熵的内核。 编译缓存指南 · #643RL 算法、蒸馏与评判模型
route_key将请求交给对应模型。启用 partial rollout 后,异步自定义奖励函数可以在 rollout 截止时暂停本地评判模型,到下一步接着已生成的前缀继续评分。 多评判模型配置 · #712remote_rm支持后台评分,自定义评分器也可显式启用;SFT 通过--sft-predict-interval设置生成待评答案的间隔。 #644Agentic 训练与工具调用配方
分布式 Rollout 与硬件适配
--tq-rdma-mode=auto允许整个集群回退到默认存储传输,required则要求 RDMA 可用才能启动。 #256性能分析、回放与故障诊断
--dump-agentic-obs可追踪单条 agent 轨迹从 prompt、奖励、样本筛选到优化器更新的全过程。 #330 · #329 · #555核心依赖升级
下表为发布分支构建配置选用的版本。CUDA 相关版本按各自构建目标列出。CUDA 12.9 · CUDA 13 · 昇腾
85bced0ae/2faedbf64a4de8657/6862ee1758054a339784ad0d,包含 Relax 的 assignment-transform 补丁关键修复
容器镜像
cu12cu13-hoppercu13-blackwell致谢
感谢一起做出 Relax v0.2.0 的每一位社区伙伴。你们在 32 张 Blackwell GPU 上跑通了 Qwen3.8 的百万 token 上下文训练,让 DeepEyes V2 在昆仑芯上跑了起来,也公开了 Kimi K3 的训练配方和评测结果,方便其他人复现。
也感谢在训练卡住时分享日志和复现步骤、在评审中找出遗漏的边界情况、把排障经验写成中英文指南的伙伴。
贡献者(46)
@A-Words, @AgentQ0, @Baiiiii126, @bulingbuling688, @dirtyDan0, @DrRyanHuang, @Echo-Nie, @fxsc03, @gouzil, @grootZ, @GUOGUOPOT, @guozhihao-224, @HpIahtcthocw, @huangjiyi, @iyea, @jambow0320, @juliantsok, @kkyyxhll, @ldemon2333, @Lemon-412, @Li-Yongwen, @li126com, @LucQueen, @Lw135, @Men1scus, @Michael-Salon, @Mukayi, @NINGBENZHE, @oliver-0424, @ooooo-create, @overloadedHenry, @RexFlux, @SigureMo, @tang27-1, @Vivicai1005, @Weird733, @WYXNICK, @xcosmosbox, @xiaoliang0601, @Xinbeok, @Yangruipis, @yeqinghe609, @yu830, @yuanlehome, @yuhongming-2026, @ZiyiTsang
查看自 v0.1.0 以来的完整变更