Skip to content

docs(mopd): fix dataset override key data.val -> data.validation - #2991

Merged
yuki-97 merged 1 commit into
mainfrom
qiaochuz/fix-mopd-doc-data-validation
Jul 1, 2026
Merged

docs(mopd): fix dataset override key data.val -> data.validation#2991
yuki-97 merged 1 commit into
mainfrom
qiaochuz/fix-mopd-doc-data-validation

Conversation

@qiaochuz-nv

Copy link
Copy Markdown
Contributor

What

The MOPD quickstart CLI example in docs/about/algorithms/mopd.md overrides the validation dataset path with data.val.data_path, but the shipped recipe (examples/configs/recipes/llm/mopd-qwen3-1.7b-3n8g-megatron-pack.yaml) keys the validation block under data.validation:

data:
  train:
    data_path: ...
  validation:        # <-- key is 'validation', not 'val'
    data_path: ...

Copy-pasting the documented command verbatim hits an OmegaConf "key not found" error.

Fix

One-line doc change to align the example with the recipe:

-  data.val.data_path=/path/to/val.jsonl
+  data.validation.data_path=/path/to/val.jsonl

(data.train.data_path on the line above is already correct.)

Verification

Found while authoring the RL POR e2e test for MOPD (#2780). Confirmed the recipe uses data.validation and the documented data.val would fail config resolution.

@qiaochuz-nv
qiaochuz-nv requested a review from a team as a code owner June 29, 2026 16:55
@copy-pr-bot

copy-pr-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Jun 29, 2026
@qiaochuz-nv
qiaochuz-nv requested review from terrykong and yfw June 29, 2026 16:57

@yuki-97 yuki-97 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.

thanks @qiaochuz-nv , fix LGTM, could you help to solve the DCO fail?

@yuki-97 yuki-97 added the r0.7.0 label Jul 1, 2026
The MOPD quickstart CLI example overrode the validation dataset path with
data.val.data_path, but the shipped recipe
(examples/configs/recipes/llm/mopd-qwen3-1.7b-3n8g-megatron-pack.yaml) keys
the validation block under data.validation. Verbatim copy-paste of the doc
command hits an OmegaConf 'key not found' error. Align the doc with the recipe.

Signed-off-by: Qiaochu Zhu <qiaochuz@nvidia.com>
@qiaochuz-nv
qiaochuz-nv force-pushed the qiaochuz/fix-mopd-doc-data-validation branch from 61c70be to d520e8b Compare July 1, 2026 05:45
@yuki-97 yuki-97 added the CI:docs Run doctest label Jul 1, 2026
@yuki-97

yuki-97 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

/ok to test d520e8b

@yuki-97
yuki-97 enabled auto-merge (squash) July 1, 2026 05:54
@yuki-97
yuki-97 merged commit 3f3eb44 into main Jul 1, 2026
44 checks passed
@yuki-97
yuki-97 deleted the qiaochuz/fix-mopd-doc-data-validation branch July 1, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:docs Run doctest Documentation Improvements or additions to documentation r0.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants