mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1611] [Bug]: a tensor-less GGUF shard whose aligned data start is past EOF is refused (unsloth UD-Q5_K_XL shard 1) #645
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#645
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?
Originally created by @CYoung83 on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1611
What happened
Shard 1 of unsloth/Qwen3.8-Flash-Next-GGUF
UD-Q5_K_XLholds metadata only (0 tensors) and is 10,946,618 bytes.Its 32-byte-aligned data start is 10,946,624, which is 6 bytes past EOF. Shard 1 of
UD-Q4_K_XLand ofQ8_0is10,946,624 bytes, so its data start is exactly EOF, and it loads.
include/strata/artifact/gguf_reader.hpp:458throws whenever the aligned data start is past EOF, whether or not thefile has tensors. That line is unchanged on main
fb58e0d(v0.1.41). llama.cpp's gguf-py at the pinned3cf0325reads the file:
GGUFReaderreports 0 tensors anddata_offset10,946,624.Workaround: pad a copy of shard 1 with 6 zero bytes (
truncate -s 10946624) and symlink shards 2-6 beside it. Theengine then loads and runs the model.
A fix with a test follows in a PR.
Strata version, GPU, OS
0.1.40.3 (source build, -DSTRATA_Q6K_EXPERTS=ON) · RTX 5090 32GB · Ubuntu 26.04, CUDA 13.3
@Niko1221 commented on GitHub (Oct 10, 2026):
Fixed in v0.1.42 through #1612: the metadata-only first shard of UD-Q5_K_XL (6 bytes short of its aligned data start) now opens. The change is in include/strata/artifact/gguf_reader.hpp and only affects a file with zero tensors.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
@marjansplit commented on GitHub (Oct 14, 2026):
Bug still present! v0.1.44.1
[X] Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf is short: 10,946,618 of 10,946,624 bytes (6 missing)
delete it and run setup again (or copy the whole file into --gguf-dir)
After: truncate -s 10946624 Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf
[X] Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf is 10,946,624 bytes, not 10,946,618
delete it and run setup again (the download restarts)
@gruszks commented on GitHub (Oct 15, 2026):
@Niko1221 I have the same problem (engine 0.1.44.1)