Repository navigation
feat(ce): add 9B hybrid elastic rollout recipe - #502
Merged
Merged
Conversation
Contributor
|
Thanks for contributing to Relax, @RexFlux! 感谢你为 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:✅ 满足合入条件
|
RexFlux
marked this pull request as ready for review
October 30, 2026 08:56
RexFlux
requested review from
Lemon-412,
NINGBENZHE,
SigureMo and
Yangruipis
as code owners
October 30, 2026 08:56
RexFlux
enabled auto-merge (squash)
October 30, 2026 09:00
Contributor
Nyanpasu 审查看板审查状态: ✅ 已通过 审查版本: b2d7ce6 目标分支: main 已完成 b2d7ce6 的单文件 Hybrid recipe 审查,未发现可报告问题。训练资源和配置保持既有约定,新增入口重入、尾部覆盖与 dry-run 边界已核对。
审查发现待处理
已解决或已取代
提交范围 · 接收 1 · 建议移出 0 · 待确认 0接收 1 个文件 · 建议移出 0 个文件 · 待确认 0 个文件。移出与待确认部分暂停深审,不代表审查通过。
Powered by Nyanpasu with gpt-6.1-sol xhigh, please check the suggestions carefully.
|
|||||||||||||||||||||||||||||||||||||||
RexFlux
disabled auto-merge
October 30, 2026 09:22
rai-studio-bot
suggested changes
Oct 30, 2026
7 of 11 tasks
7 of 11 tasks
Reuse the full-async recipe after hybrid DCS landed in main. Keep the CE branch limited to launch scripts and CPU argument regression coverage. Co-authored-by: Codex <[email protected]>
RexFlux
force-pushed
the
feat/9b-hybrid-elastic-ce
branch
from
November 10, 2026 14:04
fa7320a to
5ef7e75
Compare
rai-studio-bot
approved these changes
Nov 10, 2026
Restore the full-async script to main and provide an independent hybrid entrypoint. Execute each recipe in isolation to guard against sibling-script dependencies. Co-authored-by: Codex <[email protected]>
rai-studio-bot
approved these changes
Nov 10, 2026
Follow the grouped launcher structure from PR redai-studio#517, with checkout-local entrypoint dispatch, argument passthrough and a side-effect-free dry run. Preserve hybrid training settings, CE overrides and EXP_DIR fallbacks. Keep the full-async recipe independent and unchanged. Co-authored-by: Codex <[email protected]>
Keep the hybrid CE contribution limited to its launch recipe. Co-authored-by: Codex <[email protected]>
Aurelius84
approved these changes
Nov 11, 2026
rai-studio-bot
approved these changes
Nov 11, 2026
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 the Qwen3.5-9B hybrid elastic-rollout CE launch recipe.
Why
Hybrid DCS support is now available on main through #554. Add a dedicated 9B hybrid CE entrypoint so the two training recipes remain independent.
How
The standalone hybrid script uses actor8 (TP4/DP2), two initial rollout engines, and the existing autoscaler policy with a maximum of eight engines. Reference/forward/advantages run on the actor GPUs. The ClearML project, experiment prefix, and log filename identify hybrid runs.
Following the launcher organization in #517, the hybrid script resolves its own checkout, dispatches through the standard Ray entrypoint, groups environment and training arguments, and supports trailing argument overrides and a side-effect-free JSON
DRY_RUN=1. It preserves the existing CE script path, model/data root fallbacks, runtime setup hooks, and transport settings.The full-async script is byte-for-byte identical to main. This PR only adds the hybrid script; framework behavior comes from main.
Testing
Ad hoc argument-capture validation: full-async matches main byte-for-byte; the hybrid training argv and runtime-env match the prior script, apart from experiment timestamps. The real CE argument-rewrite function preserves HF/ref checkpoint, ClearML project/name, and save-directory overrides.
bash -npasses for both scripts.pre-commit run --all-files --show-diff-on-failure: passed.Independent read-only review found no remaining blockers.
pre-commit run --all-filespassesTests pass (
pytest tests/)New tests added (if applicable)
Documentation updated (if applicable)
Type of Change
Screenshots / Logs
An earlier run pinned to
fa7320ae08d1a85fe432c3f3bf3a6a3e77e0f551completed 100 consecutive training steps, six scale-outs from 2 to 8 engines, and one automatic scale-in from 8 to 7, followed by a successful DCS update and normal completion. That is historical validation; this rebase onto64ffb3f0214c815d4bd366215675d5129c4ae264has not been rerun on GPUs.