Repository navigation
fix(klx): fix deepeyes_v2_agentic_klx oom and tms mismatch - #421
Conversation
|
Thanks for contributing to Relax, @grootZ! 感谢你为 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。 |
Nyanpasu 审查看板审查状态: 💬 已完成 · 有补充意见 审查版本: ed278ea 目标分支: main 常规审查已完成:三个文件(共 9 行)均已检查调用方、消费模式与运行时校验路径,未发现可确认的代码缺陷。train_offload 新增 5 个 MoE dispatcher 缓存属性沿用现有 clear-if-present 模式(属性缺失时安全跳过);runtime-env-klx.sh 新增两个 CUDA_FAKE_UVA_H2D_FIXUP_* 环境变量符合该入口脚本的既有职责;示例脚本 tp2->tp4 与训练侧 --tensor-model-parallel-size 4 对齐,且 rollout_validation.py 会在运行时校验对齐。遗留两点限制:5 个属性名与 2 个环境变量名均为仓库外契约(Megatron-LM 检出与 KLX 运行时),无法在仓库内验证,拼写错误将静默失效而非报错;本 PR 的 Testing 清单未勾选,KLX 硬件行为无法由 CI 验证。已向作者提出验证证据问题(COMMENT,非阻塞)。
本次没有需要列入看板的问题。 提交范围 · 接收 3 · 建议移出 0 · 待确认 0接收 3 个文件 · 建议移出 0 个文件 · 待确认 0 个文件。移出与待确认部分暂停深审,不代表审查通过。
精简审查与验证依据
生产代码的必要性与替代方案
Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.
|
rai-studio-bot
left a comment
There was a problem hiding this comment.
审查结论:常规审查完成,无阻塞问题
本 PR 修改 3 个文件共 9 行,已按 pinned merge-base 815de3aa 完整核对。三处变更均沿用仓库既有机制:_MOE_DISPATCHER_CACHE_ATTRS 的新增属性沿用 clear-if-present 模式(属性缺失时安全跳过);runtime-env-klx.sh 的两个环境变量导出符合该入口脚本的既有职责;示例脚本 tp2→tp4 与训练侧 --tensor-model-parallel-size 4 对齐,且 rollout_validation.py 会在启动时校验 GPU 对齐。未发现可确认的代码缺陷,详细依据与限制见审查看板。
一个非阻塞的确认请求:本 PR 的 Testing 清单尚未勾选,且新增的 5 个 dispatcher 属性名与 2 个 CUDA_FAKE_UVA_H2D_FIXUP_* 环境变量均为仓库外契约(Megatron-LM 检出与 KLX 运行时),仓库内无法验证——若名称与实际不符,会静默失效而非报错。方便时请在描述中补充一次 KLX 硬件上的验证记录(OOM 与 grad_norm 是否恢复),便于后续维护者确认契约。
…er-profiler Brings in upstream/main 653c43c..dce533b (redai-studio#257, redai-studio#258, redai-studio#285, redai-studio#323, redai-studio#330, redai-studio#335, redai-studio#408, redai-studio#409, redai-studio#412, redai-studio#414, redai-studio#416, redai-studio#417, redai-studio#419-redai-studio#421, redai-studio#424, redai-studio#426, redai-studio#427, redai-studio#430, and 42 commits synced on 10-12 without PR numbers). The only conflict is relax/utils/env.py: cc4b052 adds the DeepSeek-V4 MXFP4 QAT variables at the same spot where this branch adds the straggler profiler variables. Resolved by keeping both blocks, straggler first.
What
Why
How
Testing
pre-commit run --all-filespassespytest tests/)Type of Change
Screenshots / Logs