mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #791] Community benchmark: IQ3_S and community AP-Q4_K_M — single RTX 5070 Ti vs 2× RTX 5060 Ti layer split #357
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#357
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 @yy16432 on GitHub (Oct 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/791
Community benchmark: IQ3_S and community AP-Q4_K_M — single RTX 5070 Ti vs 2× RTX 5060 Ti layer split
Measured on 2026-10-03 by a ZCode-assisted lab operator. Tests Qwen3.8-Flash-Next IQ3_S
(GSQ-RCO) and the community agentionai AP-Q4_K_M GGUF on Strata 0.1.38, each on a single
RTX 5070 Ti (calibrated) and on a 2× RTX 5060 Ti layer split (calibrated) — four configurations
in total, same method throughout. Main limitations: 1–3 runs per point (decode of the native GSQ
path proved stable — ±5 % across repeats — while the imported GGML-format AP quant varies ±20 %+
with MTP luck), and 262,144-token prompts are refused by design (prompt + output exceeds the
262,144 context capacity).
Hardware and software
99f3dbd(2026-10-03); engine 0.1.38, source buildModel and configuration
ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUFIQ3_S; community row:agentionai/Qwen3.8-Flash-Next-AP-GGUFAP-Q4_K_M, imported manually (iq_pack.py --compat-bf16 --experts-bin+ a BF16 one-tensor--embd-gguffor its Q6_K token embedding + its own mmproj-F16 wired through the config'svisionsection)int8(VRAM-resident;--kv-residentoff); expert cacheauto;--prefill auto--spec 4 --spec-min-p 0.70; greedy sampling from the harness; calibrated per configuration: IQ3_S 5070 Ti--pcie-frac 0.20, IQ3_S split0.00, AP 5070 Ti0.35, AP split0.00(19 CPU workers each); speed projection offMethod
Third-party OpenAI-compatible HTTP benchmark harness (GUI), one request at a time (the engine is
single-request serial), greedy (temperature 0), output cap 256 tokens per request, harness timeout
600 s for the longest prompts. Prompts are generated by the harness per length bucket (content
differs run to run within a bucket; re-running the same harness on a warm instance can inflate
decode via prompt-lookup drafting — noted below where it applies). Service freshly (re)started and
calibrated before each reported configuration; expert cache warm from one smoke request. Timing
boundaries are the harness's TTFT/ITL fields, cross-checked against the engine's per-request
decode_tok_sin/metrics(agrees within 2 %). Runs per point: IQ3_S split 2, IQ3_S 5070 Ti 1(a second warm sweep landed within ±5 %), AP split 1 (after
--prefill auto; the earlier512-chunk sweep is excluded as a different configuration), AP 5070 Ti 3 (median reported; one of
the three sweeps ran on a warm instance and skews high). RAM observed: ~57 GB resident experts +
KV + runtime on IQ3_S; ~63 GB with AP-Q4_K_M.
Results
1. IQ3_S on 2× RTX 5060 Ti (layer split, calibrated)
2. IQ3_S on RTX 5070 Ti (single card, calibrated)
IQ3_S, 5070 Ti vs split: decode +25–45 % at every length and essentially flat (95.9–100.4,
ITL ≈ 10 ms) vs the split's 63–73 with ~10 tok/s droop toward 131K; prefill ~2× in the 2–8K range,
+6 % at 131K; TTFT 45.2 → 42.0 s at 131K. The calibrated
--pcie-fracflips 0.00 (split) → 0.20(single).
3. AP-Q4_K_M on 2× RTX 5060 Ti (layer split, calibrated,
--prefill auto)4. AP-Q4_K_M on RTX 5070 Ti (single card, calibrated)
AP-Q4_K_M, 5070 Ti vs split: decode +26–43 % at every length (medians 74–114 vs 54–64);
prefill +48–96 % below 16K, converging to ±0 % at 64K and −8 % at 131K (the only metric where the
single card does not win).
--pcie-frac0.00 → 0.35 (the imported GGML experts lean on the CPUmore, and the single fat card rewards a higher PCIe share).
Cross-model: on identical hardware the AP quant decodes ~20 % below IQ3_S (100.4 vs 79–77 at
mid lengths on the 5070 Ti) with ±20 %+ run-to-run variance vs the native path's ±5 %; per-request
MTP acceptance 50–63 % on fresh prompts vs 87 % for IQ3_S. Prefill is format-insensitive within
±5 % except at very long lengths.
Notes: 262,144-token prompts are refused by the server (prompt + 256 output exceeds the 262,144
capacity) — expected behavior, not an engine failure. The AP-Q4_K_M results are, to our
knowledge, the first published measurements of that community quant on Strata.
Correctness and limitations
/health(context 262144, images on) before each sweep; one Chinese short-promptgeneration per configuration (correct, coherent); OCR of a rendered test image correct on IQ3_S
and on the imported AP quant (after wiring its own mmproj).
--compat-bf16, an--embd-ggufone-tensor BF16 file (itstoken embedding is Q6_K, which the native path cannot dequantize on the GPU) and an
experts.binrepack for the full-RAM arena — described so others can reproduce.(observed), irrelevant to the measurements.
@brenoperucchi commented on GitHub (Oct 4, 2026):
Thanks for the detailed write-up. Two things in the tables look off, so you may want to check them against the raw data.
The IQ3_S split table (section 1, 2 runs per point) seems to include the AP-Q4_K_M split run as one of its two runs. In all 9 rows, the AP split values from section 3 sit exactly on one end of the IQ3_S range, for prompt and for decode (18 of 18 values). At 512 tokens the IQ3_S prompt range is 452-631 and AP is 452; at 131072 it's 2905-3032 and AP is 3032; decode at 2048 is 54.5-84.3 and AP is 54.5. The TTFT column points the same way: 512 tokens at 452 tok/s takes about 1.13 s, but the IQ3_S TTFT range tops out at 0.94 s. The same happens at 1024 tokens (1.47 s against a 1.29 s max) and at 2048 (2.13 s against 1.78 s). If that's the case, the IQ3_S split numbers change, and so does the "AP decodes ~20 % below IQ3_S" comparison on the split.
In section 4 (AP-Q4_K_M on the 5070 Ti), the 8192 row has a prompt median of 2924 with a range of 2792-2917, so the median is above the max.
@Niko1221 commented on GitHub (Oct 7, 2026):
Thank you for the 5070 Ti against 2x 5060 Ti comparison. Two tables mix data from different runs, so we will not use them as they are; a bench PR in the COMMUNITY_BENCHMARKS format is welcome. Closing as a report.