Skip to content

feat(skills): add a bilingual release note drafter - #798

Open
SigureMo wants to merge 2 commits into
redai-studio:mainfrom
cattidea:codex/release-note-drafter
Open

SigureMo wants to merge 2 commits into
redai-studio:mainfrom
cattidea:codex/release-note-drafter

Conversation

@SigureMo

Copy link
Copy Markdown
Member

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.0 through 95a0d522 on release/0.2.0. Both versions have matching sections and the same 46 contributors.

  • pre-commit run --all-files passes
  • Tests pass (pytest tests/)
  • New tests added (if applicable)
  • Documentation updated (if applicable)

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • CI/CD or build changes

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

  • Qwen3.8 at 512K and 1M tokens. Two native SFT recipes train Qwen3.8-Flash-Next on 32 CUDA 13 Blackwell GPUs. They use context parallelism of 8 and 16 respectively. Separate recipes cover multimodal SFT, LoRA and GRPO. Launch guide · #655 · #646
  • Kimi K3 and K3.1 Pro. K3 gains multimodal SFT, GRPO and Hugging Face export, with public-data results for OpenR1-MM and LLaVA-OneVision. K3.1 Pro adds full-parameter and LoRA SFT for text and multimodal data. Recipes and results · #567
  • Diffusion post-training. Qwen-Image gains text-to-image FlowGRPO with full fine-tuning or LoRA. SenseNova U1.5 supports image-edit SFT and an ART recipe that reuses the SFT model for RL. ART tunes the generation branch on one node with eight colocated GPUs. FlowGRPO · Image-edit SFT · #694
  • Multi-agent training and API compatibility. One agent session can export several contexts under a shared training identity. Agents can use OpenAI Responses or Anthropic Messages alongside Chat Completions. Send the full history for each branch. Streaming responses use buffered SSE after generation completes. Agent integration · Multi-agent export

Upgrade Guide

  • Migrate S3 model-loading flags. Remove --s3-model-endpoint, --s3-model-use-placeholder-credentials and --s3-model-use-path-style from launch scripts. For a custom endpoint, set AWS_ENDPOINT_URL_S3. Supply credentials through the standard AWS credential chain. S3 configuration · Migration

Models and supervised training

  • Model integrations. Gemma 4 31B adds 64K text SFT with FlexAttention and packed image-input SFT. DeepSeek V4 Flash gains MXFP4 quantization-aware training. Keye-VL 2.0 adds eight-GPU text and image RL recipes. #499 · #551 · MXFP4 · #498
  • Qwen3.8 on Hopper and Blackwell. SFT recipes cover multimodal training on 128 H800 GPUs and 64K packing on 48 H20 GPUs. On CUDA 13 Blackwell, Qwen3.8 also has opt-in CuTe sparse attention and a MoK expert backend. For the 512K and 1M recipes, build custom CUDA 13 Blackwell images from the matching Relax revision to include its Megatron, HybridEP and FlashQLA patches. #637 · #699 · #691 · #704 · Runtime requirements · #719
  • Qwen3.5 and Qwen3.6 recipes. Qwen3.5 gains a Blackwell SFT recipe. Its eight-GPU OpenR1-MM RL recipe reuses log probabilities for eligible synchronous GRPO updates and skips the reference pass when both KL coefficients are zero. Qwen3.6 adds a 256K continued-pretraining recipe. #454 · #470
  • Supervised and preference training. Train on raw text with continued pretraining, or use SFT for sequence classification and text-pair embeddings. Preference data can train a DPO policy or a pairwise reward model. The DPO example runs Qwen3-0.6B on UltraFeedback with one GPU. CPT · DPO · Classification · #714 · #258
  • MoE LoRA and MTP-only SFT. Qwen3.6 recipes cover two-node asynchronous RL with MoE LoRA adapters and vision-language RL with merged adapters. For Qwen3.5, train the main model with SFT, then freeze it and train only the multi-token prediction layer using --mtp-only-training. LoRA recipes · Two-stage MTP

