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#528
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 @andrej-reimer on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1280
2x RTX 3090, Linux:
--pipeline-windows 2is a win in every expert mode (+7% to +20% decode), and a 30-minute soak of the resident RAM mode on the split ran clean. Two observations below that may be worth a look.The 0.1.40 notes ask for 2-GPU testers: a 30-minute soak of the resident RAM mode on a split (#848, #642) and
--pipeline-windowswith 10 or more interleaved pairs, with and without #848 (#859). This covers both on a 2x RTX 3090 pair. I could not test #776: IQ3_S at 262K does not fit fully into 2x 24 GB here, so neither stage is all-resident.Headline
Median decode tok/s over 5 greedy prompts, engine timings, fresh server per run, interleaved ABBA:
--pipeline-windows 2--resident-experts(#848)--mmap-expertsIn the resident arms the ranges do not overlap: the slowest pipelined run beat the fastest serial one in all 10 pairs.
Rig
nvidia-smi topo -m: PHB, no P2P, no NVLink.1735d64), built with the repo's Dockerfile (CUDA_ARCHITECTURES=86, nvcc 13.0), soserve/and the engine are a matched pair.Model and settings
--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --vision --vram-reserve-mib 700,"layer_split": "auto",STRATA_POOL_SPIN_US=0.K=22 - predicted 25.6 ms per decode window; the caches hold 16476 of 24576 profiled pairs (~98.8% of the routed mass)."remote_expert_opt": falsein every arm, since #859 turns itself off with it. I did not test what the default does on a split.--mmap-experts,--resident-experts, or neither) plus--pipeline-windows 2. The pipeline loggedtwo verifiers per stage, the stages overlap across windows; the resident arm loggedresident RAM mode: 16.35 GiB of experts in RAM (page-locked), 8823 in the GPU cache.Method
temperature: 0,enable_thinking: false,max_tokens: 500:max_tokens: 1)./metrics.Per prompt (median tok/s, serial → pipelined):
The gain follows code and copy-heavy text, as in #859's own table.
Resident RAM mode soak (#848)
temperature: 0.6, thinking on for half of them,max_tokens300/600/1000, eight prompts (code, English, German, French).15.94 GiB of experts in RAM, 523349 exchanged with the VRAM tier, 81342 blob reads from the file.Two observations
1. Blob reads from the file in the resident mode. The start line says the swaps happen with no file reads, but the
blob reads from the filecounter grows, mostly during long prompts. Across one 31.5K-token prompt it went from 777 to 18,777, and it reached 81,342 over the soak. In this 60 GB VM the page cache serves those reads, so the prompt time was unaffected. On a 32 GB PC, the case #848 targets, they would hit the SSD. I have not looked into which path issues them; this is an observation, not a diagnosis.2. Resident is slower than mmap here, but this is not the low-RAM case. With 60 GB of RAM, the OS file cache holds the whole 46.8 GiB
experts.bin, so--mmap-expertseffectively runs from RAM, and it beat--resident-experts(107 vs 89 serial, 114 vs 107 pipelined). I did not test a 32 GB VM, where I would expect the opposite. Happy to run that if it helps.Exactness
I recorded output hashes only for the mmap and whole-arena arms (I added them after the resident pairs had run):
import replaced before the function or not).exit(1)instead ofexit(EXIT_FAILURE)), so not all of the variation comes from the pipeline.I did not run with
STRATA_IQ_MT_MIN=1 --pcie-frac 0 --adapt-every 0, so I make no claim about bit-exactness with equal caches. This only says that with the default adaptive tier, the pipelined prose is not reproducible run to run on this rig while the serial whole-arena run is.Not claimed
Happy to rerun any arm, with the exactness flags, or at 32 GB.
@GonzMartinez commented on GitHub (Oct 7, 2026):
Second 2x3090 tester, same Proxmox-VM-with-passthrough shape as yours — and on this rig the pipeline is flat. Numbers below.
Rig: Proxmox VE host, AMD Ryzen 9 9950X3D (16 cores), both RTX 3090 passed through to the VM, both on PCIe 4.0 x8,
nvidia-smi topo -m: PHB, no P2P, no NVLink. RAM headroom puts this box in your "whole arena" regime (all experts in RAM).Model: Swift 1.5 Qwen3.8-Flash-Next GSQ-RCO abliterated IQ3_XXS, MTP draft layer, vision on,
--layer-split auto(both cards),--spec 4 --kv int8 --max-context 262144. Settings calibrated on this box:--pcie-frac 0.55 --spec-min-p 0.70 --pool-workers 8.--remote-expert-optoff in both arms (the pipeline turns itself off with helper caches), so the arms differ only in--pipeline-windows 2.Method:
tools/calibrate.py— 3 short prompts (128-token greedy decodes) and one ~200k-token needle prompt (depth 50%), decode tok/s from engine timings; per-setting sweeps plus a 3x interleaved confirm of default vs candidate; serial vs pipelined run back-to-back on exclusive GPUs.Short prompts, confirm medians (tok/s): serial 130.5 / 131.4 vs pipeline 129.5 / 130.5 — pipeline -1%.
200k prompt, confirm medians of 3 (tok/s):
Workers sweep at 200k (medians of 2, serial vs pipeline): 9 -> 96.0 vs 96.3, 6 -> 95.7 vs 96.7, 4 -> 96.9 vs 95.7, 2 -> 95.8 vs 96.1. Flat within noise.
Reading: the +7-20% does not reproduce here in either regime. Consistent with the gain tracking stall: your rig has a x4 GPU1 and 500-token generations — a lot of stall for the pipeline to hide; this box is x8/x8 with a fast CPU and the windows have little stall to overlap. A data point for the rig-dependence of the headline, as asked.
Not claimed: no power numbers; no exactness runs; the 200k arm decodes 128 tokens, not 500.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.