mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #896] [CLOSED] ple: accept Q5_1 and Q8_0 n-gram tables #2901
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#2901
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/896
Author: @anon761
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:ple-q5_1-q8_0📝 Commits (10+)
749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it57bd713sycl: pipeline the expert cache's profile fill (model load 3-4x faster)📊 Changes
4 files changed (+98 additions, -24 deletions)
View changed files
📝
CMakeLists.txt(+6 -0)📝
src/kernels/dequant_bf16_test.cpp(+1 -0)📝
src/kernels/ple_q5_parity.cpp(+51 -24)➕
tests/core/dequant_q5_1_test.cpp(+40 -0)📄 Description
What
PleTablereadsper_layer_token_embd.weightas IQ4_NL, Q5_0 (#296, OrcaRouter) or the FP8 table. A plain quantized GGUF puts another type there, and the model refused to start:This adds the two the ordinary GGUFs ship:
dequantize_row_q5_1), unlike Q5_0's fixed-16offset.PLE_ROW_BYTES_MAXgrows to the Q8_0 row; the row size, the type check, the decode branch andformat()/close()follow.The direct reader already takes
row_bytesat runtime (the comment about the stale refusal is upstream's and stays), so no mmap fallback is needed.Verified
A
Qwen3.8-Flash-Next-Uncensored-Q5_K_MGGUF (Q5_1 table) loads and serves 262k tokens on 2× RTX 3090 with a layer split; before the change it exited at startup.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.