Skip to content

docs(strix): basal-2.0 --mode strix reproduced on a second Strix Halo (ROG Flow Z13, 32 GB) - #21

Merged
rkinas merged 1 commit into
rkinas:mainfrom
piotrkowski:docs/strix-second-machine
Oct 20, 2026
Merged

rkinas merged 1 commit into
rkinas:mainfrom
piotrkowski:docs/strix-second-machine

Conversation

@piotrkowski

@piotrkowski piotrkowski commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

A reproduction of the basal-2.0 --mode strix results (#14) on a second Strix Halo, with @kardysm's scripts unchanged. Docs only: a short section in docs/benchmarks/STRIX_HALO.md and one bullet in docs/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, balanced profile), with the same PyTorch / ROCm / Triton / llama.cpp versions and model files as #14.

  • Same answers: the strix edge cases are bit-identical to @kardysm's run, and both engines get 142/144 decisions against his fp32 reference.
  • Close speed-up: gguf → strix is 1.05–1.70× here, against 0.94–1.81× on his machine, and 1.56× with 32 clients.
  • Slower overall: both engines take 1.4–1.7× as long, because the tablet runs at ~50 W instead of ~140–160 W.
  • For @kardysm: on both machines, the first timed pass of S-q1 and M-q2 in the matrix is a one-off strix stall that inflates their p50. I did not look into the cause.

Not measured: the performance profile, 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:

  • Document benchmark results for basal-2.0 --mode strix reproduced on a second Strix Halo device, showing matching decisions and comparable speed-ups with slower absolute performance at lower power.

Documentation:

  • Update Strix Halo and hardware benchmark documentation with the ROG Flow Z13 configuration, results, limitations, and links to raw data.

@sourcery-ai

sourcery-ai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This 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

Change Details Files
Adds a documented reproduction of the basal-2.0 --mode strix benchmark on a second Strix Halo system.
  • Documents the ROG Flow Z13 hardware, software versions, benchmark provenance, models, and raw-result location.
  • Reports cross-machine answer agreement, fp32 decision comparisons, edge-case validation, and test results.
  • Adds interleaved A/B latency, throughput, speed-up, power/thermal, memory, startup, and matrix observations, including a noted one-off stall.
  • Adds a comparison table covering request sizes and concurrency.
docs/benchmarks/STRIX_HALO.md
Updates Strix Halo hardware documentation to distinguish the original measurements from the second-machine reproduction.
  • Qualifies the benchmark attribution and reproduction status.
  • Adds a concise ROG Flow Z13 result summary with performance and accuracy highlights.
  • Links to the detailed second-machine benchmark section.
docs/HARDWARE.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@piotrkowski
piotrkowski force-pushed the docs/strix-second-machine branch from 716b973 to 257d555 Compare October 19, 2026 15:51
@rkinas
rkinas merged commit 36b063a into rkinas:main Oct 20, 2026
1 check passed
@rkinas

rkinas commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Thanks! Merged for basal 2.3.1. A second Strix Halo with bit-identical edge cases and a similar speed-up makes --mode strix much more credible, and the note about the first-pass stall is useful for @kardysm. You are credited in the 2.3.1 release notes.

rkinas added a commit that referenced this pull request Oct 20, 2026
rkinas added a commit that referenced this pull request Oct 21, 2026
…) into 2.3.1

# Conflicts:
#	docs/WHATS_NEW.md
@kardysm

kardysm commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

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 ~/.triton/cache. Your M-q20 pass 0 (960 vs ~750 ms) is the same effect: the first row over 1,536 tokens needs a new qkv copy.

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).

rkinas pushed a commit that referenced this pull request Nov 2, 2026
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]>
rkinas added a commit that referenced this pull request Nov 2, 2026
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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants