mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3679] [Engine] Q4_K joins the expert down formats (Ornith-1.5-35B's 20 Q4_K down projections) #4746
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#4746
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/3679
Author: @yang478
Created: 10/22/2026
Status: 🔄 Open
Base:
main← Head:pr/engine-q4k-expert-down📝 Commits (1)
b052d46kernels: Q4_K joins the expert down formats (Ornith-1.5-35B's 20 Q4_K down projections)📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
src/kernels/cuda/iq_kernels.cu(+4 -3)📄 Description
Area: [Engine]
Problem and result
STRATA_D_FMTS— the weight formats the native expert down-projection GEMM instantiates — lists Q5_K and Q6_K (fmt 13/14, for Qwen3.6-35B-A3B) but not Q4_K (fmt 12), although the gate/up and MMVQ lists already carry 12. Ornith-1.5-35B-A3B carries a Q4_K down projection on 20 of its 41 layers, so the engine refused to run the model's GGUF. With this PR fmt 12 joins the down list in both#ifdef STRATA_Q6K_EXPERTSarms, and the model runs: measured in companion PR #3677.Related discussion
none
Approach
src/kernels/cuda/iq_kernels.cu:X(12)added to bothSTRATA_D_FMTSarms and the comment above the list updated (Q4_K / Q5_K / Q6_K downs). Qwen3.6-35B-A3B and Flash-Next selections are unchanged; the SYCL file keeps its list as-is (it does not carry 13/14 either — the SYCL engine's native down list is a subset and this follows the existing precedent).The diff is 1 file, +4/-3, based on main
011c9e6.Validation
Hardware: NVIDIA GeForce RTX 4070 Ti 12,282 MiB (driver 617.14), 13th Gen Intel Core i7-13700K, 64 GB RAM, Windows 11 (10.0.26200); CUDA 12.8, sm_89.
266e787) is what let Ornith-1.5-35B-A3B Q4_K_M load and run the measured day behind benchmark PR #3677 — 150K/180K fresh prompts, needle retrieval 10/10, andstrata smokeon the same tree.Limits
Native-path only: formats outside the list fall back as before. No claim about other models' Q4_K mixes beyond this model's measured run.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.