mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2658] [CLOSED] artifact: read an all-zero attention.compress_ratios as absent #4196
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#4196
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/2658
Author: @VLOD-ZDOV
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:fix-zero-compress-ratios📝 Commits (1)
cc1ef68artifact: read an all-zero attention.compress_ratios as absent📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
include/strata/artifact/gguf_reader.hpp(+6 -1)📄 Description
Title
artifact: read an all-zero
attention.compress_ratiosas absentSummary
Some re-quantized finetunes of Qwen3.8-Flash-Next write
qwen4exp.attention.compress_ratioswith every entry 0(the original files have 4 on each full-attention layer). Since the geometry check in 0.1.44, such a file stops the
engine at start:
An array of zeros names no layer, so it is now read as if the key were missing, and the compiled pooling block
stays. Any other value is checked as before.
What changed
include/strata/artifact/gguf_reader.hpp,read_geometry: an all-zeroattention.compress_ratiosis skipped.A missing key, a valid list and every malformed list (wrong length, a non-zero entry on a linear layer, mixed
blocks) take the same path as before.
Extra Notes
How it was checked (CUDA build only):
branch with the MXFP4 experts of #1724, which that file also needs; on
mainalone it now gets past the geometrycheck and stops at the MXFP4 expert check, as expected).
Not tested: HIP and SYCL builds (the change is in a header the CPU code reads, no device code).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.