mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #140] [CLOSED] Add OrcaRouter Qwen3.8 Flash-Next Q4_K_S support #2478
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#2478
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/140
Author: @Suoriks
Created: 9/29/2026
Status: ❌ Closed
Base:
main← Head:grammax-q4ks📝 Commits (1)
10981f8feat: support OrcaRouter Q4_K_S📊 Changes
15 files changed (+398 additions, -42 deletions)
View changed files
📝
CMakeLists.txt(+6 -1)➕
docs/ORCA_Q4_K_S.md(+36 -0)📝
include/strata/kernels/cpu/expert_layout.hpp(+3 -0)📝
src/core/expert_source.cpp(+13 -9)📝
src/kernels/cpu/expert_layout.cpp(+11 -3)📝
src/kernels/cuda/dequant_bf16.cu(+13 -0)📝
src/kernels/cuda/iq_kernels.cu(+106 -1)📝
src/kernels/cuda/native_mmvq.cu(+3 -1)📝
src/kernels/native_expert_parity.cpp(+18 -9)📝
src/kernels/ngram.cpp(+30 -10)➕
src/kernels/ple_q5_parity.cpp(+59 -0)➕
src/kernels/q5_projection_parity.cpp(+62 -0)📝
src/prefill/moe_mmq.cu(+5 -1)📝
tools/iq_pack.py(+10 -7)📝
tools/test_iq_pack.py(+23 -0)📄 Description
Changes
Add support for the three original OrcaRouter Qwen3.8 Flash-Next Uncensored Q4_K_S GGUF shards. The loader finds experts whose tensors span shard boundaries. The packer keeps the Q4_K expert weights in GGUF form and reads the Q5_0 PLE table through mmap. CUDA and CPU paths handle the model's Q5_0/Q5_1 down projections and quantized small projections.
docs/ORCA_Q4_K_S.mdgives the setup commands and model-specific caveats.Checks
strata,native_expert_parity,ple_q5_parity, andq5_projection_parityfrom the rebased 0.1.24 tree on Windows, CUDA 12.6, L40S (sm_89).test_iq_pack.py: 9 tests, 1 skipped.serve.test_server: 38 tests passed.The 0.1.23-based version also passed full text, vision, MTP, and 220K-token marker retrieval on two L40S cards. The 0.1.24 rebase has been rebuilt and checked with the parity tests above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.