[GH-ISSUE #2346] Problem with Q5 unsloth file 00001 of 00006 #946

Closed
opened 2026-11-04 01:47:15 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @shuhdonk on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2346

Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf is short: 10,946,618 of 10,946,624 bytes (6 missing)
When download Q5_K_XL get this error over and over, delete the file, redownloads and same error.

Originally created by @shuhdonk on GitHub (Oct 14, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2346 Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf is short: 10,946,618 of 10,946,624 bytes (6 missing) When download Q5_K_XL get this error over and over, delete the file, redownloads and same error.
Author
Owner

@SabinStargem commented on GitHub (Oct 14, 2026):

Same issue with me.

<!-- gh-comment-id:6165351519 --> @SabinStargem commented on GitHub (Oct 14, 2026): Same issue with me.
Author
Owner

@OriginalMadman commented on GitHub (Oct 14, 2026):

Dito. Even downloading the file directly from huggingface give this mismatch. So either the file has changed or there's a bug in Strata

<!-- gh-comment-id:6169130574 --> @OriginalMadman commented on GitHub (Oct 14, 2026): Dito. Even downloading the file directly from huggingface give this mismatch. So either the file has changed or there's a bug in Strata
Author
Owner

@TheGoodMorty commented on GitHub (Oct 15, 2026):

Hit the same wall on 0.1.44.1, Windows (RTX 3080, 128 GB RAM), fresh setup.py --family unsloth --model UD-Q5_K_XL. Field data, because the failure has a precise shape:

The two checks are mutually unsatisfiable on the published bytes.

  • The head shard served today (UD-Q5_K_XL-00001-of-00006.gguf) matches the pinned
    revision exactly: size 10,946,618, SHA-256 610922cdb1afe1094e95d7a3e86b12ee33317ebbf7320ac9344e21b6ae4bb69f
    — so verify_sha256 passes on the real file.
  • But the shard contains zero tensors: its GGUF header declares data_start 10,946,624,
    so check_shards computes need = data_start + max(..., default=0) = 10,946,624 and
    rejects the file as "6 missing". (10,946,624 is 64-byte aligned; 10,946,618 is not even
    8-aligned — the shortfall is header alignment padding the writer evidently omitted.)
  • Padded to 10,946,624 the file passes check_shards but then verify_sha256 rejects it
    ("10,946,624 bytes, not 10,946,618"). No byte sequence satisfies both.

The header itself parses cleanly on the short file (no KV items extend into the gap), so
the 6 missing bytes are padding only, never read. Local workaround that unblocks installs:
append 6 zero bytes and repin the file in UNSLOTH_BIG_SHARDS to
(10946624, 6c537059d79c060aeb9a942f23a2d21a1b56360c8c27b9ab380539fa4c476eb2)
— the content is identical to the original bytes (original sha verifies on the
unpadded prefix). With that, setup completes, the pack builds, and the engine serves fine
(UD-Q5_K_XL runs at expected speed here, serving daily through the local router).

Two possible proper fixes: Unsloth re-uploads a head that carries its own padding, or
check_shards tolerates a shortfall within alignment when the shard's tensor directory is
empty (it currently treats the declared-but-unwritten pad as truncation). As it stands,
every 0.1.44.1 Q5 install is hard-blocked.

<!-- gh-comment-id:6182906839 --> @TheGoodMorty commented on GitHub (Oct 15, 2026): Hit the same wall on 0.1.44.1, Windows (RTX 3080, 128 GB RAM), fresh `setup.py --family unsloth --model UD-Q5_K_XL`. Field data, because the failure has a precise shape: **The two checks are mutually unsatisfiable on the published bytes.** - The head shard served today (`UD-Q5_K_XL-00001-of-00006.gguf`) matches the pinned revision exactly: size 10,946,618, SHA-256 `610922cdb1afe1094e95d7a3e86b12ee33317ebbf7320ac9344e21b6ae4bb69f` — so `verify_sha256` passes on the real file. - But the shard contains **zero tensors**: its GGUF header declares `data_start` 10,946,624, so `check_shards` computes need = data_start + max(..., default=0) = 10,946,624 and rejects the file as "6 missing". (10,946,624 is 64-byte aligned; 10,946,618 is not even 8-aligned — the shortfall is header alignment padding the writer evidently omitted.) - Padded to 10,946,624 the file passes `check_shards` but then `verify_sha256` rejects it ("10,946,624 bytes, not 10,946,618"). No byte sequence satisfies both. The header itself parses cleanly on the short file (no KV items extend into the gap), so the 6 missing bytes are padding only, never read. Local workaround that unblocks installs: append 6 zero bytes and repin the file in `UNSLOTH_BIG_SHARDS` to (10946624, `6c537059d79c060aeb9a942f23a2d21a1b56360c8c27b9ab380539fa4c476eb2`) — the content is identical to the original bytes (original sha verifies on the unpadded prefix). With that, setup completes, the pack builds, and the engine serves fine (UD-Q5_K_XL runs at expected speed here, serving daily through the local router). Two possible proper fixes: Unsloth re-uploads a head that carries its own padding, or `check_shards` tolerates a shortfall within alignment when the shard's tensor directory is empty (it currently treats the declared-but-unwritten pad as truncation). As it stands, every 0.1.44.1 Q5 install is hard-blocked.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270975525 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#946
No description provided.