mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #898] [CLOSED] perf: Q8 resident adaptation (+24.5–28.2% rotation gain on RTX PRO 6000) #2903
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#2903
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/898
Author: @CC-David-CC
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:draft/q8-resident-adaptation📝 Commits (10+)
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)6a0d56c#136: the fused experts take a 512-slot streamed ring (a whole layer's experts) by default6172e4a#136 P3: with the fused experts the prompt path's MoE buffers hold only what the fused kernels needc2bf349#136: the fused experts take a 1024-slot streamed ring by default (two layers' experts)bbe3d2aDecode on thread-block clusters (sm_90+): the QSA top-k and the greedy argmax, the same ids and tokens3e5880d#136: the fused int8 prompt experts for the native IQ packs (gate/up IQ2_XXS IQ2_XS IQ2_S IQ3_XXS IQ3_S IQ4_XS, down Q2_0 IQ4_NL; opt-in STRATA_PF_FUSED=1)e5c2836Merge upstream main (0.1.35) into b70📄 Description
Draft integration: Q8 on RTX PRO 6000 Blackwell 96 GB, 32K input + 1K output, MTP T4, FP16 KV.
Rotation OFF → ON with async + duplex + per-layer admission fixed: 113.224 → 140.979 tok/s (+24.513%), reverse pair 111.568 → 142.975 (+28.151%). Both pairs have identical output IDs and recorded work. Full-request improvement is 2.88–3.19%; PCIe bytes unchanged, 18.0 GB host-copy payload removed.
Fresh upstream comparison: main + Q8 reader 106.1–106.8 tok/s → full stack 141.7–141.8 tok/s. The reader is required to load this Q8 PLE; the full configurations have different output/work trajectories. See the report for both paired results and full request times.
Depends on #864, #865 and Hardin22's #876 (author preserved) plus duplex/integration work. All flags opt-in; presets unchanged. Seven logical implementation commits. Three CUDA memcheck fixtures: zero errors; default-off parity and Q2 lifecycle checks passed. Broader Q8 state/cancellation/long-input coverage remains, so please keep this as a draft.
Full results, upstream TPS, limitations and history
Immutable evidence and token/work verifier
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.