SFT data, memory and checkpoints

  • Packing and data mixtures. Megatron SFT can overlap CPU packing with training on supported text workloads. RELAX_SFT_TQ_SHARDS lets 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
  • ChunkFlow for long sequences. ChunkFlow adds sequence chunking for dense and MoE models. In the published eight-GPU Qwen3-4B SFT benchmark (TP2/PP4, 4,096-token chunks), mean step time fell from 4.38 s to 3.10 s. ChunkFlow benchmark · #550
  • Long-context memory and CPU export. SFT can keep a sample that exceeds the packing budget in its own microbatch up to --seq-length. Megatron Bridge exposes fine-grained MoE activation offload. A CPU-only converter streams distributed checkpoint tensors into sharded Hugging Face safetensors. #505 · #490
  • Compiler cache reuse. Megatron jobs can store TorchInductor and Triton artifacts on shared storage with RELAX_KERNEL_CACHE_DIR and 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 · #643

RL algorithms, distillation and judges

  • Policy optimization. Synchronous RLOO and M2PO add new advantage estimators. Score Centering corrects policy-gradient drift when the sampler and trainer use different token distributions. The GAGAR example redistributes binary group rewards using supplied quality weights. Algorithm guide · #440 · #445
  • On-policy distillation. EOPD applies forward KL at positions where entropy over the teacher’s top-k tokens reaches a threshold. A teacher replica can span multiple nodes, and multi-teacher runs can assign different GPU budgets and track pending scoring requests per teacher. EOPD · #450 · #541 · #569
  • Generative rewards. A single GenRM deployment can host multiple judge models and route each request by 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 · #712
  • Background evaluation. RL evaluation and SFT prediction can hand generated answers to an independent judge and continue training while scores arrive. The built-in remote_rm supports this path, and custom scorers can opt in. For SFT, --sft-predict-interval schedules the generations to score. #644
  • OpenR1-MM evaluation. A resumable evaluator queries an OpenAI-compatible multimodal server, takes independently seeded samples per question, scores the final answers and computes pass@k from the saved generations. OpenR1-MM evaluator

Agentic training and tool-use recipes

  • Agent recipes and long-lived sessions. Run the Codex CLI on R2E-Gym through Responses, or Claude Code on NeMo Gym reasoning tasks through Messages. In fully asynchronous Agentic LoRA training, each resident session can keep its adapter version across tool calls while new sessions take the next published version. Codex/R2E-Gym · Claude Code/NeMo Gym · #476
  • Scheduling and turn-level credit. Sessions in a group can generate as soon as each is ready. Opt-in KV controls bound admission at request boundaries and release a finished session’s cache. A custom advantage function can assign a separate value to each assistant turn’s generated tokens. KV scheduling · #628 · Turn-level advantages
  • Reasoning with tools. ReTool runs SFT and GRPO for math with Python execution, alongside an Agentic recipe for GRPO or Score Centering. OpenSearch-VL trains on visual tool-use trajectories and evaluates image cropping on V*Bench. The DeepCoder recipe trains Qwen3.5-4B with a binary reward from executing submitted code. #633 · #660 · #632 · #444
  • Search and mixed environments. Search-R1 can train a main agent and separate searcher contexts. Search-QA provides GRPO and on-policy distillation recipes with a retriever. NeMo Gym can mix math reasoning and Workplace Assistant tool calls in one training run. Search-R1 · Search-QA · NeMo Gym

