mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2208] [CLOSED] docs/STRIX_HALO.md: STRATA_PF_SWITCH_MIN_T compares the chunk, not the prompt (a 4K chat request reads a 4,089-token chunk); 2048 puts it on the switches #3925
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3925
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2208
Author: @libratechw
Created: 10/13/2026
Status: ❌ Closed
Base:
main← Head:pr/strix-switch-min-t-note📝 Commits (1)
98f22e9docs/STRIX_HALO.md: STRATA_PF_SWITCH_MIN_T compares the chunk, not the prompt (a 4K chat request reads a 4,089-token chunk); 2048 puts it on the switches📊 Changes
1 file changed (+20 additions, -2 deletions)
View changed files
📝
docs/STRIX_HALO.md(+20 -2)📄 Description
Title
Issue: #2021 (the note only; the recipe value is still open there)
Summary
Section 5 of
docs/STRIX_HALO.mdsetsSTRATA_PF_SWITCH_MIN_T=4096, but the threshold is compared with the length of the promptchunk. A 4,096-token
--servechat request ("4K", reasoning off, prompt cache on) is read as a chunk of 4,089 tokens, so itstays under 4096 and the switches the variable gates (
STRATA_PF_GEMM,STRATA_PA_FASTand the hyper-connection and paddingswitches) are off for it. This adds the note asked for in #2021, with the first-token KL against the default engine at 2048 and
at 4096.
What changed
docs/STRIX_HALO.md, section 5: after the export block, one paragraph and a two-row table; and the section's later line thatsaid the variable gates only the hyper-connection and padding switches now names
STRATA_PF_GEMMandSTRATA_PA_FASTas well(
gemm.cuandqsa_prompt_attn.curead it too). No code and no default changes.Ryzen AI Max+ 395 (gfx1151, ROCm 7.14.1), on
296b59d2, UD-Q4_K_XL with the section-5 switches andSTRATA_PF_FUSED_KQ=1, a 4Kchat request (reasoning off, prompt cache on), interleaved pairs of fresh servers, prompt tok/s:
STRATA_PF_SWITCH_MIN_TThe step between 4090 and 4089 places the chunk at 4,089 tokens. First-token KL against the default engine (no section-5
switches; the arms have them, UD-Q4_K_XL also
STRATA_PF_FUSED_KQ=1), 8 natural-text chat requests of 1.5K, 2,048, 3K,4,095, 4,096, 4.5K, 6K and 8K tokens, mean (max); the top token is the default's in all 8 at both values:
Extra Notes
The KL values posted in #2021 (UD-IQ4_XS 0.0168 / 0.0154, UD-Q4_K_XL 0.0026 / 0.0023, top token 7 of 8) were measured on an
older build (
7695859a, with an unrelated opt-in change left off), with the prompts built from that checkout's docs and sources;the 1.5K and 2,048-token ones are the same texts and give the same values, the other six differ. Those here are of
296b59d2.The KL for 4095 asked for in #2021 is that of 4096: with the prompt cache on, none of the 8 requests reads a chunk of 4,095
tokens, so the two values put the same prompts on the switches.
Whether to change the recipe's 4096 is left to #2021. The header length depends on the template and the reasoning mode, so the
7-token offset can differ for other requests; the note says to set the value at or below the chunk of the shortest prompt wanted.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.