Embedding lookup
Embedding table lookup: batch×seq integer ids gathered from a vocab×hidden weight.
Reported evidence · last observed 2024-09-03. Reported by source; not independently reproduced.
pip install "liger-kernel==0.2.1"Reported evidence · last observed 2024-09-03. Reported by source; not independently reproduced.
Fastest by languagepython · torch.compile · 39.7 µs · #1triton · Liger · 42.6 µs · 1.07×
Current records
Workloadseq = 512 · batch = 32 · vocab = 1024 · hidden = 768 · fp3216 cases
Not measured on H100, B200 for this workload. Challenges →
Estimated floor 1.61 µs · record 24.71× above itestimate, not evidence ›
1torch.compilePyTorch39.7µs1.00×Reported · BSD-3-Clause · source2024-09-03stale
4.20× faster than the baseline. Measured exactly what you asked. Reported by source; not independently reproduced.
2LigerLiger-Kernel42.6µs1.07×Reported · BSD-2-Clause · source2024-09-03stale
3.91× faster than the baseline. Measured exactly what you asked. Reported by source; not independently reproduced.
3166.7µs4.20×Reported · Apache-2.0 · source2024-09-03stale
Measured exactly what you asked. The source's designated baseline implementation. Reported by source; not independently reproduced.