mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2840] [Feature]: Conversation cache (prompt reuse) for the Qwen3.6-35B-A3B (strata-q36) path #1142
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#1142
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 @patiwatcpe-byte on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2840
I'd like the Qwen3.6 path to reuse the conversation prefix between requests, the way the Flash-Next engine does with its conversation-cache checkpoints (DETAILS.md, "Conversation cache"). Today every request on Qwen3.6 re-reads the whole conversation from token 0, which makes agent clients slow.
Measured with BENCH.bat on the same PC (RTX 4080 SUPER 16 GB, Ryzen 9 7900, 32 GB, Windows 11, engine 0.1.44.1, repo
296b59d):In practice: with Claude Code (
ANTHROPIC_BASE_URL=http://127.0.0.1:8080), the system prompt and tool list are about 24K tokens and get read again on every turn. The same 10-section document task took 35 minutes on Qwen3.6 (17 turns) against 8 minutes on the Coder (20 turns). Decode speed is fine; the prompt re-reading is what costs the time.As far as I can tell,
src/qwen35/q36_main.cpphas no checkpoint or snapshot code yet. Since qwen35moe mixes Gated DeltaNet layers with a few attention layers, I assume it needs the same state checkpoints the Flash-Next path uses, rather than KV-prefix reuse alone.Workaround today: I use the Flash-Next Coder for long agent sessions and Qwen3.6 for chat. Related but different: #2693 / #2698 / #2742 (int8 KV cache for this path).
@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.