Skip to content

PP refusal tests: an uncarried MoE now splits with its router aux loss off (gloo-pp red since #18165) - #18184

Merged
danielhanchen merged 1 commit into
mainfrom
ci-pp-moe-refusal-tests-follow-18165
Nov 17, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci-pp-moe-refusal-tests-follow-18165

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Repo tests (CPU, gloo-pp) fails on main since #18165 (seen on the staging run of #18168, an audio.cpp installer change, and on #18165's own run):

tests/test_pp_env_gloo.py: test_pp_env_layout_and_refusals
E   assert ('mixture-of-experts' in ((None or '')))
tests/test_pp_native_gloo.py: test_pp2_refusals
E   assert 'mixture-of-experts' in ((None or ''))

Cause

#18165 changed what pipeline parallel accepts: a mixture-of-experts model whose router aux loss pp does not carry between stages now splits and trains with that loss off, and is refused only once the loss is turned on (in the stage forward, and at Trainer init when TRL or the config turns it on). Its new tests/test_pp_moe_aux_off_gloo.py covers both halves, including test_pp2_uncarried_moe_with_aux_on_stays_refused. The two older refusal tests still expected every such load (OLMoE in test_pp2_refusals, the tiny MoE in test_pp_env_layout_and_refusals, both with the aux loss off by default) to be refused.

The behaviour change is intended; the tests predate it.

Fix

Both assertions now expect the load to go through (None), with a comment pointing at the aux-on refusal coverage in test_pp_moe_aux_off_gloo.py. The other refusals in both tests (MLA, tied trainable embeddings, unsupported trainer options, ...) are unchanged.

Verification

  • main: both tests fail as above.
  • this branch: the two tests plus tests/test_pp_moe_aux_off_gloo.py: 23 passed.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T17:29:54.989525Z d2e3022 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: d2e30222a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit a891b6b into main Nov 17, 2026
@danielhanchen
danielhanchen deleted the ci-pp-moe-refusal-tests-follow-18165 branch November 17, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant