Fused linear + SimPO loss
SimPO preference loss over batch×seq×hidden activations projected through a vocab×hidden LM head against integer targets, computed chunked without materializing logits.
Reported evidence · last observed 2024-11-15. Reported by source; not independently reproduced.
pip install "liger-kernel==0.4.1"Reported evidence · last observed 2024-11-15. The source's designated baseline implementation. Reported by source; not independently reproduced.
Fastest by languagepython · Transformers · 14.5 ms · #1triton · Liger · 30.3 ms · 2.09×
Current records
Not measured on H100, B200 for this workload. Challenges →
Estimated floor 523.5 µs · record 27.72× above itestimate, not evidence ›
114.5ms1.00×Reported · Apache-2.0 · source2024-11-15stale
Measured exactly what you asked. The source's designated baseline implementation. Reported by source; not independently reproduced.
2LigerLiger-Kernel30.3ms2.09×Reported · BSD-2-Clause · source2024-11-15stale
2.09× slower than the baseline. Measured exactly what you asked. Reported by source; not independently reproduced.