biondizzle
794ebaf7e5
P4: Fused RMSNorm + NVFP4 quantize kernel (2 launches vs 6+)
- fused_rmsnorm_quantize.cu: two-kernel approach
Kernel 1: rmsnorm_amax_gsa — compute RMS + amax of normalized output → gsa per row
Kernel 2: rmsnorm_quantize_nvfp4 — normalize + quantize using GPU-computed gsa
- Python bridge: rmsnorm_quantize_nvfp4() in ops/quantize.py
- Python bridge: dequantize_nvfp4() in ops/quantize.py
- Unit test: test_fused_rmsnorm_quantize.py (production shapes: 7168 hidden)
- Eliminates ~488 kernel launches per token (122 sites × 4 launches saved)
2026-06-02 16:26:24 +00:00
..
2026-05-21 17:30:44 +00:00
2026-05-27 15:15:03 +00:00
2026-06-01 00:04:48 +00:00
2026-05-21 17:30:44 +00:00
2026-06-02 16:26:24 +00:00
2026-06-02 09:06:36 +00:00
2026-05-31 09:17:36 +00:00
2026-06-01 00:00:07 +00:00
2026-05-21 21:54:05 +00:00
2026-05-21 17:30:44 +00:00