Repository navigation
Description
What did you measure, or what went wrong
Full speed + capability pass on Inkling-2-Mini SQ-10 on a gfx1030 host, engine strata-inkling 0.1.66. Method: POST /v1/chat/completions, temperature 0, all numbers from the response timings (prompt_per_second / predicted_per_second), draft acceptance reported next to every decode figure; long prompts streamed. Scripts and raw JSON available on request.
Setup: RX 6800 XT 16 GB (gfx1030, driver 32.0.21045.29003), 47 GB RAM, Windows 11 (10.0.26300); Strata desktop 0.2.20, engine strata-inkling 0.1.66 (2e87c08, rdna2); Inkling-2-Mini-SQ-10 10.5 GB, all experts in VRAM (--vram-experts-gb 8.60 --ram-experts-gb 0.00), vision on, --draft dspark, --max-context 131072, FP8 KV auto-selected (post-load free 5052 MiB). No other heavy I/O during runs.
Short context (600-token outputs ×3, prefill ~7.7k ×2)
| metric | result |
|---|---|
| decode | 61.0 / 62.0 / 61.4 tok/s |
| draft accepted | 435/895, 415/836, 413/841 (≈49%) |
| prefill 7 770 tok | 169.2 / 168.9 tok/s (cache_n=0) |
Depth (200-token outputs, streaming)
| prompt tokens | prefill avg (instantaneous decay) | decode | accepted |
|---|---|---|---|
| 10 477 | 163.7 tok/s (170.7 flat → 118) | 32.9 tok/s | 0.464 |
| 34 378 | 121.0 tok/s (170.7 → 128 → 102 → 58) | 29.4 tok/s | 0.792 |
| 63 805 | 58.2 tok/s (170.7 → 128 → 85 → 64 → 57) | 8.9 tok/s | 0.435 |
| 109 649 | — | died at 71 680 tok: fatal kv grow failed in both VRAM and host-mapped pinned memory (engine restarted) |
— |
Observations:
- decode collapses ~3.3× between 34k and 64k context (8.9 tok/s at 63 805). The decode window was verified clean — no concurrent request in the log ordering — so this is not contention.
- prefill decays roughly linearly with depth (≈170 → 57 tok/s by 27k+); a 64k prompt costs 18.6 min wall per call.
- the depth crash is filed separately as [Engine] strata-inkling 0.1.66 / gfx1030: 'kv grow failed in both VRAM and host-mapped pinned memory' fatal at ~71.7k tokens with fp8 auto-selected for --max-context 131072 #6755 (kv grow fatal at ~71.7k with fp8 active).
Capability (independent test suites on the same host, temp 0 single-shot, Chinese contract, code-block extraction; failed rounds get the failing cases re-fed, max 3):
| task | result |
|---|---|
| 2048 core.js — 930-assertion suite | 930/930, 1 round, 29.3 s (1 510 tok @ 64 tok/s, accepted 1190/1831) |
| whack-a-mole state machine — 64-assertion suite | 64/64, 1 round, 36.1 s (1 893 tok @ 63 tok/s, accepted 1484/2257) |
Same suites, same host, earlier sessions: coder-iq1_m (Qwen3.8-Flash-Next Coder IQ1_M) 930/930 in 78 s and 64/64 in 13.5 min; gyro (176B TQ2) 922→930 in 3 m 49 s; a 27B reaches 930 only after 56 min; LFM2.5-24B cannot run the suite at all. So SQ-10 is one of only two one-pass perfect models here and the fastest by 2.6× (2048) / 22× (whack) — despite 6× slower prefill than the coder (169 vs ~1 027 tok/s), because its decode is 61 vs 37 tok/s.
For context on the pack choice: SQ-15 (14.3 GB) is installed but was not benchmarked — on a 16 GB card it needs --ram-experts-gb (PCIe expert spill) and leaves only ~1.5 GiB post-load free, so it is strictly the worse-fitting pack here; SQ-10 keeps every expert in VRAM.
API-path notes (measurement constraints worth knowing)
- Non-streaming requests are hard-cancelled at ≈300 s → HTTP 502 (
done: 0 tokens in 304 s (cancel, cancel=True)in the desktop host log). Bisected: a 34 378-token prefill finished in 291 s and succeeded; 63 805 tokens did not. Streamed requests are unaffected (a 1 119 s request completed). Filed as [Engine] non-streaming /v1 requests are hard-cancelled at ~300 s and answered 502 Bad Gateway; streaming unaffected (1 119 s completed) #6756. - No prefix reuse across separate
/v1calls: the same 8 115-token prompt twice →cache_n=0, 51.98 s / 51.76 s. An App conversation did reuse (~60 000 of a 63 665-token prompt read in 12 s ≈ 5 000 tok/s), so conversation-path reuse works — neutral observation, cf. Conversation cache: 0 reused on a single GPU since 0.2.11 (host layer); two-GPU layer split unaffected; engine version independent #6379.
Reproduction status
Measured locally
Activity