mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#2911
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/910
Author: @Hardin22
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:pr/pipe-team📝 Commits (10+)
d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it57bd713sycl: pipeline the expert cache's profile fill (model load 3-4x faster)e3bdd74A prompt cancelled mid-read is logged and recorded with the tokens it read (#471)f2aaba1"The draft head does not fit" says what to change (#474)64987c8UPDATE.bat / update.sh: update Strata without starting the model (#475)6d0e648Opt-in: keep what the expert cache learned across restarts (--expert-profile-save, #477)5ccf3a7Engine 0.1.36: a cancelled prompt logged as read so far (#471), the draft-head hint (#474), UPDATE.bat (#475), --expert-profile-save (#477); setup requires itb750bbc#136: fused int8 tensor-core experts for the Q2_0 pack's prompt path, grouped on the GPU (opt-in STRATA_PF_FUSED=1)📊 Changes
1 file changed (+2 additions, -6 deletions)
View changed files
📝
src/kernels/cuda/qsa_decode_attn.cu(+2 -6)📄 Description
Stacked on #905 (and through it on #859 and #876). Only the last two commits are new.
These are the last pieces of the two-GPU work. With them, main reaches what our fork does on the same PC.
Decode attention: a merge bounded by the selection width (
STRATA_ATTN_MERGE_V2=1, opt-in since9d27f7e: bitwise the same, but not yet measured apart from the other switches).attn_merge_paritychecks 768 cases (fp16 / int8 / q4_0 / k8v4 KV) on an RTX 5080 and an RTX 4060 Ti.Same commit:
STRATA_MTP_KV=f16(opt-in), the draft layer's KV in f16. It changes only the drafts, never the verified tokens, and costs ~230 MiB of VRAM.Pipelined decode (opt-in switches, only inside
--pipeline-windows):STRATA_PL_PLE_PREFETCHreads the next window's PLE rows ahead, as the chain's outputs land.STRATA_PL_PLE_LATEgives each stage-0 window its own read handle, soservicenever blocks on another window's reads. Layer 0's experts are served while its flag waits for the rows.STRATA_PL_EARLY_CHAINlaunches the chain before the verdict's bookkeeping.The serial loop,
run()and the batch windows are unchanged.Measured
Same setup as #905: 4060 Ti + 5080 split, resident RAM mode (#848),
--pipeline-windows 2 --adapt-async 1,--trim-stage-weights, Swift 1.5 IQ3_XXS at 160K (q4_0 KV). Greedy, five prompts × two rounds, decode tok/s:STRATA_ATTN_MERGE_V2=0, nothing else set)STRATA_PL_PLE_PREFETCH=1 STRATA_PL_PLE_LATE=1 STRATA_PL_EARLY_CHAIN=1 STRATA_MTP_KV=f16, merge v2 by default)That is +12%; I have not split it per switch. For reference, our fork on the same prompts measured 131.7 and 133.7, so the stack is at parity with it.
Checks
STRATA_IQ_MT_MIN=1 --pcie-frac 0 --adapt-every 0, blocking tier).STRATA_PIPELINE_FORCE_MISS=2, 11 varied requests gave no degenerate answer and no stall.The whole two-GPU stack, on this PC
RTX 4060 Ti 16 GB + RTX 5080 16 GB, i9-14900KF, 32 GB of RAM, Swift 1.5 IQ3_XXS at 160K:
--mmap-expertsonce the file cache is warm)--trim-stage-weightsThe last two rows use a fine-tuned draft layer,
--spec-min-p 0.65and Windows power throttling off; the rows above them use the stock draft layer. So read this table as an outline. Each PR has its own A/B with the same settings on both sides.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.