mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #928] [CLOSED] Gyro (TQ2_T / TQK6 / TQK7 + Hadamard rotation): native support for the agentionai Qwen3.8-Flash-Next quants #3263
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#3263
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/928
Author: @LaurentZuijdwijk
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:pr/gyro📝 Commits (10+)
a596f15HIP: count the desktop's VRAM on Windows (WDDM budget, STRATA_WDDM_BUDGET)e07540fserve: end an engine that lost step with the server instead of waiting forever (#481)f7df4efserve: the engine-exited-before-READY error shows this start's last 20 log lines (#496)6e05aa9serve: the start narrator says what happens to the experts with --mmap-experts (#505)aa0e21bsetup: honour HF_ENDPOINT, and say where the model files go (#495)869ebadsetup: UD-Q4_K_XL across GPUs without the RAM budget when the RAM holds it; no budget on a --gpus start (#498)b9c2d5esetup: --vram-reserve-mib N, and INSTALL.md documents it (#493)4e308ebPCIe probe (#485): best of four timed bursts, a continuous share, the samples logged100ebe4docs: Windows AMD's free-VRAM figure within the WDDM budget (#380) and the host-timed PCIe probe (#377)97fc539Merge branch 'f-137-srv' into rel-0.1.37📊 Changes
1 file changed (+15 additions, -8 deletions)
View changed files
📝
src/kernels/cuda/iq_kernels.cu(+15 -8)📄 Description
Native support for the agentionai Gyro quants of Qwen3.8-Flash-Next (
agentionai/Qwen3.8-Flash-Next-Gyro-GGUF), so Strata can serve them unchanged next to the GSQ-RCO files.What's in it
prism.hadamard.*metadata): rotation on the GPU decode and prompt paths, the CPU workers, the remote/peer expert paths and the stage helper. Fused prompt kernels skip rotated layers and use the separate swiglu, rotate, quantize passes.--peer-device. Prompt processing on the peer card needs P2P and is untested.tools/gyro_setup.sh(build, download, pack, MTP draft head, config with--prefill auto) anddocs/GYRO.md.Strata needs a GGML with the trellis types:
STRATA_GGML_DIRshould point at https://github.com/agentionai/llama.cpp (main).Tested
native_expert_parity:--syntheticand--synthetic-hadamardfor tqk6/tqk7 and tq2_t pass with 0 failures on CUDA and gfx1151;to_float;--load-checkpasses with 0 failures for Gyro-S and Gyro-M packs.STRATA_PREFILL_HELP=1gives identical output over repeated runs;--peer-device 1and--expert-cache-device1 autodecode match single-GPU.Numbers
Quality is held-out KLD against the Q8_0 source,
-c 2048, 60 chunks; GPU-resident size excludes the n-gram table.Strata decode speed (tok/s, prose / JSON / code):
On 24 GB cards, cache misses run the trellis decode on the CPU. That costs more than Q2_0's, and a SIMD CPU path is the next step.
Not yet verified
Happy to rebase onto whatever you'd like and to split this into smaller PRs if that's easier to review.
🤖 Generated with Claude Code
https://claude.ai/code/session_013YKZhadEzjDiTwDc4tzi2g
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.