mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3640] [Engine] Gyro-Coder (agentionai): catalog support request — TQ2_T experts + 256-expert qwen4exp, both already supported #1502
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#1502
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 @pjgmobile on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3640
Filed on behalf of a user by their AI coding agent (disclosed per repo norms; no personal details).
Request: add setup-catalog support for agentionai's new coding Gyro variant: https://huggingface.co/agentionai/Qwen3.8-Flash-Next-Gyro-Coder-GGUF
What it is (from the card + a header parse of the GGUF):
source pruned-q8-run10.gguf): 256 of each layer's 512 experts kept (evolutionary search), 65B params, 2.125 bpw, 262k context.Why this looks like catalog plumbing, not kernel work:
qwen4exp, a shape the engine already handles as a first-class configuration: the GSQ-RCO Coder family ships the same 256-of-512 layout, andsrc/prefill/kernels.cubranches explicitly onn_expert == 256.(512,10)/(256,8), so(256,10)takes the generic router — a perf note, not a blocker.What appears missing:
GYRO_FILES/MODELScatalog entries + revision pin, an expert profile, and a validation pass.Vendor-measured quality (self-reported, method disclosed): Python KL 0.165 / 93.1% top-1 vs the full model; 13/16 in-house coding tasks (15/16 with the same experts at 8 bits); general/knowledge degradation is larger (held-out KL 0.579). ⚠ The card labels the file a PoC and warns files will be re-published if format/kernels change — worth pinning the revision accordingly.
Questions:
tools/iq_pack.py --compat-bf16+--native+ MTP draft), or is anything engine-side actually missing for(256,10)TQ2_T?Happy to report back test results on a single-3090 rig once a supported path exists.
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks, this follows the format now.
@pjgmobile commented on GitHub (Oct 21, 2026):
Update: the manual path already works on engine 0.1.47 (Strata 0.2.2 from source) — no engine-side changes needed, which confirms the issue body's read that this is catalog plumbing only. (Still via an AI agent on the user's behalf.)
Recipe that worked (single RTX 3090 24 GB, 64 GB host RAM, stock source build):
hf download agentionai/Qwen3.8-Flash-Next-Gyro-Coder-GGUF— one 70.59 GiB GGUF.tools/iq_pack.py --gguf models/gyro-coder/Qwen3.8-Flash-Next-Gyro-Coder-TQ2_0.gguf --out packs/gyro-coder --compat-bf16— clean run: 48 layers Hadamard-folded,native_experts.txtv5, 1.32 GiB arena, tokenizer built, 363 tensors compat-bf16 (max |err| 0.0144).Two things the docs didn't cover:
--max-context 65536, not 131072: at 131k the verify tier found no VRAM left for the expert cache ("no VRAM was left for the expert cache" at load). Matches the card's own 24 GB target: "21.1 GiB with 64k context, q8_0 KV".--expert-profileis required for the MTP verify tier — with--expert-cache autoand no profile, serve refuses: "verify: needs the profile-filled VRAM expert tier". I used the GSQ-RCO Coder profile: structurally valid (same 256-expert shape) but its ordering predates the current index (#3448), so a proper Gyro-Coder expert profile should ship with catalog support.Results (smoke-level, not a benchmark):
max_tokenswas plenty.One doc note: the
native_expert_parity --load-check PACK GGUFsyntax in the manual-install section is the Gyro authors' fork's CLI (Strata rc2); upstream 0.1.47'snative_expert_paritydoesn't accept--load-check(it parses the flag as a file path and core-dumps on mmap). Might be worth syncing the doc or the tool.Nothing engine-side blocked the (256,10) TQ2_T file — so the remaining task looks like exactly what the issue suspected:
GYRO_FILES/MODELScatalog entries, a Gyro-Coder expert profile, and a validation pass.@pjgmobile commented on GitHub (Oct 21, 2026):
Follow-up: long-context behaviour on the same manual setup (single RTX 3090 24 GB, engine 0.1.47) — same rig as the previous comment.
Config extension (mirroring the standard Qwen3.8-Flash-Next 1M lane):
What works:
What does NOT work — with an honest caveat: synthetic needle-in-haystack recall. I ran retrieval probes at ~30k, ~295k and ~551k tokens (uniform synthetic log entries, instruction after the corpus, then instruction-first) and the model failed recall at every depth — including 30k, well inside native context (it continued the corpus pattern or reported no code found). That means my harness cannot distinguish "YaRN degrades retrieval beyond native" from "this corpus style defeats this model's retrieval at any depth" — the two are confounded. It's also plausible the code-pruned expert set simply trades general retrieval. The card's own claim is 262144, and the vendor claims no 1M for this file, so treat 262k as the trusted window and 1M-YaRN as boots-and-serves but recall-unverified.
Costs for anyone trying 1M on 24 GB: KV was not the problem (hybrid sliding-window + int8 keeps 262k nearly free); the card is simply already full at ~470 MiB free, so the #2065 warning applies throughout, and long prefills ride on the prefill budget above (~5.5 min per fresh 550k-token document on this card).
Practical read for a coder lane: keep
--max-context 262144. If someone builds a better long-context harness for this file (varied prose rather than synthetic-uniform filler), I'd be interested in the results — the engine mechanics themselves held up fine at 2× native.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. 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.