Distributed rollout and accelerators

  • Rollout capacity and prefix reuse. Hybrid mode can add rollout engines during training and synchronize actor weights to them. Managed SGLang deployments can size prefill and decode pools independently. CPU HiCache can restore evicted prefixes in both regular and disaggregated deployments. #554 · #433 · #442
  • MoE rollout routing and weight sync. On CUDA 13 with SGLang 0.5.21, routing replay (R3) preserves expert selections across prefill and decode pools. For eligible colocated Megatron–SGLang workloads, BF16 expert weights go directly to the rollout ranks that own each expert. #495 · #540
  • RDMA sample transfer. On RoCE clusters, TransferQueue can send rollout samples to training workers over host RDMA via MooncakeStore. --tq-rdma-mode=auto allows a cluster-wide fallback to the default storage transport, while required makes RDMA a startup requirement. #256
  • Accelerator integrations. The ROCm Dockerfile provides MI350- and MI300-series build targets. The MI300-series build still awaits hardware validation. Ascend gains Qwen3.5 multi-token prediction and context-parallel recipes, and Kunlunxin gains a DeepEyes V2 Agentic recipe. Relax also recognizes Zhenwu PPU devices through their PyTorch CUDA interface. ROCm guide · #288 · #309 · #588

Profiling, replay and fault diagnosis

  • Training profiles and replay. The Megatron profiler breaks down forward, backward, optimizer and communication time per rank. Trace tools can export a full-step overview or a trimmed per-rank view. On CPU, trajectory replay locates the first divergence in recorded advantage, return or policy-loss calculations. #363 · #500 · #279
  • Rollout diagnostics. Inspect why generations stopped and how many turns they took. Offline repetition diagnostics scan the full response for loops. --dump-agentic-obs follows an individual agent trajectory from prompt through reward, sample selection and optimizer update. #330 · #329 · #555
  • Fault history. With health checks enabled, the training driver can record local and global recovery events. Query its bounded in-memory history during a run or export fault logs through OpenTelemetry. Fault history · #484 · #556

Core 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

Dependency v0.1.0 v0.2.0
SGLang 0.5.15.post1 on CUDA 12.9 0.5.17 on CUDA 12.9; 0.5.21 on CUDA 13 Hopper and Blackwell
Megatron Core / Megatron Bridge 85bced0ae / 2faedbf6 4a4de8657 / 6862ee17
TransferQueue 58054a33 9784ad0d with the Relax assignment-transform patch
Ray / Transformers No exact pins in the Relax requirements file CUDA builds pin Ray 2.56.1, Transformers 5.16.0 and Tokenizers 0.23.2
CANN (Ascend) 8.5.1 9.0.0

Key fixes

  • Checkpoint recovery. A failed save can no longer rotate away the only committed checkpoint. Resume rejects incomplete checkpoints. Streaming datasets rebuild prefetch from the consumed cursor, and synchronous rollout avoids prefetching the next batch at save points so it can be read after restart. #471 · #598 · #679 · #449
  • Context-parallel training correctness. Chunked SFT keeps padding-only ranks in the backward collective, preventing hangs. Multi-token prediction now normalizes the auxiliary loss using the valid token count across the CP group, so uneven shards get the correct weight. #664 · #488
  • Multimodal inputs. Tools can return images through Anthropic Messages and OpenAI Responses without losing them before the next model call. Qwen video preprocessing also preserves the frames and resolution already selected by Relax. On CUDA 12.9, Qwen3-VL MoE retains its DeepStack visual features when SGLang 0.5.17 defers the MoE all-reduce. #504 · #722 · #793
  • Multi-node rollout startup. Each SGLang engine now allocates ports on the node where Ray placed its actor. This fixes startup failures when available GPUs are split unevenly across nodes. #700

Container images

Variant Pull address
cu12
cu13-hopper
cu13-blackwell

Acknowledgements

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 个提交。

