mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2446] Community benchmark: 2x NVIDIA A2 16 GB (sm_86, PCIe only), Xeon Gold 6444Y, 62 GiB RAM - UD-IQ4_XS and Q8_0, 64K to 1M, v0.1.42 #993
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#993
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 @talisp on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2446
Community benchmark on 2x NVIDIA A2 16 GB (sm_86, PCIe only), 62 GiB RAM
Measured 2026-10-10 to 2026-10-14 on Strata v0.1.42. UD-IQ4_XS and Q8_0 of Qwen3.8-Flash-Next, contexts 64K to 1M, speed and answer quality. More quantizations are still running.
Context
Related threads from the same battery
--pipeline-windows 2, silently: #2445Hardware and software
61b3fb5dd3f1e8ec09cf7e4e05208bc6d3c46406, source build for sm_86 (setup found no ready-made engine for this architecture and compiled one). Test engine built with-DSTRATA_Q6K_EXPERTS=ON -DSTRATA_MMQ_KQUANTS=ON -DSTRATA_EXPERIMENTAL_SM60=ON; the 4 exactness tests for the Q6_K/Q8_0 pieces passed on Ampere.Model and configuration
unsloth/Qwen3.8-Flash-Next-GGUF(revision main, Oct 2026): UD-IQ4_XS (93.7 GB) and Q8_0 (188.2 GB, packed withiq_pack.py --compat-bf16; the experts are read straight from the GGUF, noexperts.bin); vision enabled (mmproj BF16).--layer-split auto,--pipeline-windows 2,--prefill auto,--spec 4 --spec-min-p 0.5with the MTP block,--kv int8 --kv-resident 32768,--resident-budget-gib 35,--expert-cache auto,--max-context65536 / 131072 / 262144 / 524288 / 1048576 (YaRN above 262144).--vram-reserve-mib: 700 for UD-IQ4_XS, 1000 for Q8_0 (see the OOM section; the two models are therefore not at identical reserve).chat_template_kwargs: {"enable_thinking": false}; the evals usereasoning_effort: nonein the config. Greedy (temperature 0). Cold disk cache at every server start.Results
Speed numbers are the server's own timings. "Full context" = a prompt filling 97% of the window, then a 512-token continuation that reuses it. One run per point for these; three runs for the short-prompt sweep.
hit_rateas reported (VRAM share, excludes--pcie-fracexperts, see #588).Short prompts, 64K config, median of 3: UD-IQ4_XS 4K prompt 352 tok/s prompt / 25.0 decode, 32K prompt 651 / 23.7; Q8_0 4K 76 / 6.7, 32K 185 / 6.7. Q8_0 (188 GB) does not fit in 62 GiB, so it reads experts from the SSD (about 36 to 42 GB read per request in the 4K and 32K sweeps, 256 tokens generated).
Needle recall: three hidden codes at 10/50/90% depth, recovered in order: 3/3 at every context from 64K to 1M on both models.
tools/needle_bench.pyon Q8_0: 15/15 found (32K, 128K, 262K, 400K, 500K x three depths; 200 s to 2,678 s each). Not yet run on UD-IQ4_XS.Parallelism without NVLink (UD-IQ4_XS, 64K config, median of 3 decode tok/s at 4K / 16K prompts): default layer split 22.1 / 23.6;
--pipeline-windows 223.4 / 26.0; peer without P2P 20.2 / 25.0. We adopted--pipeline-windows 2(+6 to +10% decode).1 GPU vs 2 GPUs (UD-IQ4_XS, 256K config): sweep decode 21.5 / 21.1 / 20.0 (1 GPU) vs 22.5 / 22.6 / 21.5 (2 GPUs) at 4K / 32K / 128K; full-context prompt 411 vs 742 tok/s, decode 15.8 vs 16.9.
hit_rate0.62 to 0.66 (1 GPU) vs 0.89 to 0.92 (2 GPUs). The second card mostly helps prompt reading. Q8_0 on one GPU: 128K sweep 179 tok/s prompt, 5.6 to 5.8 decode,hit_rate0.45.Answer quality (end-to-end correctness checks, one run, temperature 0)
Paired exact McNemar tests on the same problems: p >= 0.42 on every metric, so no difference is detectable at these sample sizes. This is consistent with, but weaker than, the teacher-forced KL numbers in the 0.1.44 release notes (UD-IQ4_XS 88.9% same top token against Q8_0): task accuracy hides a measurable divergence. We are collecting first-token KL on 220 prompts too and will add it.
What needed a workaround
--vram-reserve-mib 700. 128K:mtp prefill: the input records do not fit(cudaMalloc,src/core/mtp.cpp~1138/1180 in v0.1.42), and oncemtp: step capture: no error(no cause). 256K:saving a checkpoint part failedto the client; the reason (checkpoint save: conversation snapshot running-state copy: out of memory) is only in the engine's stderr. "VRAM free at start" does not predict it: UD-IQ4_XS passes with 137 to 149 MiB free, Q8_0 at 64K passes with 29 MiB, Q8_0 at 128K fails with 383 MiB. 128K reproduced 3 of 3. At 128K it passes with--vram-reserve-mib 1500, with--pipeline-windows 0, or with--prefill 1024(one run each). We set--vram-reserve-mib 1000for every model: Q8_0 then ran 64K to 1M and over a thousand eval requests with no engine error (one run per context). See the two comments linked above.--pipeline-windows 2: #2445. Workaround: collect with--pipeline-windows 0.evalplus(openai backend) usessignal.alarm(100)ingen/util/openai_request.pyand retries the same request forever when it fires. At ~5 tok/s a reply over ~500 tokens never fits; the server logsdone: ... (cancel, cancel=True)at ~101 s again and again (66 of 98 requests) and the run sat on one problem for ~2 h. We raised it to 7200 s.lm_evallocal-chat-completionsdefaults to a 300 s timeout; IFEval generates up to 1280 tokens (~256 s at 5 tok/s). We settimeout=7200.evalplus.sanitizebefore scoring: code fences made HumanEval score 0.0% in an earlier session.Already covered upstream (we found this by reading the docs afterwards)
Thinking control through the API (
DETAILS.md), the meaning ofhit_rate(#588), Q6_K experts being built by default (QUANTS.md, 0.1.44), and what--compat-bf16rounds (tools/iq_pack.pydocstring). We had listed these as questions; they are answered, so we are not opening issues for them.Not tested / limitations
--batch, or conversation-cache tests yet.Data
Per-request JSON, engine logs and the scripts are kept with the results and can be shared on request or as a pull request under
bench/results/if you prefer that format. We can also rerun the same battery on a newer build and send the diff.@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.