ViperEkura
15862d4b56
perf: fuse fp8 linear fwd and bwd into single kernel calls
- fp8_linear_forward: cast + cublasLt GEMM + transpose + bias in one call
- fp8_linear_backward: scale-free, dtype derived from input tensor
- drops per-op Python dispatch (was ~6-8 launches per linear) and amax syncs
- 1024x1024 linear: 6.8x slow -> 0.67x (36.7us vs 24.8us bf16)
- small-model e2e still 1.71x slow; 15bt estimate ~0.78x (linear-heavy)
2026-08-14 01:24:37 +08:00
..
2026-08-09 23:12:53 +08:00
2026-08-09 20:23:58 +08:00
2026-08-09 20:52:06 +08:00
2026-08-09 20:52:06 +08:00
2026-08-09 23:12:53 +08:00
2026-08-09 23:12:53 +08:00
2026-08-10 08:40:18 +08:00
2026-08-09 20:23:58 +08:00
2026-08-09 20:52:06 +08:00
2026-08-09 23:12:53 +08:00
2026-08-10 08:40:18 +08:00
2026-08-10 08:40:18 +08:00
2026-08-09 20:52:06 +08:00
2026-07-27 00:35:34 +08:00
2026-08-14 01:24:37 +08:00
2026-08-02 13:20:14 +08:00