版本亮点

  • Qwen3.8 支持 512K 和 1M 上下文。 两套原生 SFT 配方均使用 32 张 CUDA 13 Blackwell GPU,512K 和 1M 分别采用 8 路和 16 路上下文并行。另有多模态 SFT、LoRA 和 GRPO 配方。 启动指南 · #655 · #646
  • Kimi K3 与 K3.1 Pro。 K3 新增多模态 SFT、GRPO 和 Hugging Face 导出,并提供 OpenR1-MM 与 LLaVA-OneVision 公开数据集的复现结果。K3.1 Pro 支持文本和多模态数据的全参 SFT 与 LoRA SFT。 配方与复现结果 · #567
  • 扩散模型后训练。 Qwen-Image 新增文生图 FlowGRPO,可做全参或 LoRA 微调。SenseNova U1.5 支持图像编辑 SFT,也可复用该 SFT 模型运行 ART 强化学习。ART 配方在单机八卡上共置训练与推理,微调生成分支。 FlowGRPO · 图像编辑 SFT · #694
  • 多智能体训练与 API 兼容。 同一个 agent 会话可以导出多个上下文,让它们作为同一个逻辑样本参与训练。除 Chat Completions 外,还可通过 OpenAI Responses 或 Anthropic Messages 接入。每次请求需携带当前分支的完整历史;流式请求在生成完成后通过缓冲 SSE 返回。 Agent 接入指南 · 多智能体导出

升级指南

  • 迁移 S3 模型加载参数。 从启动脚本中移除 --s3-model-endpoint、--s3-model-use-placeholder-credentials 和 --s3-model-use-path-style。自定义端点改用 AWS_ENDPOINT_URL_S3,凭证通过标准 AWS 凭证链提供。 S3 配置 · 参数变更

模型与监督训练

  • 模型适配。 Gemma 4 31B 新增基于 FlexAttention 的 64K 文本 SFT 和支持样本打包的图像输入 SFT。DeepSeek V4 Flash 支持 MXFP4 量化感知训练。Keye-VL 2.0 新增八卡文本及图像 RL 配方。 #499 · #551 · MXFP4 · #498
  • Hopper 和 Blackwell 上的 Qwen3.8。 新增 128 张 H800 的多模态 SFT 配方,以及 48 张 H20 的 64K 样本打包配方。CUDA 13 Blackwell 上还可选用 CuTe 稀疏注意力和 MoK 专家计算后端。512K 和 1M 配方如需自建 CUDA 13 Blackwell 镜像,请使用对应版本的 Relax 源码构建,以包含配套的 Megatron、HybridEP 和 FlashQLA 补丁。 #637 · #699 · #691 · #704 · 运行环境要求 · #719
  • Qwen3.5 与 Qwen3.6 配方。 Qwen3.5 新增 Blackwell SFT 配方。其八卡 OpenR1-MM RL 配方在满足条件的同步 GRPO 更新中复用 log probability,并在两个 KL 系数均为零时跳过参考模型前向。Qwen3.6 新增 256K 持续预训练配方。 #454 · #470
  • 监督训练与偏好学习。 可用原始文本做持续预训练,也可用 SFT 训练序列分类器和文本对 embedding 模型。偏好数据既可用于 DPO,也可用于训练成对比较的奖励模型。DPO 示例用单卡在 UltraFeedback 上训练 Qwen3-0.6B。 CPT · DPO · 序列分类 · #714 · #258
  • MoE LoRA 和 MTP 单独训练。 Qwen3.6 提供双节点异步 MoE LoRA RL 配方,以及合并 adapter 的视觉语言 RL 配方。Qwen3.5 可以先做常规 SFT,再用 --mtp-only-training 冻结主模型、单独训练多 token 预测层。 LoRA 配方 · 两阶段 MTP

