Niko1221
5a30c2c4e8
Images (I2): NVIDIA mma.sync flash attention for the native runner, fused q/k/v GEMM
...
- k_attn_mma (sm_80+): m16n8k16 f16 -> f32, 8 warps x 16 queries, 64-key K/V tiles double-buffered with
cp.async, ldmatrix (.trans for V), fp32 online softmax. Bench on the RTX 3060 at 4096 x 4150 keys x 32
heads: 23.7 TFLOPS vs ggml's flash_attn_ext_f16 15.4 (0.376 vs 0.577 s/step); CPU check 7e-5.
STRATA_QI_GGML_ATTN=1 keeps ggml's.
- q, k and v of a block with one weight type load into one [3C x C] tensor: one GEMM and one activation
quantize instead of three (STRATA_QI_NO_QKV_FUSE=1 keeps three).
- A float4 LayerNorm path with tanh(gate) once per step, off by default (STRATA_QI_FAST_LN=1): no measured gain.
RTX 3060, Q8_0 1024, seed 42, 3 interleaved rounds: steady step 2.09 s vs stock 2.61 (1.25x), denoise
17.93 s vs 22.13 (1.23x).
2026-10-13 05:53:21 +02:00
..
2026-10-07 20:32:04 +02:00
2026-10-13 05:53:21 +02:00
2026-10-06 15:57:38 +02:00
2026-09-27 10:18:14 +02:00
2026-10-07 20:42:39 +02:00
2026-10-09 15:23:32 +02:00
2026-10-09 11:51:43 +02:00
2026-10-04 02:38:16 +02:00
2026-10-07 02:33:42 +02:00
2026-10-07 04:07:42 +02:00
2026-10-08 09:56:13 +02:00
2026-10-09 10:01:59 +02:00
2026-09-24 18:42:20 +02:00
2026-10-07 20:23:53 +02:00
2026-10-11 07:58:34 +02:00
2026-09-30 17:52:12 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-10-03 19:29:26 +02:00
2026-10-03 18:19:49 +02:00
2026-10-03 08:04:53 +02:00
2026-10-01 08:46:48 +02:00
2026-09-24 18:42:20 +02:00
2026-09-24 18:42:20 +02:00
2026-10-10 18:49:32 +02:00
2026-09-30 20:36:29 +02:00
2026-10-05 15:58:35 +02:00
2026-10-09 15:21:30 +02:00
2026-10-09 15:21:29 +02:00
2026-10-11 07:58:34 +02:00
2026-10-05 19:57:36 +02:00
2026-10-06 15:57:38 +02:00
2026-09-24 18:42:20 +02:00
2026-09-27 10:18:14 +02:00
2026-09-28 14:53:30 +02:00
2026-09-24 18:42:20 +02:00
2026-09-27 10:18:14 +02:00
2026-10-03 18:14:59 +02:00
2026-10-01 10:31:23 +02:00
2026-10-06 15:57:38 +02:00
2026-10-09 21:09:03 +02:00
2026-10-07 00:01:12 +02:00
2026-10-07 21:07:59 +02:00
2026-10-09 10:30:16 +02:00
2026-10-06 14:58:47 +02:00
2026-10-09 03:06:46 +02:00
2026-10-06 16:35:09 +02:00
2026-10-12 14:21:19 +02:00
2026-10-06 15:57:38 +02:00
2026-10-09 15:15:53 +02:00
2026-10-07 03:02:55 +02:00
2026-10-09 03:04:21 +02:00
2026-10-07 04:07:42 +02:00
2026-10-07 20:37:56 +02:00
2026-10-07 20:23:53 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:46 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:31:45 +02:00
2026-09-30 16:31:44 +02:00
2026-10-03 19:29:26 +02:00
2026-10-07 17:34:36 +02:00
2026-10-09 03:21:46 +02:00
2026-10-03 18:19:49 +02:00
2026-10-10 11:11:20 +02:00
2026-10-05 15:58:35 +02:00
2026-10-11 08:25:30 +02:00
2026-10-03 18:14:52 +02:00
2026-10-01 08:28:45 +02:00
2026-10-13 01:07:28 +02:00
2026-10-07 00:01:12 +02:00
2026-10-07 16:14:03 +02:00
2026-10-05 21:44:09 +02:00
2026-10-12 10:39:47 +02:00
2026-10-08 02:31:56 +02:00
2026-10-05 15:58:36 +02:00
2026-10-05 15:58:35 +02:00
2026-10-03 18:19:49 +02:00
2026-10-07 11:42:58 +02:00
2026-10-07 20:46:11 +02:00
2026-10-08 02:28:41 +02:00
2026-10-05 22:46:53 +02:00
2026-10-12 02:12:36 +02:00
2026-10-05 15:58:36 +02:00
2026-10-10 11:04:37 +02:00
2026-10-01 21:03:56 +02:00
2026-10-06 15:57:38 +02:00
2026-10-03 23:35:52 +02:00
2026-10-06 15:57:39 +02:00
2026-10-09 15:16:03 +02:00
2026-10-04 03:36:22 +02:00
2026-10-06 15:57:38 +02:00
2026-10-07 11:42:03 +02:00
2026-10-01 20:46:19 +02:00
2026-10-08 10:03:44 +02:00
2026-10-09 15:22:14 +02:00
2026-10-07 03:57:38 +02:00
2026-10-07 03:57:38 +02:00
2026-09-30 16:31:31 +02:00
2026-10-12 09:46:02 +02:00
2026-10-09 03:15:12 +02:00
2026-10-07 16:14:03 +02:00
2026-10-11 08:25:30 +02:00
2026-10-10 10:42:55 +02:00
2026-10-09 03:15:12 +02:00
2026-10-03 01:58:25 +02:00
2026-10-07 03:02:55 +02:00
2026-10-12 14:21:19 +02:00
2026-10-06 15:57:38 +02:00
2026-10-09 15:15:53 +02:00
2026-10-09 03:04:21 +02:00
2026-10-09 03:04:21 +02:00