moe-32L-d512-1e18-a100

32-layer compute-optimal checkpoint for Sparse Layers are Critical to Scaling Looped Language Models (arXiv:2605.09165).

architecture moe
d_model 512
effective layers 32
experts 8 total, 2 active
compute budget 1e18 FLOPs
training hardware A100-80GB
training steps 65,960
parameters (stored) 361,972,736
peak LR 0.005
batch size 16
muP width_ratio 2.0 (d_base=256)
final val loss n/a

This width is the architecture's own measured A100 minimum on the 1e18 isoFLOP sweep. Architectures optimise at different widths; at fixed compute a wider model simply trains on fewer tokens (C = 6·N_act·D), so this is the best that architecture does with the budget. Do not compare these against the B200 repos (base-32L-d512-1e18, looped-16x2-d640-1e18, looped-moe-16x2-d512-1e18) — same widths, different hardware.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained(
    "ml-ryanlee/moe-32L-d512-1e18-a100", trust_remote_code=True)
tok = AutoTokenizer.from_pretrained("gpt2")

Pass max_length=1024 when evaluating — the RoPE buffer is sized to the training context.

Downloads last month
53
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for ml-ryanlee/moe-32L-d512-1e18-a100