SFT 数据、显存与 Checkpoint

  • 样本打包与混合数据。 对满足条件的文本任务,Megatron SFT 可以在训练当前批次时由 CPU 打包后续批次;通过 RELAX_SFT_TQ_SHARDS 可让多个生产者分片准备同一全局批次。使用 YAML 混合数据时,Megatron 生成式 SFT 和 CPT 会在每个优化器步报告各数据源的损失、样本数和监督 token 数。 SFT 数据管线 · #597 · #639
  • ChunkFlow 长序列分块训练。 ChunkFlow 为稠密模型和 MoE 模型提供序列分块训练。在公开的八卡 Qwen3-4B SFT 基准中(TP2/PP4,每块 4,096 token),平均每步耗时从 4.38 秒降至 3.10 秒。 ChunkFlow 基准 · #550
  • 长上下文显存与 CPU 导出。 对超过打包预算、但未超过 --seq-length 的样本,SFT 可以用单独的微批次保留完整样本。Megatron Bridge 支持细粒度 MoE 激活卸载;分布式 checkpoint 可在纯 CPU 环境下流式导出为分片的 Hugging Face safetensors。 #505 · #490
  • 跨任务复用编译缓存。 Megatron 任务可通过 RELAX_KERNEL_CACHE_DIR 将 TorchInductor 与 Triton 的编译产物保存到共享存储,在后续任务启动时恢复到各 GPU 节点。Hopper 上的 SFT 还可选用融合线性层和交叉熵的内核。 编译缓存指南 · #643

RL 算法、蒸馏与评判模型

  • 策略优化。 新增同步 RLOO 和 M2PO 优势估计器。Score Centering 用于校正采样与训练 token 分布不同造成的策略梯度偏移。GAGAR 示例可用给定的质量权重重新分配组内二值奖励。 算法指南 · #440 · #445
  • 在线策略蒸馏。 EOPD 在教师 top-k token 分布的熵达到阈值的位置计算前向 KL。单个教师实例可跨节点部署;多教师训练可为各教师分配不同数量的 GPU,并分别查看还有多少回答待提交评分。 EOPD · #450 · #541 · #569
  • 生成式奖励。 同一个 GenRM 服务可以部署多个评判模型,按 route_key 将请求交给对应模型。启用 partial rollout 后,异步自定义奖励函数可以在 rollout 截止时暂停本地评判模型,到下一步接着已生成的前缀继续评分。 多评判模型配置 · #712
  • 后台评估。 RL 评估和 SFT 预测可以把已生成的答案交给独立的评判模型,在等待分数时继续训练。内置 remote_rm 支持后台评分,自定义评分器也可显式启用;SFT 通过 --sft-predict-interval 设置生成待评答案的间隔。 #644
  • OpenR1-MM 评测。 新的可恢复评测工具可对接兼容 OpenAI 接口的多模态服务,对每道题按独立随机种子多次采样,只给最终答案评分,并用保留的生成结果计算 pass@k。 OpenR1-MM 评测脚本

Agentic 训练与工具调用配方

  • Agent 配方与常驻会话。 Codex CLI 可通过 Responses 在 R2E-Gym 上运行,Claude Code 可通过 Messages 运行 NeMo Gym 的推理任务。在全异步 Agentic LoRA 训练中,每个常驻会话可跨工具调用沿用同一版 adapter,新会话则可使用新发布的版本。Codex/R2E-Gym · Claude Code/NeMo Gym · #476
  • 会话调度与逐轮优势。 同组会话可以在各自就绪时开始生成。可选的 KV 调度在请求边界控制准入,并在会话结束时释放缓存。自定义优势函数可为每一轮助手生成的 token 单独指定优势值。 KV 调度 · #628 · 逐轮优势
  • 工具辅助推理。 ReTool 提供调用 Python 解数学题的 SFT、GRPO 全流程,也有可选 GRPO 或 Score Centering 的 Agentic 配方。OpenSearch-VL 用视觉工具轨迹做 SFT,并在 V*Bench 上评估图片裁剪能力;DeepCoder 配方用运行提交代码得到的二值奖励训练 Qwen3.5-4B。 #633 · #660 · #632 · #444
  • 检索与多环境训练。 Search-R1 可以同时训练主 agent 和负责检索的独立上下文。Search-QA 提供接入检索器的 GRPO 和在线策略蒸馏配方。NeMo Gym 可在同一个训练任务中混合数学推理和 Workplace Assistant 工具调用。 Search-R1 · Search-QA · NeMo Gym

分布式 Rollout 与硬件适配

  • Rollout 扩缩容与前缀复用。 Hybrid 模式可在训练中扩充 rollout 引擎,并向新引擎同步 actor 权重。由 Relax 管理的 SGLang 可为 prefill 和 decode 独立分配资源;常规部署和分离部署都可使用 CPU HiCache 恢复从显存中淘汰的前缀。 #554 · #433 · #442
  • MoE Rollout 路由与权重同步。 在 CUDA 13 的 SGLang 0.5.21 上,路由重放(R3)可跨 prefill 和 decode 引擎池保留专家选择记录。满足条件的 Megatron–SGLang 共置训练可将 BF16 专家权重直接发给持有该专家的 rollout rank。 #495 · #540
  • RDMA 样本传输。 在 RoCE 集群上,TransferQueue 可通过 MooncakeStore 使用主机 RDMA 将 rollout 样本发给训练 worker。--tq-rdma-mode=auto 允许整个集群回退到默认存储传输,required 则要求 RDMA 可用才能启动。 #256
  • 加速器适配。 ROCm Dockerfile 新增 MI350 和 MI300 系列构建目标,MI300 系列尚待真机验证。昇腾新增 Qwen3.5 多 token 预测和上下文并行配方,昆仑芯新增 DeepEyes V2 Agentic 配方。Relax 也可通过 PyTorch CUDA 接口识别真武 PPU 设备。 ROCm 指南 · #288 · #309 · #588

性能分析、回放与故障诊断

  • 训练性能与回放。 Megatron 性能分析器按 rank 展示前向、反向、优化器和通信耗时;trace 工具可导出完整训练步概览或单 rank 的局部视图。轨迹回放可在 CPU 上定位优势、回报或策略损失计算中最先出现偏差的位置。 #363 · #500 · #279
  • Rollout 诊断。 可查看生成停止原因分布、多轮对话轮数的分位数,并离线扫描完整回答以定位重复片段。--dump-agentic-obs 可追踪单条 agent 轨迹从 prompt、奖励、样本筛选到优化器更新的全过程。 #330 · #329 · #555
  • 故障记录。 启用健康检查后,训练 driver 可记录局部与全局恢复事件。运行期间可以查询有容量上限的内存记录,也可通过 OpenTelemetry 导出故障日志。 故障记录 · #484 · #556

核心依赖升级

下表为发布分支构建配置选用的版本。CUDA 相关版本按各自构建目标列出。CUDA 12.9 · CUDA 13 · 昇腾

依赖 v0.1.0 v0.2.0
SGLang CUDA 12.9 使用 0.5.15.post1 CUDA 12.9 使用 0.5.17,CUDA 13 Hopper 和 Blackwell 使用 0.5.21
Megatron Core / Megatron Bridge 85bced0ae / 2faedbf6 4a4de8657 / 6862ee17
TransferQueue 58054a33 9784ad0d,包含 Relax 的 assignment-transform 补丁
Ray / Transformers Relax 依赖清单未固定精确版本 CUDA 构建固定为 Ray 2.56.1、Transformers 5.16.0 和 Tokenizers 0.23.2
CANN(昇腾) 8.5.1 9.0.0

关键修复

  • Checkpoint 恢复。 保存失败时会保留最近一次已提交的 checkpoint。恢复时会拒绝不完整的 checkpoint。流式数据集从已消费的位置重建预取窗口;同步 rollout 在保存点暂停下一批预取,重启后仍能读到该批数据。 #471 · #598 · #679 · #449
  • 上下文并行训练正确性。 分块 SFT 中仅含 padding 的 rank 也会参与反向集体通信,避免训练卡住。多 token 预测改用整个 CP 组的有效 token 数归一化辅助损失,修复各分片有效 token 数不均时的权重偏差。 #664 · #488
  • 多模态输入。 通过 Anthropic Messages 和 OpenAI Responses 返回的工具图片现在能保留到下一次模型调用。Qwen 视频预处理也会保留 Relax 已选定的帧和分辨率,避免重复采样或缩放。在 CUDA 12.9 上,SGLang 0.5.17 延迟执行 MoE all-reduce 时,Qwen3-VL MoE 现在也会保留 DeepStack 视觉特征。 #504 · #722 · #793
  • 多节点 Rollout 启动。 SGLang 引擎会在 Ray 实际放置 actor 的节点上分配端口,修复集群空闲 GPU 分布不均时因引擎拿到其他节点地址而启动失败的问题。 #700

