Skip to content

[graph_trainer] Re-baseline eager bitwise hashes (Llama3Flex, Qwen3 MoE) - #3484

Merged
SherlockNoMad merged 1 commit into
mainfrom
bahuang/rebaseline-eager-bitwise-hashes
Jun 2, 2026
Merged

SherlockNoMad merged 1 commit into
mainfrom
bahuang/rebaseline-eager-bitwise-hashes

Conversation

@SherlockNoMad

@SherlockNoMad SherlockNoMad commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

test_eager_self_deterministic baselines for Llama3 FlexAttention, Qwen3 MoE, and Qwen3 MoE FlexAttention drifted after upstream PyTorch nightly numerics changes — the same class of drift #3432/#3482 already handled for DSv3. The H100.8 CI was red on these three.

This is the pure-eager path (base Trainer, no compile/trace):

  • Loss strings are unchanged → low-order numeric drift, not a real break.
  • test_aot_fx_trace_vs_eager still passes → the trace path stays bitwise-identical to eager; only the absolute model_hash/grad_hash baselines were stale.

How the new hashes were obtained

  • Qwen3 MoE / Qwen3 MoE FlexAttn: regenerated on a local H100 and verified bitwise-equal to the CI nightly (cu130) model_hash, so their grad_hash is authoritative.
  • Llama3 FlexAttn: local (CUDA 12.8) diverges from CI (cu130) for this flex path, so both hashes were taken from the CI run.

Validation

GraphTrainer 8-GPU H100 CI green on this branch: bitwise suite 21 passed, 3 skipped (the 3 skips are the pre-existing FlexAttn-precompile tests). Loss strings untouched.

Note (separate issue): one earlier run on this branch hit a flaky qwen3_moe FSDP+TP+EP all-to-all crash (RuntimeError: Split sizes doesn't match total dim 0 size) — intermittent, unrelated to this test-only change (the prior main run on #3429 passed that flavor and failed only on these same stale hashes). Worth a separate look.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 2, 2026
@SherlockNoMad SherlockNoMad added the ciflow/h100.8 Trigger H100.8 CI label Jun 2, 2026
The test_eager_self_deterministic baselines for Llama3 FlexAttention,
Qwen3 MoE, and Qwen3 MoE FlexAttention drifted after upstream PyTorch
nightly numerics changes -- the same class of drift #3432/#3482 handled
for DSv3. This is the pure-eager path (base Trainer, no compile): the
loss strings are unchanged; only model_hash/grad_hash moved in low-order
bits. test_aot_fx_trace_vs_eager still passes, so the trace path stays
bitwise-identical to eager; only the absolute baselines were stale.

All six hashes (three classes) regenerated on H100 against the CI
nightly (cu130).
@SherlockNoMad
SherlockNoMad force-pushed the bahuang/rebaseline-eager-bitwise-hashes branch from c97c86b to cc79882 Compare June 2, 2026 18:10
@SherlockNoMad
SherlockNoMad merged commit d6ced46 into main Jun 2, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/h100.8 Trigger H100.8 CI ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants