Repository navigation
cpu pool: a native layer's gate/up and down rows as one batch (STRATA_POOL_FUSED=1, opt-in) - #16
Merged
Merged
Conversation
This was referenced Oct 12, 2026
Closed
…_POOL_FUSED=1, opt-in) After Hardin22/Strata-DualGPU 11b1f25 (run_fused_native): every expert's gate/up parts, then every expert's down parts in one phase; the thread that finishes an expert's last gate/up part quantizes its h, and the expert's down parts wait for it. No barrier between the halves and no serial quantization on the host in between. The second GPU's submit still runs when the phase opens. Same bytes; the two-phase path is unchanged and stays the default (modes 5 and 6 now call the same per-expert helpers). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Thank you: merged into (Measured on a Ryzen 7 9700X, 160 GB DDR5-5600, RTX 3090 + RTX 5070 Ti as the second expert tier, Windows 11; IQ3_S and UD-Q4_K_XL with this branch's configs, fixed text through |
eddoursul
added a commit
that referenced
this pull request
Oct 12, 2026
…e/up and down rows as one phase (STRATA_POOL_FUSED=1, opt-in)
txiki739
added a commit
to txiki739/Strata3090-5060TI
that referenced
this pull request
Oct 13, 2026
…ts of this machine This branch is now eddoursul's `custom` (c4bcb6e: upstream 0.1.43 merged, and the engine work first done here merged on 2026-10-12 as eddoursul#12-eddoursul#16 and eddoursul#19-eddoursul#21) plus this machine's documentation: the bilingual README and MEASUREMENTS, the charts in docs/media/readme, the configs in examples/r7-5700x and examples/r9-5950x, the Spanish draft subset and the published bench/results folders. STRATA-README.md is eddoursul's current README (and STRATA-README.es.md its Spanish version); the README gains a section on custom before and after the merge, measured here on 2026-10-13. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
After Hardin22/Strata-DualGPU 11b1f25 (
run_fused_native)by Francesco Albano: every expert's gate/up parts, then every expert's down parts in one phase; the thread that finishes
an expert's last gate/up part quantizes its activations, and that expert's down parts wait for it. No barrier between
the halves and no serial quantization on the host in between; the second GPU's submit still runs when the phase opens.
The same operations and bytes; the two-phase path is unchanged and stays the default.
Measured
+2-4% in every config here (six-prompt decode mean, interleaved runs). UD-IQ4_XS on the RTX 3090: 83.3-84.6 ->
85.2-86.4 tok/s; on top of the elastic K/V of this series 90.8-91.0 -> 92.8-93.0.
Where this sits (measured today on your new
custom)customat e3727cb against our engine (your previouscustom+ this series + the upstream pieces you have mergedtoo), our configs on a Ryzen 7 5700X + 128 GB DDR4 + RTX 3090 (+ RTX 5060 Ti 16 GB), Linux.
customruns the sameconfigs without the flags it lacks (
--kv-grow,--adapt-decay,--vram-pin-gib/--second-gpu-pin-gib):custome3727cb--ple-io ram)The per-change measurements and the configs: README: what the changes on top of eddoursul's custom gave,
settings and how to run, examples/r7-5700x.
This series (rebased onto e3727cb)
Closed as already in
customafter the 0.1.43 merge: #15 (re-split GGUFs), #17 (upstream's CPU kernels), #18 (upstream fixes).Tested on
customat e3727cbSmoke runs (UD-IQ4_XS, greedy, a Spanish chat answer and a code prompt, RTX 3090 or both cards): with
STRATA_POOL_FUSED=178.8 / 85.0 -> 80.8 / 87.8 tok/s (+3%), the same tokens.