[Docs] Fix broken autorefs cross-reference in TurboQuant v2 docstring (#51857)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
co-authored by
Andreas Karatzas
parent
cc668c5b72
commit
b2ab096017
@@ -6,7 +6,7 @@ FLUTE-paper optimizations applied:
|
|||||||
1. Grouped Q heads: grid over (B, Hk, splits) instead of (B, Hq, splits).
|
1. Grouped Q heads: grid over (B, Hk, splits) instead of (B, Hq, splits).
|
||||||
Each program loads BLOCK_M Q heads sharing a KV head into a 2D tile,
|
Each program loads BLOCK_M Q heads sharing a KV head into a 2D tile,
|
||||||
enabling tl.dot on tensor cores (MFMA/WMMA) for both Q·K and P·V.
|
enabling tl.dot on tensor cores (MFMA/WMMA) for both Q·K and P·V.
|
||||||
2. Vectorized pair LUT: precompute pair_table[i][j] = (T[i], T[j])
|
2. Vectorized pair LUT: precompute `pair_table[i][j] = (T[i], T[j])`
|
||||||
offline. At runtime, extract adjacent index pairs and fetch two
|
offline. At runtime, extract adjacent index pairs and fetch two
|
||||||
dequantized centroids with a single gather, halving LUT lookups.
|
dequantized centroids with a single gather, halving LUT lookups.
|
||||||
3. exp2 instead of exp: scores pre-scaled by log2(e) so the hardware-
|
3. exp2 instead of exp: scores pre-scaled by log2(e) so the hardware-
|
||||||
|
|||||||
Reference in New Issue
Block a user