Repository navigation
Conversation
# 📝 Documentation - Merge repeated feature sections and move the first training example forward. - Shorten model, algorithm, architecture, news, and contribution sections in both languages. - Complete the text example with AIME preparation and offline ClearML logging. - Keep workspace mounts separate from the image's preinstalled dependencies. Co-authored-by: Codex <[email protected]>
|
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。 |
Nyanpasu 审查看板审查状态: ✅ 已通过 审查版本: 0ce3d9d 目标分支: main Round 3 at head 0ce3d9d complete: the increment 3c98661..0ce3d9d aligns the linked quick-start tutorial's Task 2/3 dataset paths with the training scripts, resolving finding F1 (verified line-by-line; confirmation posted in the original thread). READMEs are unchanged from the fully reviewed 3c98661 round. All 12 CI checks pass. No open findings.
审查发现待处理
已解决或已取代
提交范围 · 接收 4 · 建议移出 0 · 待确认 0接收 4 个文件 · 建议移出 0 个文件 · 待确认 0 个文件。移出与待确认部分暂停深审,不代表审查通过。
精简审查与验证依据
生产代码的必要性与替代方案
Powered by Nyanpasu with glm-5.3[1m] xhigh, please check the suggestions carefully.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rai-studio-bot
left a comment
There was a problem hiding this comment.
审查结论:通过(未发现问题)
完整审查了本 PR 的全部 diff(仅 README.md +90/−243 与 README_zh.md +91/−244),验证项:
- 链接完整性:两份文件各 61 个相对链接全部指向仓库中存在的路径(docs/en|zh 指南、examples/、scripts/、skills/、LICENSE、assets)。
- 双语一致性:中英文标题结构 15/15 对齐,层级与顺序一致,表格列数一致。
- 快速开始命令:与
scripts/training/text/run-qwen3-4B-8xgpu.sh的路径约定一致(EXP_DIR→MODEL_DIR/DATA_DIR、Qwen3-4B/、dapo-math-17k/dapo-math-17k.jsonl、aime-2024/aime-2024.jsonl及scripts/tools/process_aime.py --input预处理);CLEARML_OFFLINE_MODE=1与/workspace挂载方式与 CI 集成测试(.github/workflows/integration-test.yml)的实际用法一致。 - 文档站链接:
/Relax/en/、/Relax/zh/与 VitePressbase+locales配置相符;算法清单与relax/algorithms/spec.py一致且沿用旧版事实。 - 删减内容去向:多模态/全模态示例、checkpoint 转换、安装与架构细节均由所链接的指南覆盖。
- CI 在 e1c3179 上 12/12 通过(含 pre-commit 与 GPU 集成测试)。
审查看板(含范围裁定与必要性审计记录):#407 (comment)
# 📝 Documentation - Keep core capabilities, training-mode tradeoffs, model details, and all three getting-started paths. - Remove development skills, internal code inventories, and repeated feature descriptions. - Complete multimodal data preparation and keep detailed recipes in expandable sections. - Align the English and Chinese content around evaluating and using Relax. Co-authored-by: Codex <[email protected]>
rai-studio-bot
left a comment
There was a problem hiding this comment.
审查结论:完成 · 本 PR 改动未发现问题(一条 P3 非阻塞后续建议)
已完整审查 3c98661(增量 e1c3179..3c98661,两份 README 各 187 → 285 行),验证项:
- 链接完整性:两份文件各 63 个相对链接全部指向仓库中存在的路径;
<details>折叠块配对完整。 - 双语一致性:中英文 19/19 标题对齐,层级与顺序一致,表格列数一致。
- 命令语法:全部 bash 代码块通过
bash -n检查;AVQA 示例中内嵌的 Qwen3-Omni chat template 合并脚本可正常解析。 - 快速开始命令与脚本核对:三个任务的数据准备与启动命令和
scripts/training/text/run-qwen3-4B-8xgpu.sh、scripts/training/multimodal/run-qwen3-vl-4B-8xgpu.sh、scripts/training/multimodal/run-qwen3-30B-A3B-omni-16xgpu.sh期望的PROMPT_SET/ eval 路径逐行一致(含process_openr1.py、process_avqa.py转换与 chat template 加载)。相较 main 分支版本,本 PR 还修复了原 Task 2/3 缺失数据转换步骤、AVQA 下载目录与脚本不匹配、chat template 未加载三处问题。 - 多节点说明:
MASTER_ADDR/POD_NAME/HOST_IP/WORLD_SIZE与 customize-training 文档一致。 - CI 在 3c98661 上 12/12 通过。
仅一条 P3 非阻塞建议(见行内评论):README 链接的 quick-start 教程存在两处与训练脚本不一致的既有路径问题(英文版 Task 2 输出文件名、中英文版 Task 3 AVQA 下载目录),非本 PR 引入,建议后续对齐,避免 README 与教程两个入口给出不同结果。
审查看板(含范围裁定与必要性审计记录):#407 (comment)
|
|
||
| Checkpoints are saved in Megatron DCP format; convert them to HuggingFace weights with `scripts/tools/convert_torch_dist_to_hf_bridge.py`. | ||
|
|
||
| > 📖 Full walkthrough: [Quick Start Guide](docs/en/guide/quick-start.md) · [Customize Training](docs/en/guide/customize-training.md) · [Configuration Guide](docs/en/guide/configuration.md) |
There was a problem hiding this comment.
本 PR 的 README 示例命令已与训练脚本逐行核对一致(run-qwen3-4B-8xgpu.sh、run-qwen3-vl-4B-8xgpu.sh、run-qwen3-30B-A3B-omni-16xgpu.sh 的 PROMPT_SET 与 eval 数据路径,含 process_openr1.py / process_avqa.py 转换与 Qwen3-Omni chat template 合并步骤),这点做得比 main 分支版本更完整。但顺着这里链接的完整教程操作会遇到两处既有路径不一致(非本 PR 引入):
docs/en/guide/quick-start.md:77:Task 2 转换输出命名为train-00000-of-00001-converted.parquet,而scripts/training/multimodal/run-qwen3-vl-4B-8xgpu.sh:36期望train-00000-of-00001_converted_noextract.parquet;中文版docs/zh/guide/quick-start.md:77的文件名是正确的,两种语言不一致。docs/en/guide/quick-start.md:119起(中文版同样):Task 3 将数据集下载到/root/AVQA-R1-6K,而run-qwen3-30B-A3B-omni-16xgpu.sh:38与:65期望${DATA_DIR}/AVQA/AVQA_R1/...(README_zh.md 中的同一链接指向的中文教程受相同影响)。
不阻塞本 PR(属于教程侧的既有问题);建议在本 PR 内顺手对齐,或开一个后续 PR 统一修正 docs/(中英两份 quick-start 的 Task 2/3 路径与文件名),避免 README 与教程两个入口给出不同结果。
There was a problem hiding this comment.
已确认修复:commit 0ce3d9da(docs(quick-start): align dataset paths)对两处不一致均已处理,并已逐行核对:
- 英文版 Task 2:
docs/en/guide/quick-start.md:77输出文件名已改为train-00000-of-00001_converted_noextract.parquet,与scripts/training/multimodal/run-qwen3-vl-4B-8xgpu.sh:36的PROMPT_SET一致,且与中文版(docs/zh/guide/quick-start.md:77)重新对齐。 - 中英文版 Task 3:AVQA 下载与转换目录统一为
/root/AVQA,与run-qwen3-30B-A3B-omni-16xgpu.sh:38(${DATA_DIR}/AVQA/AVQA_R1/train/omni_rl_format_train_convert.jsonl)和:65(valid/small_valid.jsonl)在EXP_DIR=/root下的期望路径一致;数据集 repo 标识保持不变。
另核对了两份 quick-start 的全部 bash 块(14/14 通过语法检查)与剩余 AVQA-R1-6K 引用(仅剩数据集标识与链接文本,正确保留)。README 与教程两个入口现在给出一致的路径。
# 📝 Documentation - Match the English Open-R1 conversion filename to the training script. - Use /root/AVQA for AVQA downloads and conversion in both languages. - Keep Hugging Face dataset repository identifiers unchanged. Co-authored-by: Codex <[email protected]>
rai-studio-bot
left a comment
There was a problem hiding this comment.
审查结论:通过(F1 已确认修复)
已审查 0ce3d9d(增量 3c98661..0ce3d9d,仅 docs/en/guide/quick-start.md +8/−8 与 docs/zh/guide/quick-start.md +7/−7;两份 README 与已完整审查的 3c98661 逐字节一致)。验证项:
- F1 修复确认:英文版 Task 2 输出文件名改为
train-00000-of-00001_converted_noextract.parquet(与run-qwen3-vl-4B-8xgpu.sh:36的PROMPT_SET一致,并与中文版重新对齐);中英文版 Task 3 的 AVQA 下载与转换目录统一为/root/AVQA(与run-qwen3-30B-A3B-omni-16xgpu.sh:38/65在EXP_DIR=/root下的期望路径一致)。确认回复已发布在原讨论串。 - 无新增回归:两份 quick-start 的 14/14 bash 块通过语法检查;剩余
AVQA-R1-6K引用仅为数据集标识与链接文本(应保留);customize-training 中的转换示例是独立的自定义数据示例,不受影响。 - CI 在 0ce3d9d 上 12/12 通过。
审查看板(含范围裁定、F1 状态与必要性审计记录):#407 (comment)
注:F1 讨论串的 Resolve 操作因账号权限受限未能执行,请维护者侧确认后自行解决该线程。

What
Make both READMEs easier to use: explain what Relax supports, how to choose a training mode, and how to run a first experiment.
Why
Highlights and Key Features repeat the same capabilities. Internal code inventories and development skills compete with information that helps users evaluate and run Relax.
How
/workspaceso the image's dependencies remain available.The linked English and Chinese quick-start guides also receive two path corrections: the Open-R1 conversion filename and the AVQA dataset directory now match the training scripts. Changes are limited to the two READMEs and the two quick-start guides.
Testing
uvx --python 3.12 pre-commit run --all-filespasses.docs/DEPLOYMENT_SUMMARY.mdanddocs/GET_STARTED.mdremain.Type of Change