diff --git a/docs/SYCL_PROGRESS.md b/docs/SYCL_PROGRESS.md index 9d50ce5c..8303d7f4 100644 --- a/docs/SYCL_PROGRESS.md +++ b/docs/SYCL_PROGRESS.md @@ -12,7 +12,7 @@ from it alone. | 1 codebase study, `SYCL_PORTING.md` | done (`docs/SYCL_PORTING.md` §1-§3, Appendix A) | | 2 design | done: device backend, build integration, core kernels (`device_test_sycl` on the B65) | | 3 correctness-first kernels | **Milestone A reached 2026-10-23** (`874f8d2`): MiniCPM5-2B bf16 serves on the B65, greedy-identical to the libref host backend; Milestone B next | -| 4 performance | MiniCPM5-2B bf16: decode 4.2 -> 51.8 tok/s, prefill 17 -> 1576 tok/s (`b07da2a`); Qwen3.8-27B-PARO-M2XFP4 (the model from 2026-10-23): 0.1 -> 52.0 tok/s decode on BetterBench with the DFlash2 drafter (`68d510b`), prefill 356 tok/s at 2000 tokens ( vLLM-SYCL's reference ~90 / ~1200), in progress | +| 4 performance | MiniCPM5-2B bf16: decode 4.2 -> 51.8 tok/s, prefill 17 -> 1576 tok/s (`b07da2a`); Qwen3.8-27B-PARO-M2XFP4 (the model from 2026-10-23): 0.1 -> 52.0 tok/s decode on BetterBench with the DFlash2 drafter (`68d510b`), prefill 356 tok/s at 2000 tokens (vLLM-SYCL's reference ~90 / ~1200), in progress | | 5 broaden and finish | not started | ## Open blockers / questions for the user @@ -844,6 +844,15 @@ sub-group a (row, group) instead, as gated_quant_fp8 already did: 8.0 us, rel_l2 - *A deeper draft window*: BetterBench quick decode at `--num-speculative-tokens` 7 (the drafter's own operating point): 51.0 tok/s; 15 (16 verify rows): 29.5; 11: refused by the architecture at declare. Depth 7 stays. +- *givens_dense_quant's decode form* (probe gv.cpp, the libxe2 kernel copied, codes compared + bytewise): cold tables (rotated over 32 copies), M = 8: 11.0 us at n = 5120 one part, 14.2 two, + 18.5 at n = 17408 (190-240 GB/s on T), against ~21 us a call in the round. Stall sampling: 40% + scoreboard waits, most on the local-memory load of each k-step's A slice ahead of its DPAS. + T's loads issued first (+3%), x loaded by type before the stores (+10%), fp8 stored by type + (+10%), T repacked so a sub-group's step is 512 contiguous bytes (-5%), every step's A and T + loaded before the DPAS chain (+40%, register pressure): none worth a layout hook. At ~80-136 + work-groups the kernel is its own short chain; fewer launches (fusing it with its producer or the + GEMM's prepass) is what would move it. - Stall sampling of the server stays empty on SIGTERM too (the metrics file is written but empty); rad-kbench has no recipe on this container for givens_dense_quant or the gdn ops, so those need probes of their own.