mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4354] [Engine] Q6_K grouped-expert dispatch compatibility in DeepSeek (source-inspected gap) #1925
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#1925
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 @moniljo on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4354
Area
[Engine] (speed, kernels, models, the server and API)
What do you want to do?
Would you accept a small, separate change completing Q6_K dispatch for the grouped DeepSeek expert path, with a targeted regression check? This is a source-confirmed gap, not an independently reproduced failure of the official runtime.
Runtime-effect status: unconfirmed static analysis, with combined custom-candidate validation below.
I inspected current main
5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d(v0.2.7). Inds4_iq.cu, Q6 already has its type metadata, scalar decoder, dequantization and matvec cases. However,DS4_IQ_SWITCHat line 1102 omits Q6 and returns false for unsupported cases, while the prompt tiles'deq8<T>expansion at line 379 has no Q6 branch. The general supported-type check includes Q6. I am not claiming that all Q6 operations are unsupported.What do you do today instead?
My custom exact Mix-256G recipe adds only these two related pieces:
deq8<T>: unpack ql/qh and signed subscales, using the F16 scale at byte 208, to produce eight F32 values.case kQ6_K: F(kQ6_K); break;inDS4_IQ_SWITCH. Adding dispatch alone would not supply the missing tile expansion.The existing implementation is public at the pinned recipe's decoder hunk and dispatch hunk. A proposed upstream patch would exclude the larger performance bundle and the separate shared-prefix checkpoint change.
Actual validation and limits
A fresh minimal v0.2.7 build containing both Q6 hunks plus that checkpoint change, without the V6b performance features, produced executable
6b78b6ce264dbf790e01c14714f3e0df92668ea6e2fa3b2a793d43c8e1ac7c00(BUILD receiptcbbbebc0153ab4106b2441da7b619f766a595000a8fae69ab96a0c447e70786e). On Windows/CUDA/SM120a, it passed 1,248 numeric cases across eight fresh owned fixture runs and three short coding smoke requests with 1,048,576-token capacity, natural EOS and native-zero cleanup. Numeric report SHA:e909ef4db3e4dbf57ad211414aceb555fb78d33bc623c7b1a54c36c397cc82ed.Those are combined-candidate observations, not an isolated before/after regression, full-1M prompt benchmark, or validation of a future PR revision. The official binary was not model-loaded; HIP compilation/execution and other hardware remain untested. The recipe provenance and limitations retain the distinction.
Would you prefer a synthetic Q6-versus-independent-dequantization regression exercising the grouped entry points first, followed by a small draft PR with the missing backend checks identified? No default, weight or expert-count change is proposed.
@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.