← Wednesday, October 7, 2026Performance & OSDeep dive

FBTriton embedding kernels outperform legacy CUDA on sharded GPU workloads

pytorch.org 9 min read Editor score 7/10

The post describes Triton forward and backward kernels for table-batched embeddings, including a generic gather and a small-table histogram fast path; it reports outperforming legacy CUDA kernels. Kernel design for workloads spanning thousands of sharded GPUs is relevant to performance engineering.

What
FBTriton implements Table-Batched Embedding forward and backward kernels for embedding lookups across sharded GPUs.
How
The forward pass gathers rows, optionally weights them, and pools them; a specialized small-table path uses a histogram and tensor-core operations.
Why it matters
Reusing forward histogram counts cut combined latency by 16.8% on a large B200 configuration, while keeping forward and backward as separate launches.
saves uses applies forward histogram counts backward optimizer
Optional histogram reuse carries forward-pass counts into backward processing and the optimizer. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.