mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #705] [CLOSED] Feat/k8v4 kv streaming #2776
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#2776
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/705
Author: @merbanan
Created: 10/4/2026
Status: ❌ Closed
Base:
main← Head:feat/k8v4-kv-streaming📝 Commits (2)
a0a0b28KV: K8V4 streaming (--kv k8v4 with --kv-resident N)dc7f024setup: KV streaming with --kv k8v4 (816 B per cell and layer)📊 Changes
12 files changed (+89 additions, -50 deletions)
View changed files
📝
docs/DETAILS.md(+3 -3)📝
include/strata/core/layer.hpp(+1 -4)📝
include/strata/kernels/kv_stream.hpp(+16 -1)📝
setup.py(+8 -13)📝
src/core/conversation_snapshot.cpp(+5 -3)📝
src/core/layer.cpp(+9 -8)📝
src/core/verify.cpp(+3 -2)📝
src/kernels/cuda/kv_stream.cu(+10 -0)📝
src/kernels/kv_stream_parity.cpp(+15 -5)📝
src/prefill/prefill.cpp(+13 -4)📝
src/program/generate.cpp(+0 -4)📝
tools/test_setup_risk.py(+6 -3)📄 Description
--kv k8v4(8-bit K, rotated 4-bit V) could not stream: the engine refused--kv k8v4 --kv-resident Nand setup turned streaming off for it. This adds streaming for the hybrid format, so K8V4's smaller KV cache and the freed VRAM of streaming add up.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.