容器镜像

变体 拉取地址
cu12
cu13-hopper
cu13-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 以来的完整变更

This PR is co-authored with @codex (gpt-6.2-astra xhigh)

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>
@SigureMo
SigureMo requested review from a team and yuanlehome November 25, 2026 10:31
@rai-studio-bot

rai-studio-bot commented Nov 25, 2026 •

Copy link
Copy Markdown
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 pre-commit run --all-files before submitting.

请说明问题、改动和验证方式,保持 PR 聚焦,并在提交前运行 pre-commit run --all-files。

English contribution guide · 中文贡献指南

🛠️ CI commands / CI 指令
Command / 指令 Usage / 用途
/rerun Retry failed CI / 重跑失败的 CI
/rerun <target> Rerun a workflow or check / 重跑指定 workflow 或检查
/cancel <workflow> Cancel an entire workflow / 取消整个 workflow
/help Show commands and targets / 查看指令和 target
/review Request a code review / 请求代码 review

Put one command on the first line of a new PR comment. Rerun/cancel require PR authorship or repository write access.

在新 PR 评论的首行写一条指令。PR 作者或有仓库写权限的贡献者可以重跑、取消 CI。

CI usage and targets · CI 用法与 target

🔎 Merge requirements / 合入条件

GitHub:⏳ 合入条件未满足

Requirement / 条件 Status / 状态
审批人数 ⏳ 0/1 · 至少 1 位有仓库 write 或更高权限的人 Approve
团队审批(relax-block-reviewers) ⏳ 0/1 · 可联系:Aurelius84, Yangruipis, RexFlux, yuanlehome, NINGBENZHE, Lemon-412
CI ✅ 已通过

@rai-studio-bot

rai-studio-bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Nyanpasu 审查看板

审查状态: ✅ 已通过

审查版本: 132875f

目标分支: main

已复查 132875f。未打 tag 的预览统一使用本次扫描的完整 SHA,原问题已解决。未发现新增问题。

审查阶段进度范围与结果
常规审查 ✅ 已完成 复查了三个修改段落。48 个不同的文件及目录链接都在预览提交中,完整变更链接对应 346 个提交。
深度审查 ✅ 已完成 复查了预览链接规则和新增的双语草稿参考。两项规则检查均无发现。

审查发现

待处理
编号 严重性 问题状态规则来源
暂无待处理的记录。
已解决或已取代
编号 严重性 问题状态规则来源
F1 Medium severity 未打 tag 的预览应使用已核实的 SHA 生成文档链接 ✅ 已解决 未打 tag 的预览使用目标提交
Powered by Nyanpasu with gpt-6.2-sol high, please check the suggestions carefully.

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论

已审查 9e98aef 新增的双语发布说明技能。核实了示例的 346 个提交,并复现了未打 tag 时正文链接返回 404 的情况。已在对应行给出修改建议。

审查看板

Powered by Nyanpasu with gpt-6.2-sol high, please check the suggestions carefully.

Comment thread skills/release-note-drafter/SKILL.md Resolved
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 rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

复查通过

已确认 132875f0 将未打 tag 的预览链接固定到本次扫描的完整提交 SHA。核对了示例中的 48 个不同的文件或目录链接,并确认完整变更链接对应 346 个提交。原问题已解决,复查未发现新增问题。

审查看板

Powered by Nyanpasu with gpt-6.2-sol high, please check the suggestions carefully.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants