1. Python fn
@jax.jitlayer(x, w, b, s)
→
2. JAX trace
Abstract graphbf16[512, 512]
→
3. StableHLO
Portable IRdot · add · tanh
→
4. XLA compiler
Target: TPUop-fusion kernel
Under the hood — compiler inspector
Unfused (baseline)
MatMul
⇅ HBM
→
+ bias
⇅ HBM
→
GELU
⇅ HBM
→
× scale
⇅ HBM
HBM — off-chip memory
HBM trips
0
Data
0.0MB
Intensity
0F/B
waiting
Fused (XLA optimized)
1 fused kernel · VMEM
MatMul
↑ in
+ bias
VMEM
GELU
VMEM
× scale
↓ out
HBM — off-chip memory
HBM trips
0
Data
0.0MB
Intensity
0F/B
waiting
Press Step: parse Python to walk the compile pipeline one stage at a time (or Auto-compile to run it through), inspecting the real jaxpr, StableHLO and fused HLO. The fused column unlocks once compilation finishes.