P100 kernel patches
by Junk GPU Lab · Technique · Text & code
A method of writing faster low-level GPU code for 2-bit weight decoding on Tesla P100 cards, increasing the speed of local text generation.
Latest · Nov 6A new 2-bit decode kernel using 16-byte loads and exact fp16 math lifted P100 speed from 28.9 to 36.2 tok/s; patches are unpublished.
Evidence
- Nov 6Enabling the fork's fused Hadamard-quantize path removed 401 kernel launches per token and gave 37.3 tok/s on the P100.Hands-on test
Junk GPU Lab
Alternatives
Works with