mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4270] [CLOSED] [Engine] qwen35: FP16 K/V cache by default, int8 with --kv-q8 (262144 fits a 16 GiB card) #4981
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#4981
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/4270
Author: @benthic-io
Created: 10/26/2026
Status: ❌ Closed
Base:
main← Head:qwen35-kv-q8📝 Commits (1)
be617b6[Engine] qwen35: FP16 K/V cache by default, int8 with --kv-q8 (262144 fits a 16 GiB card)📊 Changes
2 files changed (+248 additions, -48 deletions)
View changed files
📝
docs/QWEN36.md(+45 -0)📝
src/qwen35/q36_engine.cu(+203 -48)📄 Description
Port of the previously submitted q8 KV cache work to the current tree.
The Qwen3.6 / qwen35moe engine stored its K/V cache in FP32 with no option to change it. FP16 becomes the default and --kv-q8 stores int8 codes with one FP16 scale per 64 dims (the main engine's kv_q8.hpp scheme), matching the main engine's kKvF16.
Changes:
Validation: cherry-picked from PR #3084 and resolved conflicts against current main; builds CUDA (sm_75).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.