mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #168] [CLOSED] hip: support Q2_K embeddings and type-aware PLE table rows #2487
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#2487
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/168
Author: @samuelishida
Created: 9/29/2026
Status: ❌ Closed
Base:
main← Head:pr-ple-types📝 Commits (1)
041f6efhip: support Q2_K embeddings and type-aware PLE table rows📊 Changes
9 files changed (+332 additions, -64 deletions)
View changed files
📝
CMakeLists.txt(+7 -0)📝
include/strata/kernels/iq_kernels.hpp(+2 -0)📝
include/strata/kernels/ngram.hpp(+19 -8)📝
include/strata/ngram/ple_reader.hpp(+6 -4)📝
src/core/native_head.cpp(+1 -1)📝
src/kernels/cuda/iq_kernels.cu(+25 -3)📝
src/kernels/ngram.cpp(+125 -32)📝
src/ngram/ple_reader.cpp(+27 -16)➕
tests/hip/q2k_embed_parity.cpp(+120 -0)📄 Description
Extends the HIP/CUDA quant paths to cover more public checkpoints:
token_embd.weight; add a GPU dequantizer and embedding gather, exposed throughiq_dequant_supported()so it is accepted for embeddings but not silently treated as an MMVQ type.PleReaderand its row cache.hip_q2k_embed_parityto exercise both synthetic and optional real IQ2_XS rows.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.