Skip to content

cp: Move TE cross entropy guard to training args (5162) into core_r0.18.0 - #5185

Merged
ko3n1g merged 3 commits into
core_r0.18.0from
cherry-pick-5162-core_r0.18.0
Jun 25, 2026
Merged

cp: Move TE cross entropy guard to training args (5162) into core_r0.18.0#5185
ko3n1g merged 3 commits into
core_r0.18.0from
cherry-pick-5162-core_r0.18.0

Conversation

@ko3n1g

@ko3n1g ko3n1g commented Jun 5, 2026

Copy link
Copy Markdown
Contributor
Claude summary

Background / motivation

Dependency — do not merge before #5144

What changed

  • megatron/core/model_parallel_config.py: TE cross-entropy assertUserWarning.
  • tests/unit_tests/test_model_parallel_config.py: warn-instead-of-raise test + DP-safe validate_args rejection test.

Details

mchrzanowski and others added 2 commits June 3, 2026 23:11
Co-authored-by: Mike Chrzanowski <mchrzanowski@gcp-nrt-cs-001-login-001.cm.cluster>
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
…r0.18.0`

Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
(cherry picked from commit b574499)
Signed-off-by: oliver könig <okoenig@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ko3n1g

ko3n1g commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 3f9ed1e

Base automatically changed from cherry-pick-5115-core_r0.18.0 to core_r0.18.0 June 25, 2026 09:28
@ko3n1g
ko3n1g marked this pull request as ready for review June 25, 2026 09:28
@ko3n1g
ko3n1g requested review from a team as code owners June 25, 2026 09:28
…162-core_r0.18.0

Resolve TE cross-entropy guard conflict: keep the soft warnings.warn in model_parallel_config.py (PR #5162); the hard reject now lives in validate_args. Tests updated to cover both.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jun 25, 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.

@ko3n1g

ko3n1g commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 004603b

@ko3n1g
ko3n1g merged commit d30c93f into core_r0.18.0 Jun 25, 2026
80 of 82 checks passed
@ko3n1g
ko3n1g deleted the cherry-pick-5162-core_r0.18.0 branch June 25, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants