mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2418] Layer-split auto: link-miss scaling still regresses ~4x-gap x16+x4 rigs (0.1.41–0.1.44.1) #980
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#980
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?
Originally created by @MEsfits on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2418
Layer-split auto: link-miss scaling still regresses ~4x-gap x16+x4 rigs (0.1.41–0.1.44.1)
Rig: 2× RTX 3090 24GB, no P2P/NVLink (GPU1 in x4 chipset slot), Ryzen 9800X3D, Ubuntu. Workload: Qwen3.8-Flash-Next IQ3_S, 262144 ctx, int8 KV +
--kv-resident 32768,--mmap-experts,--prefill auto --spec 4+ MTP,--pcie-frac 0.35 --spec-min-p 0.70,--expert-cache auto. Probed links: CUDA0 (x16) 26.9 GB/s, CUDA1 (x4) 6.4 GB/s — a 4.2x gap.Regression (same prompts/config both arms, canonical benchy protocol, temp 0.6/top_p 0.95):
Signs (−decode, +10K, −90K) reproduce on every boot; magnitudes exceed run CV on code/prefill.
Cause (bisected 0.1.40.2 clean → 0.1.41 guilty; 0.1.40.4 byte-identical per notes, verified): the split-search changes, not the prompt-path rework.
0391e478(absolute 20 GB/s scaling) + faster-last reorder moved auto from the balanced K=27 (27 layers x16 / 21 x4) to K=19 (29 x16 / 19 x4). Per-card prompt buffers (3.66 GiB both), chunk 8192 + 96-ring both, CPU share off on splits, stager identical under--mmap-experts— all ruled out, and the flag matrix (PREFILL_CPU_SHARE=0,RING_BYTES=0,STAGER_SLEEP=0,--prefill1024/4096,PREFILL_HELP=1,SPLIT_OWN=auto) never recovers 0.1.40.x. Forcing placement proves it: 0.1.41 code at restored K=27 benches ≡ 0.1.40.3 at K=27 on all four legs (narr 120–131, code ~139, 10K ~1560–1620, 90K ~3287–3290; residual to K=31-truth is boot-to-boot placement instability, present on every version).Why 0.1.44 still guilty:
9d41e18b(#2007) scales only from a 4x gap against the fastest link — this rig is 4.2x, so it still scales (x4.20, harsher than 0.1.41's x3.12) and still lands off-balance (K=31 here, benched above). Same class as the T10 report in #2007, opposite direction.Proposed restore (PR to follow):
STRATA_SPLIT_UNIFORM=1— uniform miss cost (pre-0.1.41 objective), opt-in next toSTRATA_SPLIT_LINK_ABS, default off. Withgpu_order: as_givenit returns K=27 and 0.1.40.x numbers on 0.1.41 code; re-verification on main in progress.@MEsfits commented on GitHub (Oct 14, 2026):
Follow-up, same rig/prompts/protocol — the fleet-wide pcie-frac 1 control:
as_given+STRATA_SPLIT_UNIFORM=1, pcie 1 / 0.7 / no-adaptTwo conclusions: (1) the fix arm holds at recovered levels under the new fleet calibration (all four legs within run noise of 0.1.40.x); (2) pcie-frac 1 alone does nothing on the guilty path — the stock-placement arm keeps the full signature (+15% @10K, −8% @90K, decode down). Calibration is flat here; placement is the whole story. The PR (#2425) is unchanged (code-only, default off).
@MEsfits commented on GitHub (Oct 14, 2026):
Final validation, same rig/protocol (plus one accidental robustness test — the browser was left open throughout, display contention included):
as_given+ uniform, 0.90/0.70/1-160as_given+ uniform, 1/0.7/no-adaptBoth arms at truth level (code within run CV); the fleet now carries the uniform restore + fresh calibration everywhere. Display/GPU0 contention contributed nothing measurable next to placement — numbers went up with the browser open.
@MEsfits commented on GitHub (Oct 14, 2026):
Tuning sweep on top of the fix (main + uniform, K=27, base = iso10: 135.64 / 142.00 + 1621.35 / 3402.29, same protocol):
PREFILL_HELP=1--pipeline-windows 2--pipeline-windows 1--trim-stage-weights+ split 27PF_FUSED=1GDN_CHUNKED=2Stacking (trim+pw2+HELP+FUSED) not yet tested — each above is one variable off iso10. The placement fix itself is unchanged by all of this.
@MEsfits commented on GitHub (Oct 14, 2026):
Stack results, base iso10 (135.64 / 142.00 + 1621.35 / 3402.29):
iso18 is the balanced fleet pick; iso19 the prefill specialist (FUSED output-sanity spot check still open). The placement fix is orthogonal to all of it — every arm here runs K=27 uniform.
@MEsfits commented on GitHub (Oct 14, 2026):
Long-context validation, 1M configs (yarn×4),
benchy_longladder, n=1 per depth — baseline is the 0.1.40.2 file's 1m arm (3055 / 2742 / 2474 / 2244):Explicit split 27 starts clean at 1M (trim's VRAM gift survives the bigger sessions), and FUSED adds a steady ~5% at every depth. Same ordering at all four rungs, both arms above the old engine everywhere — the stack transfers to long context, not just 262K.
@MEsfits commented on GitHub (Oct 15, 2026):
Exhaustion arm: explicit
--layer-split 34+ trim (iso20) vs 27 (iso14) — the engine's own NEAR-TIE pick, predicted within 1.4%:Decode prediction held; the prompt legs diverged violently in opposite directions — small cached prompts love K=34, sustained streaming hates it. The engine's own caveat called this shot ("it prices decode, not the prompt"). K=27 stands as the fleet pin; K=34 rejected except as a short-prompt specialist curiosity. Combination matrix closed by exhaustion: every winner marginal measured, every loser rejected twice, placements 19/27/31/34 all run.
@MEsfits commented on GitHub (Oct 15, 2026):
Closing note — fleet disposition (dual RTX 3090, x4 second card):
All 28 fleet JSONs now carry
gpu_order: as_given+STRATA_SPLIT_UNIFORM=1with calibration 1/0.7 (adapt removed fleet-wide per the iso9 datapoint: 80 scored −6% decode vs 160 here, and the tier verdict's "default" agreed). Running split:Matrix closed: placements 19/27/31/34 all run (27 pinned), pw1 and GDN_CHUNKED rejected twice each, every winner marginal measured, calibration flat. The code fix itself is #2425 — everything above is config on top of it.
@MEsfits commented on GitHub (Oct 15, 2026):
Two fieet notes: serial dual-1m with the stack (trim+pw2+HELP, uniform K=27, 1/0.7) benches 127.50 / 158.15 + 1614.42 / 3371.99 — at/above 0.1.40.x on 1M context, same as 262K.
Parallel2-1m is NOT a regression — it is two artifacts stacked: (1) benchy.sh drives ONE request, but
--batch 2carves two 1M sessions per card (2.55 GiB on CUDA0 "that the expert cache would otherwise hold", cache 7667 vs ~8300 serial, borrow 4.44 vs 3.66 GiB), so single-stream is structurally slower; parallel is a two-client throughput config and needstools/serve_load.py, not benchy. (2) The pasted run is a cold-start ramp, not steady state: narr walls fall 31.46 → 20.15 → 14.71 → ~11.4s across warmups/runs, prefill warmup sits at 114s/89 tok/s while decode is still climbing — it was killed mid-warmup. Re-bench warm before concluding anything; suspect order if still slow after soak: HELP×batch interaction (untested), then pcie 1 vs 0.00, then explicit-27 vs auto. trim+batch is documented-compatible, leave it last.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.