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#282
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 @zimuhuan-code on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/602
Offered in the spirit of
docs/COMMUNITY_BENCHMARKS.md. Honest scope: Q2_0 = a single recorded run (1015 tok / 22.6 s weighted mean; we ran the mix twice and report the run that matches the table); IQ3_S = three runs, median + range. Happy to re-run Q2_0 three times, or to emit your per-run JSON schema — tell us which fields you want.Environment (structured after
docs/COMMUNITY_BENCHMARKS.md's checklist)Hardware
lshw -C memoryreportsDIMM DDR3 Synchronous 1867 MHz (0.5 ns),size: 16GiBper populated slot (128 GiB ÷ 16 GiB = 8 modules, matching the 8 populated slots).⚠️ Platform note that matters for comparison: this is a modified ("magic") X99 board (Huanan Gold) running DDR3 on an LGA2011-3 Xeon E5 v3. The stock Haswell-EP memory controller is DDR4-only — DDR3 support here is a board-level feature, not a CPU one. Memory bandwidth therefore need not match a stock DDR4 X99 platform, which is worth keeping in mind when comparing the prefill numbers below.
nvme1n1, 1.9 TB); the machine also has 2× HDD, idle for these runsftllm(which shares these two GPUs) is stopped while Strata runsSoftware
ldd --version→ 2.43-2ubuntu2.3)db4f91a(engine 0.1.37), built from source (no Linux release binary existed:releases/latest404)CXX=/usr/bin/g++-14 CUDAHOSTCXX=/usr/bin/g++-14plus a localsetup.pypatch to pick the toolkit viaSTRATA_NVCC3cf03257f219afbe7334045ff7c6a06ac68c627d; Python 3.14.4 (setup's venv)g++= 15Model
ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, revisioned59f92082b1e93c0e96d60a8b11aab089b52f09(pinned insetup.py)Qwen3.8-Flash-Next-GSQ-RCO-{Q2_0,IQ3_S}-0000{1,2}-of-00002.gguf(shard 2 is identical between the two quantisations → hard-linked on disk, so both together cost ≈150 GB, not 66 + 83.6)
./setup.sh(no hand edits); experimental speed projection offSettings — exact launch arguments (IQ3_S; Q2_0 differs only in pack/model paths)
--kv-resident 32768cells kept in VRAM)--spec 4 --spec-min-p 0.5); draft acceptance observed ≈68 % in one Q2_0 samplereasoning_effort); vision off; calibration offWorkload
max_tokensin brackets;reasoning_effort=noneeverywhere(reproduce with:
grep -hoE "expert cache [0-9.]+% hit" <server log>)Five-prompt mix — exact prompts (verbatim,
max_tokensin brackets)用一句话解释什么是混合专家模型(MoE)。[128]写一段 200 字左右的短文,介绍咖啡的历史。[400]用 Python 写快速排序,带注释,只给代码。[500]A bat and a ball cost $1.10 in total. The bat costs $1.00 more than the ball. How much does the ball cost? Explain briefly.[300]写一篇 600 字的技术短文,主题:为什么量化模型会损失精度。[900]Long context (Q2_0 only)
(engine log:
32768 of 524288 cells per QSA layer in VRAM, the K/V in 2.58 GiB of pinned RAM)(the 8th task is free-form writing and therefore not comparable)
Quality probe — 8 short tasks: arithmetic
1234×5678, bat-and-ball,stressedreversed, 17-sheep trick, weekday reasoning, strict JSON, short needle (60.3), constrained writing (≤100 chars, no "雨", must contain "铁")Observation: IQ3_S is ~25% slower here (33.7 vs 45.0) and its expert cache halves (5549 → 2574 slots) because
3.5-bit experts are bigger, so more experts are read from RAM; the small quality probe went the other way.
One more thing (offered as a hook): we have reproduced issue #75 locally. Under a long-context, tool-heavy task
(~136K prompt tokens) the model re-issued one identical
bashcall 23 times in a row; everytool/callhad a matchingtool/resultwithisError:falseand correct content, so the loop was model-side, not tooling. Happy to open aseparate report with the full logs if that is useful.
A pattern we would like to hand over (explicitly labelled a hypothesis — 3 review sessions, one machine, no visibility inside the model)
While producing the numbers above we ran three reviews of the same document with the same model and quantisation:
setup.py, …”bashcalls → our guard cancelled the turn; the model then looped again in turn 4 (23 more identical calls) — a de-dup bug in our guard let that turn through, and we killed it by handbashcall 6 times, then our guard cancelled the turn automaticallySo the prompt style is not the deciding factor: the same neutral prompt produced both a clean run and a loop.
What is consistent is where it loops — in both loops the model was re-checking one single fact in our draft
(loop 1: “which header defines
__GLIBC_USE_IEC_60559_FUNCS_EXT_C23, and thefind_nvccline numbers”;loop 3: “confirm the long-context section contains no IQ3_S entry”), i.e. self-verification that never reaches a stop
condition. We would describe this as a possible “self-verification → rationalisation → degradation” tendency —
offered as a user-side observation, not as a finding, and n=3 sessions on one machine.
One detail that may be directly useful for #75: in session 3 the harness itself injected a warning after the 5th
identical call — “Repeated tool call detected … Do not call this tool with these exact arguments again. Inspect the latest
result and choose a different action, different arguments, or finish the task if enough evidence has been gathered.”
The model ignored it and issued the same call again. What actually ended the loop was a hard cancel of the turn
(our guard cancels on the 6th consecutive identical call). If that matches other reports, a stop message alone is not
sufficient — the loop ends when the turn is actually aborted. Happy to run controlled A/B prompts and publish raw logs.
@Niko1221 commented on GitHub (Oct 3, 2026):
Thank you for the thorough numbers on 2x RTX 3060, including the 512K needle pass. The build problem is tracked in #601. The repeated identical tool calls are model-side behaviour tracked in #75; your observation that a stop message alone did not end the loop, only aborting the turn, is useful there, so please add the logs to #75 if you have them. A row for docs/COMMUNITY_BENCHMARKS.md is welcome as a PR. Closing this as a report.
@zimuhuan-code commented on GitHub (Oct 4, 2026):
Following up on the local #75 reproduction we mentioned in #602 — here are the raw artifacts you asked for.
What we observed: a stop message does not end the loop; only actually aborting the turn does — and even then, the next turn can loop again on the same check. Our harness has a guard that hard-cancels a turn after N consecutive identical tool calls, so we can show both halves.
Evidence 1 — the guard had to cancel the turn three times in a row, same session
(Excerpt from our guard's log. The cancellation is a hard
Agent.cancel()on the turn — not a message to the model.)Evidence 2 — three raw samples, auto-captured by the guard at the moment it detected the loop (JSON, paths redacted):
Sample A — the model re-issues the identical check after a previous turn was cancelled (step 75, then again at step 6 of a later turn — note
strikes: 1thenstrikes: 2):Sample B — a different session, same shape: re-checking a single fact that never reaches a stop condition:
One more detail that may matter: in one of these sessions the harness itself injected a warning into the context after the 5th identical call —
The model ignored it and issued the same call again. So neither an in-context instruction nor a user stop message ended it; only the hard cancel did, and only for that turn.
Honest scope: n = 3 sessions, one machine, one quantisation (IQ3_S), engine v0.1.37 (
db4f91a), long-context + tool-heavy prompts. We have no visibility inside the model, so we are reporting artifacts, not a mechanism.