Repository navigation
docs(strix): basal-2.0 --mode strix reproduced on a second Strix Halo (ROG Flow Z13, 32 GB) - #21
Conversation
Reviewer's GuideThis documentation-only PR records a reproduction of the basal-2.0 Strix benchmark on a 32 GB ROG Flow Z13 using the existing scripts, showing matching decisions and broadly similar speed-ups at lower absolute performance, and updates the hardware overview to identify and link the second-machine results. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…same answers, close speed-up
716b973 to
257d555
Compare
|
Thanks! Merged for basal 2.3.1. A second Strix Halo with bit-identical edge cases and a similar speed-up makes |
|
edit: I still need to verify final results. Went too broad with allowing claude to push to remote ;) @piotrkowski thanks for flagging it. I found the cause of the S-q1 / M-q2 stall. Triton compiles a separate copy of each kernel per class of its integer arguments (1, a multiple of 16, other). The timed passes put a marker in front of the state, and S-q1 pass 1 (208 tokens = 13×16) and M-q2 pass 1 (720 = 45×16) are the first rows that are multiples of 16 in their tile-config ranges, so they compile 7 and 5 new kernel copies mid-request. Pass 2 has the same length and reuses them. The lengths depend only on the tokenizer and the scripts, which is why it's the same two shapes on both machines. The size of the stall depends on what the machine's Triton cache already holds: ~0.2–0.3 s per compiled copy, ~1 ms per copy loaded from Fix: the start-up now compiles every copy a request can need (50c7d5c, docs in c7d3818; compare). On the 8060S with an empty Triton cache, the old code compiled 18 copies during the matrix (S-q1 pass 1 1.82 s against 0.18 s); the fix compiles none, for +0.9 s of start-up (8.8 against 7.9 s with a filled cache). |
Triton compiles a kernel once per tile config and per class of each integer argument (1, a multiple of 16, other), and the row count picks both. The start-up warm-up ran two lengths only, so the first request whose length was a multiple of 16 in a tile-config range waited for new copies: in the request matrix the first timed pass of S with 1 question (208 tokens) and of M with 2 (720 tokens), on both machines of #14 / #21. The warm-up now runs the projections on zero rows of every range and class (one row: the last row chunk of qkv / o, one readout row) and six short forwards for attention and rotary (lengths other / multiple of 16 against readout rows 1 / other / 16). Kernels are unchanged. basal-2.0 on the 8060S, request matrix: the old code compiled 18 copies during the matrix (empty Triton cache: S-q1 pass 1 1.82 s against 0.18 s), now none. Start-up 8.8 s against 7.9 s with a filled Triton cache, 18.7 against 13.8 s at the first start on a machine. test_warmup_compiles_every_kernel_copy: no row count (20-5000 rows, 1-528 readout rows) compiles a kernel after the warm-up; it fails without it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The short README drops its sections for 2.4.1 back to 2.0 and its previous-releases text. What they had and WHATS_NEW.md did not moves here: the 2.4.1 H100 start-up numbers, the 2.3.x community credits for #18, #21, #24 and #25, the precise 2.3 eager baselines, the 2.2 calibration summary and example, the release-note links for 2.1 to 2.3, and basal-1.5 / basal-1.0 under 'Previous releases'.
A reproduction of the basal-2.0
--mode strixresults (#14) on a second Strix Halo, with @kardysm's scripts unchanged. Docs only: a short section indocs/benchmarks/STRIX_HALO.mdand one bullet indocs/HARDWARE.md. Raw results and the wrapper scripts are in my fork:strix-z13-results.Machine: ASUS ROG Flow Z13 (Ryzen AI Max+ 395, Radeon 8060S, 32 GB,
balancedprofile), with the same PyTorch / ROCm / Triton / llama.cpp versions and model files as #14.strixedge cases are bit-identical to @kardysm's run, and both engines get 142/144 decisions against his fp32 reference.gguf→strixis 1.05–1.70× here, against 0.94–1.81× on his machine, and 1.56× with 32 clients.S-q1andM-q2in the matrix is a one-offstrixstall that inflates their p50. I did not look into the cause.Not measured: the
performanceprofile, basal-1.5, and basal-2.0-max (its bf16 weights pass through RAM while loading, and this machine has 27 GB visible to the OS).Summary by Sourcery
Document a second-machine reproduction of the basal-2.0 Strix benchmark results on a 32 GB ROG Flow Z13.
Enhancements:
--mode strixreproduced on a second Strix Halo device, showing matching decisions and comparable speed-ups with slower absolute performance at lower power.Documentation: