Skip to content

Conversation

@danielvegamyhre
Copy link
Contributor

@danielvegamyhre danielvegamyhre commented Oct 16, 2025

Force expert load balancing to simulate steady state MoE training (after early steps load balancing stabilizes).

New benchamarks:

Llama4 16e:

CUDA_VISIBLE_DEVICES=7 python benchmarks/prototype/moe_training/bench_moe_layer.py --recipe mxfp8 --local_num_
experts 1 --seq_len 8192 --local_batch_size 16 --hidden_dim 8192 --dim 5120
total_M: 131072, N: 8192, K: 5120
bf16 time: 252.799 ms
mxfp8 time: 185.525 ms
speedup: 1.363x

DSV3 671b:

CUDA_VISIBLE_DEVICES=7 python benchmarks/prototype/moe_training/bench_moe_layer.py --recipe mxfp8 --local_num_experts 1 --seq_len 8192 --local_batch_size 16 --hidden_dim 2048 --dim 7168
total_M: 131072, N: 2048, K: 7168
bf16 time: 96.285 ms
mxfp8 time: 83.764 ms
speedup: 1.149x

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 16, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3193

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 8740a0f with merge base b644211 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 16, 2025
@danielvegamyhre danielvegamyhre added mx topic: not user facing Use this tag if you don't want this PR to show up in release notes moe labels Oct 16, 2025
@danielvegamyhre danielvegamyhre merged commit 4b79f9e into main Oct 17, 2025
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. moe mx topic: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants