Fused linear + JSD
Student and teacher tokens×hidden activations projected through separate vocab×hidden heads fused with generalized JSD (beta 0.5, batchmean) between the resulting log-distributions.
Reported evidence · last observed 2024-10-09. Reported by source; not independently reproduced.
pip install "liger-kernel==0.3.1"Reported evidence · last observed 2024-10-09. The source's designated baseline implementation. Reported by source; not independently reproduced.
Fastest by languagepython · PyTorch · 9.56 ms · #1triton · Liger · 110.0 ms · 11.51×
Current records
Not measured on B200 for this workload. Challenges →
Estimated floor 632.3 µs · record 15.12× above itestimate, not evidence ›
1PyTorchbaseline9.56ms1.00×Reported · BSD-3-Clause · source2024-10-09stale
Measured exactly what you asked. The source's designated baseline implementation. Reported by source; not independently reproduced.
2LigerLiger-Kernel110.0ms11.51×Reported · BSD-2-Clause · source2024-10-09stale
11.51× slower than the baseline. Measured exactly what you asked. Reported by source; not independently reproduced.