[GH-ISSUE #2635] Error install: UD-Q5_K_XL 5-bit (Unsloth Dynamic) #1049

Closed
opened 2026-11-04 01:48:02 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @lavren1974 on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2635

PS D:\github\Strata> .\START-HERE.bat --setup
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)

=== Step 1: checking your PC ===
[ok] GPU: NVIDIA GeForce RTX 4080, 16.0 GB VRAM, compute capability 8.9, driver 610.88
[ok] RAM: 128 GB
[ok] CPU: Intel(R) Core(TM) i7-14700K (AVX2)
[ok] PCIe: 4.0 x16

=== Step 2: your choices ===

  1. Qwen3.8-Flash-Next Qwen; GSQ-RCO quants by ISTA-DASLab - the original model

  2. Swift 1.5 UkisAI's fine-tune of Qwen3.8-Flash-Next - thinks much shorter (-63% thinking tokens, 1.8x sooner answers by its authors' numbers)

  3. Qwen3.8-Flash-Next Coder ISTA-DASLab's coding version - half the experts (code, tools, images kept): needs ~32 GB of RAM, faster; weaker outside coding

  4. Qwen3.8-Flash-Next (Unsloth) Unsloth's 4- to 8-bit quantizations - UD-IQ4_XS, UD-Q4_K_XL, UD-Q5_K_XL, UD-Q6_K_XL or Q8_0 (94 to 188 GB downloads): every expert in RAM from ~80 GB (UD-IQ4_XS) to ~136 GB (Q8_0) of RAM, else part of them read from the SSD

  5. Qwen3.8-Flash-Next (NVFP4) NVFP4 packs by sergqwer (strata-nvfp4) - 4-bit NVFP4 experts, NVIDIA cards; a 128 GB download, ~80 GB of RAM to keep every expert in RAM [runs, but UD-IQ4_XS is faster on this card; 128 GB download, ~80 GB of RAM keeps every expert in RAM]

  6. Qwen3.6-35B-A3B Qwen; GGUFs with the MTP layer by Unsloth - 35B mixture of experts with 3B active (256 experts, top-8): a smaller cousin of Qwen3.8-Flash-Next with the same tokenizer [new]
    Which model? [1]: 4
    [ok] model: Qwen3.8-Flash-Next (Unsloth)

  7. UD-IQ4_XS (recommended) ~4-bit i-quant (Unsloth Dynamic), between IQ3_S and UD-Q4_K_XL in quality; on a PC with less than ~80 GB of RAM part of its experts are read from the SSD; download 94 GB, keeps all of its 60 GB of experts in RAM

  8. UD-Q4_K_XL (recommended, installed) 4-bit (Unsloth Dynamic): K-quant experts, between UD-IQ4_XS and UD-Q5_K_XL in quality; download 111 GB, keeps all of its 77 GB of experts in RAM

  9. UD-Q5_K_XL 5-bit (Unsloth Dynamic): Q5_K experts with Q8_0 downs, close to Q8_0 in quality; download 158 GB, keeps all of its 98 GB of experts in RAM

  10. UD-Q6_K_XL 6-bit (Unsloth Dynamic): Q6_K experts with Q8_0 downs; download 169 GB, keeps all of its 109 GB of experts in RAM

  11. Q8_0 8-bit, the reference quality (every expert Q8_0); for a 192 GB PC; download 188 GB, keeps ~104 GB of its 128 GB of experts in RAM <- needs 136 GB RAM, you have 128
    Which size? [2]: 3
    [ok] all 98 GB of UD-Q5_K_XL's experts in RAM (they and 16 GiB more fit this PC's 128 GB; --resident-budget-gib N keeps only N GiB of them)
    [ok] size: UD-Q5_K_XL

Context length = how much text the model can see at once (your chat, files, tool output).
Longer needs more VRAM for it, so fewer experts fit on the GPU:

  1. 8K tokens
  2. 32K tokens
  3. 64K tokens (recommended for your GPU)
  4. 128K tokens
  5. 200K tokens
  6. 256K tokens
  7. 384K tokens (experimental: setup adds rope scaling)
  8. 512K tokens (experimental: setup adds rope scaling)
    Context? [3]: 4
    [ok] context: 131072 tokens

KV cache precision (the model's memory of the conversation):

  1. 8-bit (recommended: what every published number was measured with)
  2. 4-bit half the memory (about 4% faster at 128K), but measurably less precise on long
    documents; long-context lookups (needle tests) still pass
    KV cache? [1]:
    [ok] KV cache: 8-bit

Images: the model can also read pictures (screenshots, photos, scanned pages). This adds a 0.9 GB
download and keeps ~1.4 GB of VRAM free for the image encoder, so text is a few % slower.
Do you want images? [y]: n
[ok] images: off

=== Step 3: Python packages ===
[ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil already installed

=== Step 4: the Strata engine ===
[ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd)
[ok] ready-made engine already installed
[ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) already installed
[ok] engine: D:\github\Strata\engine\strata.exe

=== Step 5: downloading Qwen3.8-Flash-Next (Unsloth) UD-Q5_K_XL ===
[ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf already downloaded
[ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00002-of-00006.gguf already downloaded
[ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00003-of-00006.gguf already downloaded
[ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00004-of-00006.gguf already downloaded
[ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00005-of-00006.gguf already downloaded
[ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00006-of-00006.gguf already downloaded

[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)

Setup stopped. Fix the item above and run it again - everything already done is kept and skipped.
Для продолжения нажмите любую клавишу . . .


Причина найдена! На твоих скриншотах есть всё необходимое для диагностики.

Сравним локальный файл с оригиналом на Hugging Face:

Параметр Локальный файл Hugging Face
Размер 10 946 618 байт 10 946 618 байт
SHA256 610922CD...E1B6AE4BB69F 610922cdb1af...e1b6ae4bb69f
Результат Совпадает VERIFIED

Файл скачан полностью и не повреждён. Его SHA256 совпадает с контрольной суммой оригинала.

Ошибка находится в проверке размера Strata: установщик ожидает 10 946 624 байта, тогда как официальный файл содержит 10 946 618 байт — разница ровно шесть байт.

Повторно скачивать файл не нужно.

Как исправить Strata

Я проверил исходный код setup.py в репозитории Strata. Проблема находится в функции check_shards(): она сравнивает размер файла с вычисленным концом области тензоров.

image

GitHub

У твоей первой части GGUF, согласно метаданным на скриншоте:

  • tensor_count = 0 — файл содержит метаданные, а не веса модели.
  • Вычисленное начало области тензоров находится на 6 байт дальше фактического конца файла.
  • Сам файл полностью совпадает с официальным SHA256.

То есть проверка ошибочно требует наличие выравнивающих байтов, хотя в этом файле нет тензоров.

Предлагаю точечное исправление с резервной копией.

В D:\github\Strata выполни:

Copy-Item .\setup.py .\setup.py.bak

$path = ".\setup.py"
$code = [System.IO.File]::ReadAllText((Resolve-Path $path).Path)

$old = "if have < need:"
$new = "if g.tensors and have < need:"

if (($code.Split([string[]]@($old), [StringSplitOptions]::None).Count - 1) -ne 1) {
    throw "Проверка встречается не один раз. Файл не изменён."
}

$code = $code.Replace($old, $new)
[System.IO.File]::WriteAllText((Resolve-Path $path).Path, $code)

python -m py_compile .\setup.py

Изменение означает: проверять ожидаемый размер области тензоров только в файлах, где эти тензоры действительно присутствуют. Для остальных частей модели защита от обрезанных данных сохраняется.

После успешной проверки синтаксиса повтори:

.\START-HERE.bat --setup

Выбирай те же настройки: 4 → 3 → 4 → 1 → n.

Это локальный обход ошибки установщика, а не официальное исправление. Если Strata всё-таки остановится на следующем этапе, пришли новый вывод — проверим уже конкретную причину, не меняя сами GGUF-файлы.

Также имеет смысл сообщить об ошибке автору через GitHub Issues Strata: с приложенным SHA256 и разницей в 6 байт её можно воспроизвести и исправить для остальных пользователей.


Причина найдена! На твоих скриншотах есть всё необходимое для диагностики.

Сравним локальный файл с оригиналом на Hugging Face:

Параметр Локальный файл Hugging Face
Размер 10 946 618 байт 10 946 618 байт
SHA256 610922CD...E1B6AE4BB69F 610922cdb1af...e1b6ae4bb69f
Результат Совпадает VERIFIED

Файл скачан полностью и не повреждён. Его SHA256 совпадает с контрольной суммой оригинала.

Ошибка находится в проверке размера Strata: установщик ожидает 10 946 624 байта, тогда как официальный файл содержит 10 946 618 байт — разница ровно шесть байт.

Повторно скачивать файл не нужно.

Как исправить Strata

Я проверил исходный код setup.py в репозитории Strata. Проблема находится в функции check_shards(): она сравнивает размер файла с вычисленным концом области тензоров.

image

GitHub

У твоей первой части GGUF, согласно метаданным на скриншоте:

  • tensor_count = 0 — файл содержит метаданные, а не веса модели.
  • Вычисленное начало области тензоров находится на 6 байт дальше фактического конца файла.
  • Сам файл полностью совпадает с официальным SHA256.

То есть проверка ошибочно требует наличие выравнивающих байтов, хотя в этом файле нет тензоров.

Предлагаю точечное исправление с резервной копией.

В D:\github\Strata выполни:

Copy-Item .\setup.py .\setup.py.bak

$path = ".\setup.py"
$code = [System.IO.File]::ReadAllText((Resolve-Path $path).Path)

$old = "if have < need:"
$new = "if g.tensors and have < need:"

if (($code.Split([string[]]@($old), [StringSplitOptions]::None).Count - 1) -ne 1) {
    throw "Проверка встречается не один раз. Файл не изменён."
}

$code = $code.Replace($old, $new)
[System.IO.File]::WriteAllText((Resolve-Path $path).Path, $code)

python -m py_compile .\setup.py

Изменение означает: проверять ожидаемый размер области тензоров только в файлах, где эти тензоры действительно присутствуют. Для остальных частей модели защита от обрезанных данных сохраняется.

После успешной проверки синтаксиса повтори:

.\START-HERE.bat --setup

Выбирай те же настройки: 4 → 3 → 4 → 1 → n.

Это локальный обход ошибки установщика, а не официальное исправление. Если Strata всё-таки остановится на следующем этапе, пришли новый вывод — проверим уже конкретную причину, не меняя сами GGUF-файлы.

Также имеет смысл сообщить об ошибке автору через GitHub Issues Strata: с приложенным SHA256 и разницей в 6 байт её можно воспроизвести и исправить для остальных пользователей.

Originally created by @lavren1974 on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2635 PS D:\github\Strata> .\START-HERE.bat --setup Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) === Step 1: checking your PC === [ok] GPU: NVIDIA GeForce RTX 4080, 16.0 GB VRAM, compute capability 8.9, driver 610.88 [ok] RAM: 128 GB [ok] CPU: Intel(R) Core(TM) i7-14700K (AVX2) [ok] PCIe: 4.0 x16 === Step 2: your choices === 1) Qwen3.8-Flash-Next Qwen; GSQ-RCO quants by ISTA-DASLab - the original model 2) Swift 1.5 UkisAI's fine-tune of Qwen3.8-Flash-Next - thinks much shorter (-63% thinking tokens, 1.8x sooner answers by its authors' numbers) 3) Qwen3.8-Flash-Next Coder ISTA-DASLab's coding version - half the experts (code, tools, images kept): needs ~32 GB of RAM, faster; weaker outside coding 4) Qwen3.8-Flash-Next (Unsloth) Unsloth's 4- to 8-bit quantizations - UD-IQ4_XS, UD-Q4_K_XL, UD-Q5_K_XL, UD-Q6_K_XL or Q8_0 (94 to 188 GB downloads): every expert in RAM from ~80 GB (UD-IQ4_XS) to ~136 GB (Q8_0) of RAM, else part of them read from the SSD 5) Qwen3.8-Flash-Next (NVFP4) NVFP4 packs by sergqwer (strata-nvfp4) - 4-bit NVFP4 experts, NVIDIA cards; a 128 GB download, ~80 GB of RAM to keep every expert in RAM [runs, but UD-IQ4_XS is faster on this card; 128 GB download, ~80 GB of RAM keeps every expert in RAM] 6) Qwen3.6-35B-A3B Qwen; GGUFs with the MTP layer by Unsloth - 35B mixture of experts with 3B active (256 experts, top-8): a smaller cousin of Qwen3.8-Flash-Next with the same tokenizer [new] Which model? [1]: 4 [ok] model: Qwen3.8-Flash-Next (Unsloth) 1) UD-IQ4_XS (recommended) ~4-bit i-quant (Unsloth Dynamic), between IQ3_S and UD-Q4_K_XL in quality; on a PC with less than ~80 GB of RAM part of its experts are read from the SSD; download 94 GB, keeps all of its 60 GB of experts in RAM 2) UD-Q4_K_XL (recommended, installed) 4-bit (Unsloth Dynamic): K-quant experts, between UD-IQ4_XS and UD-Q5_K_XL in quality; download 111 GB, keeps all of its 77 GB of experts in RAM 3) UD-Q5_K_XL 5-bit (Unsloth Dynamic): Q5_K experts with Q8_0 downs, close to Q8_0 in quality; download 158 GB, keeps all of its 98 GB of experts in RAM 4) UD-Q6_K_XL 6-bit (Unsloth Dynamic): Q6_K experts with Q8_0 downs; download 169 GB, keeps all of its 109 GB of experts in RAM 5) Q8_0 8-bit, the reference quality (every expert Q8_0); for a 192 GB PC; download 188 GB, keeps ~104 GB of its 128 GB of experts in RAM <- needs 136 GB RAM, you have 128 Which size? [2]: 3 [ok] all 98 GB of UD-Q5_K_XL's experts in RAM (they and 16 GiB more fit this PC's 128 GB; --resident-budget-gib N keeps only N GiB of them) [ok] size: UD-Q5_K_XL Context length = how much text the model can see at once (your chat, files, tool output). Longer needs more VRAM for it, so fewer experts fit on the GPU: 1) 8K tokens 2) 32K tokens 3) 64K tokens (recommended for your GPU) 4) 128K tokens 5) 200K tokens 6) 256K tokens 7) 384K tokens (experimental: setup adds rope scaling) 8) 512K tokens (experimental: setup adds rope scaling) Context? [3]: 4 [ok] context: 131072 tokens KV cache precision (the model's memory of the conversation): 1) 8-bit (recommended: what every published number was measured with) 2) 4-bit half the memory (about 4% faster at 128K), but measurably less precise on long documents; long-context lookups (needle tests) still pass KV cache? [1]: [ok] KV cache: 8-bit Images: the model can also read pictures (screenshots, photos, scanned pages). This adds a 0.9 GB download and keeps ~1.4 GB of VRAM free for the image encoder, so text is a few % slower. Do you want images? [y]: n [ok] images: off === Step 3: Python packages === [ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil already installed === Step 4: the Strata engine === [ok] llama.cpp 3cf0325 (gguf-py, ggml, mtmd) [ok] ready-made engine already installed [ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) already installed [ok] engine: D:\github\Strata\engine\strata.exe === Step 5: downloading Qwen3.8-Flash-Next (Unsloth) UD-Q5_K_XL === [ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf already downloaded [ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00002-of-00006.gguf already downloaded [ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00003-of-00006.gguf already downloaded [ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00004-of-00006.gguf already downloaded [ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00005-of-00006.gguf already downloaded [ok] Qwen3.8-Flash-Next-UD-Q5_K_XL-00006-of-00006.gguf already downloaded [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) Setup stopped. Fix the item above and run it again - everything already done is kept and skipped. Для продолжения нажмите любую клавишу . . . --- Причина найдена! На твоих скриншотах есть всё необходимое для диагностики. Сравним локальный файл с оригиналом на Hugging Face: | Параметр | Локальный файл | Hugging Face | | --------- | ------------------------- | ----------------------------- | | Размер | 10 946 618 байт | 10 946 618 байт | | SHA256 | `610922CD...E1B6AE4BB69F` | `610922cdb1af...e1b6ae4bb69f` | | Результат | Совпадает | VERIFIED | Файл скачан полностью и не повреждён. Его SHA256 совпадает с контрольной суммой оригинала. Ошибка находится в проверке размера Strata: установщик ожидает `10 946 624` байта, тогда как официальный файл содержит `10 946 618` байт — разница ровно шесть байт. Повторно скачивать файл не нужно. ## Как исправить Strata Я проверил исходный код `setup.py` в репозитории Strata. Проблема находится в функции `check_shards()`: она сравнивает размер файла с вычисленным концом области тензоров.&#x20; [image](https://www.google.com/s2/favicons?domain=https://raw.githubusercontent.com\&sz=32) GitHub У твоей первой части GGUF, согласно метаданным на скриншоте: - `tensor_count = 0` — файл содержит метаданные, а не веса модели. - Вычисленное начало области тензоров находится на 6 байт дальше фактического конца файла. - Сам файл полностью совпадает с официальным SHA256. То есть проверка ошибочно требует наличие выравнивающих байтов, хотя в этом файле нет тензоров. Предлагаю точечное исправление с резервной копией. В `D:\github\Strata` выполни: ``` Copy-Item .\setup.py .\setup.py.bak $path = ".\setup.py" $code = [System.IO.File]::ReadAllText((Resolve-Path $path).Path) $old = "if have < need:" $new = "if g.tensors and have < need:" if (($code.Split([string[]]@($old), [StringSplitOptions]::None).Count - 1) -ne 1) { throw "Проверка встречается не один раз. Файл не изменён." } $code = $code.Replace($old, $new) [System.IO.File]::WriteAllText((Resolve-Path $path).Path, $code) python -m py_compile .\setup.py ``` Изменение означает: проверять ожидаемый размер области тензоров только в файлах, где эти тензоры действительно присутствуют. Для остальных частей модели защита от обрезанных данных сохраняется. После успешной проверки синтаксиса повтори: ``` .\START-HERE.bat --setup ``` Выбирай те же настройки: `4 → 3 → 4 → 1 → n`. Это локальный обход ошибки установщика, а не официальное исправление. Если Strata всё-таки остановится на следующем этапе, пришли новый вывод — проверим уже конкретную причину, не меняя сами GGUF-файлы. Также имеет смысл сообщить об ошибке автору через GitHub Issues Strata: с приложенным SHA256 и разницей в 6 байт её можно воспроизвести и исправить для остальных пользователей. --- Причина найдена! На твоих скриншотах есть всё необходимое для диагностики. Сравним локальный файл с оригиналом на Hugging Face: | Параметр | Локальный файл | Hugging Face | | --------- | ------------------------- | ----------------------------- | | Размер | 10 946 618 байт | 10 946 618 байт | | SHA256 | `610922CD...E1B6AE4BB69F` | `610922cdb1af...e1b6ae4bb69f` | | Результат | Совпадает | VERIFIED | Файл скачан полностью и не повреждён. Его SHA256 совпадает с контрольной суммой оригинала. Ошибка находится в проверке размера Strata: установщик ожидает `10 946 624` байта, тогда как официальный файл содержит `10 946 618` байт — разница ровно шесть байт. Повторно скачивать файл не нужно. ## Как исправить Strata Я проверил исходный код `setup.py` в репозитории Strata. Проблема находится в функции `check_shards()`: она сравнивает размер файла с вычисленным концом области тензоров.&#x20; [image](https://www.google.com/s2/favicons?domain=https://raw.githubusercontent.com\&sz=32) GitHub У твоей первой части GGUF, согласно метаданным на скриншоте: - `tensor_count = 0` — файл содержит метаданные, а не веса модели. - Вычисленное начало области тензоров находится на 6 байт дальше фактического конца файла. - Сам файл полностью совпадает с официальным SHA256. То есть проверка ошибочно требует наличие выравнивающих байтов, хотя в этом файле нет тензоров. Предлагаю точечное исправление с резервной копией. В `D:\github\Strata` выполни: ``` Copy-Item .\setup.py .\setup.py.bak $path = ".\setup.py" $code = [System.IO.File]::ReadAllText((Resolve-Path $path).Path) $old = "if have < need:" $new = "if g.tensors and have < need:" if (($code.Split([string[]]@($old), [StringSplitOptions]::None).Count - 1) -ne 1) { throw "Проверка встречается не один раз. Файл не изменён." } $code = $code.Replace($old, $new) [System.IO.File]::WriteAllText((Resolve-Path $path).Path, $code) python -m py_compile .\setup.py ``` Изменение означает: проверять ожидаемый размер области тензоров только в файлах, где эти тензоры действительно присутствуют. Для остальных частей модели защита от обрезанных данных сохраняется. После успешной проверки синтаксиса повтори: ``` .\START-HERE.bat --setup ``` Выбирай те же настройки: `4 → 3 → 4 → 1 → n`. Это локальный обход ошибки установщика, а не официальное исправление. Если Strata всё-таки остановится на следующем этапе, пришли новый вывод — проверим уже конкретную причину, не меняя сами GGUF-файлы. Также имеет смысл сообщить об ошибке автору через GitHub Issues Strata: с приложенным SHA256 и разницей в 6 байт её можно воспроизвести и исправить для остальных пользователей.
Author
Owner

@endurance-hk commented on GitHub (Oct 15, 2026):

FYI I encounter the same problem. Q4 is fine.
Thanks

<!-- gh-comment-id:6195118261 --> @endurance-hk commented on GitHub (Oct 15, 2026): FYI I encounter the same problem. Q4 is fine. Thanks
Author
Owner

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

Бро ну ты бы хоть немного усилий приложил в написании ищью. Тупо скопировал логи и ответ ии. Хотя бы на английском что-ли сделал бы.

<!-- gh-comment-id:6196269239 --> @RenZekta commented on GitHub (Oct 15, 2026): Бро ну ты бы хоть немного усилий приложил в написании ищью. Тупо скопировал логи и ответ ии. Хотя бы на английском что-ли сделал бы.
Author
Owner

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

Thanks for the clear report and for checking the hash. Your file is fine. The first UD-Q5_K_XL shard holds only metadata and no tensors. Unsloth's file ends right after its header, with no padding at the end. Setup expected that padding and so counted the shard as 6 bytes short. It's the same bug as #2346.

The fix is in the next release: setup now accepts a metadata-only shard that ends at its header. Until it's out, UD-Q4_K_XL or IQ3_S install normally on your 5060 Ti.

I'll keep this open until the release is out.

<!-- gh-comment-id:6198007618 --> @Niko1221 commented on GitHub (Oct 15, 2026): Thanks for the clear report and for checking the hash. Your file is fine. The first UD-Q5_K_XL shard holds only metadata and no tensors. Unsloth's file ends right after its header, with no padding at the end. Setup expected that padding and so counted the shard as 6 bytes short. It's the same bug as #2346. The fix is in the next release: setup now accepts a metadata-only shard that ends at its header. Until it's out, UD-Q4_K_XL or IQ3_S install normally on your 5060 Ti. I'll keep this open until the release is out.
Author
Owner

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

I have this localy fixed and it passed.

AI I used located 3 location with issues, 2 from some PR and one additional.

  • Line 1704 — PR #2632 (whole_shard)
  • Line 1795 — my new (verify_sha256) ← this addition finaly solved the holdup, together with other two
  • Line 1969 — PR #2632 (check_shards)

Thinking process and patch (sorry, I am not a developer and do not have enough time now to learn how to post properly):


Everything is now confirmed. Two key findings:

Finding 1: Pinned size/sha in MODELS are incorrect

"Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf":
    (10946618, "610922cdb1afe1094e95d7a3e86b12ee33317ebbf7320ac9344e21b6ae4bb69f"),
  • Pinned size: 10,946,618 — actual: 10,946,624 → +6 bytes
  • Pinned SHA: 610922... — actual: 6c5370... → mismatch

This means that the pinned SHA is not for this file at all. It is likely for the original version before Unsloth re-generated the file (the HF LFS pointer is outdated). So not only does the size mismatch — the SHA mismatches as well. This is why the "just check GGUF header" logic from PR #2632 is the only correct approach: we cannot rely on either the size or the SHA for this shard.

Finding 2: The call from setup.py:5618

verify_sha256(gguf, *fam["sha256"][gguf.name])

fam["sha256"] comes directly from the MODELS dict. Since the pinned SHA is wrong, there is no way to bypass this without a patch. You cannot even modify the .done file, because it stores the sha256 <hex> from the last successful run — and this file has never passed.


Patch — skip for metadata-only GGUF

Identical pattern as PR #2632. Backup + patch:

cd /mnt/nvme/models/Strata
cp setup.py setup.py.bak.$(date +%Y%m%d-%H%M%S)

Then:

python3 - <<'PY'
import pathlib
p = pathlib.Path("setup.py")
src = p.read_text()

old = '''    have = s.stat().st_size if s.exists() else -1
    if have != size:
        fail(f"{s.name} is {have:,} bytes, not {size:,}", "delete it and run setup again (the download restarts)")'''

new = '''    have = s.stat().st_size if s.exists() else -1
    if have != size:
        # #2587 follow-up to PR #2632: a metadata-only GGUF (n_tensors == 0) has no tensor payload,
        # so neither its size nor its SHA-256 need match the pinned (LFS-pointer) values.
        # whole_shard() and check_shards() already accept such shards; verify_sha256 must too,
        # otherwise setup never reaches them and re-downloads forever.
        if s.exists():
            try:
                sys.path.insert(0, str(ROOT / "tools"))
                from gguf_reader import GGUFFile
                if not GGUFFile(s).tensors:
                    say(f"  {s.name}: metadata-only GGUF ({have:,} vs pinned {size:,}, "
                        f"{have - size:+,} bytes); size and SHA check skipped (#2587)")
                    return
            except (OSError, ValueError, struct.error):
                pass
        fail(f"{s.name} is {have:,} bytes, not {size:,}", "delete it and run setup again (the download restarts)")'''

if old not in src:
    raise SystemExit("Pattern not found — check setup.py lines 1795-1799")
src = src.replace(old, new, 1)
p.write_text(src)
print("Patched OK")
PY

git diff setup.py | head -40

Expected diff:

@@ -1794,6 +1794,19 @@ def verify_sha256(s: Path, size: int, sha: str) -> None:
     have = s.stat().st_size if s.exists() else -1
     if have != size:
+        # #2587 follow-up to PR #2632: a metadata-only GGUF ...
+        if s.exists():
+            try:
+                sys.path.insert(0, str(ROOT / "tools"))
+                from gguf_reader import GGUFFile
+                if not GGUFFile(s).tensors:
+                    say(f"  {s.name}: metadata-only GGUF ...")
+                    return
+            except (OSError, ValueError, struct.error):
+                pass
         fail(f"{s.name} is {have:,} bytes, not {size:,}", ...)

Why this approach instead of fixing the pinned SHA

You could modify MODELS["sha256"][...] to insert the correct SHA 6c5370... and size 10946624. However:

  • Fragile — if Unsloth re-generates the shard again, it breaks again.
  • Does not solve the root issue — a metadata-only GGUF is a legitimate case already recognized by PR #2632; verify_sha256 should be consistent with whole_shard/check_shards.
  • Does not go upstream — the pinned SHA fix would be specific only to your instance.
<!-- gh-comment-id:6204028634 --> @DrLove73 commented on GitHub (Oct 15, 2026): I have this localy fixed and it passed. AI I used located 3 location with issues, 2 from some PR and one additional. - **Line 1704** — PR #2632 (`whole_shard`) - **Line 1795** — my new (`verify_sha256`) ← this addition finaly solved the holdup, together with other two - **Line 1969** — PR #2632 (`check_shards`) Thinking process and patch (sorry, I am not a developer and do not have enough time now to learn how to post properly): * * * Everything is now confirmed. Two key findings: **Finding 1: Pinned size/sha in `MODELS` are incorrect** ```python "Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf": (10946618, "610922cdb1afe1094e95d7a3e86b12ee33317ebbf7320ac9344e21b6ae4bb69f"), ``` * Pinned size: `10,946,618` — actual: `10,946,624` → **+6 bytes** * Pinned SHA: `610922...` — actual: `6c5370...` → **mismatch** This means that the **pinned SHA is not for this file at all**. It is likely for the original version before Unsloth re-generated the file (the HF LFS pointer is outdated). So **not only does the size mismatch — the SHA mismatches as well**. This is why the "just check GGUF header" logic from PR #2632 is the only correct approach: we cannot rely on either the size or the SHA for this shard. **Finding 2: The call from `setup.py:5618`** ```python verify_sha256(gguf, *fam["sha256"][gguf.name]) ``` `fam["sha256"]` comes directly from the `MODELS` dict. Since the pinned SHA is wrong, **there is no way to bypass this without a patch**. You cannot even modify the `.done` file, because it stores the `sha256 <hex>` from the last successful run — and this file has never passed. * * * Patch — skip for metadata-only GGUF Identical pattern as PR #2632. Backup + patch: ```bash cd /mnt/nvme/models/Strata cp setup.py setup.py.bak.$(date +%Y%m%d-%H%M%S) ``` Then: ```bash python3 - <<'PY' import pathlib p = pathlib.Path("setup.py") src = p.read_text() old = ''' have = s.stat().st_size if s.exists() else -1 if have != size: fail(f"{s.name} is {have:,} bytes, not {size:,}", "delete it and run setup again (the download restarts)")''' new = ''' have = s.stat().st_size if s.exists() else -1 if have != size: # #2587 follow-up to PR #2632: a metadata-only GGUF (n_tensors == 0) has no tensor payload, # so neither its size nor its SHA-256 need match the pinned (LFS-pointer) values. # whole_shard() and check_shards() already accept such shards; verify_sha256 must too, # otherwise setup never reaches them and re-downloads forever. if s.exists(): try: sys.path.insert(0, str(ROOT / "tools")) from gguf_reader import GGUFFile if not GGUFFile(s).tensors: say(f" {s.name}: metadata-only GGUF ({have:,} vs pinned {size:,}, " f"{have - size:+,} bytes); size and SHA check skipped (#2587)") return except (OSError, ValueError, struct.error): pass fail(f"{s.name} is {have:,} bytes, not {size:,}", "delete it and run setup again (the download restarts)")''' if old not in src: raise SystemExit("Pattern not found — check setup.py lines 1795-1799") src = src.replace(old, new, 1) p.write_text(src) print("Patched OK") PY git diff setup.py | head -40 ``` Expected diff: ``` @@ -1794,6 +1794,19 @@ def verify_sha256(s: Path, size: int, sha: str) -> None: have = s.stat().st_size if s.exists() else -1 if have != size: + # #2587 follow-up to PR #2632: a metadata-only GGUF ... + if s.exists(): + try: + sys.path.insert(0, str(ROOT / "tools")) + from gguf_reader import GGUFFile + if not GGUFFile(s).tensors: + say(f" {s.name}: metadata-only GGUF ...") + return + except (OSError, ValueError, struct.error): + pass fail(f"{s.name} is {have:,} bytes, not {size:,}", ...) ``` Why this approach instead of fixing the pinned SHA You could modify `MODELS["sha256"][...]` to insert the correct SHA `6c5370...` and size `10946624`. However: * **Fragile** — if Unsloth re-generates the shard again, it breaks again. * **Does not solve the root issue** — a metadata-only GGUF is a legitimate case already recognized by PR #2632; `verify_sha256` should be consistent with `whole_shard`/`check_shards`. * **Does not go upstream** — the pinned SHA fix would be specific only to your instance.
Author
Owner

@lavren1974 commented on GitHub (Oct 16, 2026):

2. Бро ну ты бы хоть немного усилий приложил в написании ищью. Тупо скопировал логи и ответ ии. Хотя бы на английском что-ли сделал бы.

Я исправлюсь! Была проблема и она решена с помощью ии, но так как я общаюсь с ней по русски (chatgpt astra), то и ответ получился на русском! Я боялся искажения записи при использовании переводчика! (что довольно часто бывает - ещё не всё совершенно!!!), кроме того несмотря на публикации на английском - многие разработчики неплохо говорят на русском. В любом случае - была решена проблема и может она кому либо может помочь до исправления (с помощью ИИ, и это не стоит скрывать! Мы все этим пользуемся, и даже профи!). У меня всё работает на карте 4080 (16 гб), и я даже у же неделю не заглядываю в ollama и lmstudio. Я тестирую, использую свой комп в тестах и результаты на уровне (chatgpt, cloude sonnet, deepsek)!!!
Model Score
Sonnet 5.5 29
DeepSeek 29
UD-Q5_K_XL 27
UD-IQ4_XS 26
UD-Q4_K_XL 23
Qwen3.8 Max 22

<!-- gh-comment-id:6221579708 --> @lavren1974 commented on GitHub (Oct 16, 2026): > 2\. Бро ну ты бы хоть немного усилий приложил в написании ищью. Тупо скопировал логи и ответ ии. Хотя бы на английском что-ли сделал бы. Я исправлюсь! Была проблема и она решена с помощью ии, но так как я общаюсь с ней по русски (chatgpt astra), то и ответ получился на русском! Я боялся искажения записи при использовании переводчика! (что довольно часто бывает - ещё не всё совершенно!!!), кроме того несмотря на публикации на английском - многие разработчики неплохо говорят на русском. В любом случае - была решена проблема и может она кому либо может помочь до исправления (с помощью ИИ, и это не стоит скрывать! Мы все этим пользуемся, и даже профи!). У меня всё работает на карте 4080 (16 гб), и я даже у же неделю не заглядываю в ollama и lmstudio. Я тестирую, использую свой комп в тестах и результаты на уровне (chatgpt, cloude sonnet, deepsek)!!! Model Score Sonnet 5.5 29 DeepSeek 29 UD-Q5_K_XL 27 UD-IQ4_XS 26 UD-Q4_K_XL 23 Qwen3.8 Max 22
Author
Owner

@RenZekta commented on GitHub (Oct 16, 2026):

2. Бро ну ты бы хоть немного усилий приложил в написании ищью. Тупо скопировал логи и ответ ии. Хотя бы на английском что-ли сделал бы.

Я исправлюсь! Была проблема и она решена с помощью ии, но так как я общаюсь с ней по русски (chatgpt astra), то и ответ получился на русском! Я боялся искажения записи при использовании переводчика! (что довольно часто бывает - ещё не всё совершенно!!!), кроме того несмотря на публикации на английском - многие разработчики неплохо говорят на русском. В любом случае - была решена проблема и может она кому либо может помочь до исправления (с помощью ИИ, и это не стоит скрывать! Мы все этим пользуемся, и даже профи!). У меня всё работает на карте 4080 (16 гб), и я даже у же неделю не заглядываю в ollama и lmstudio. Я тестирую, использую свой комп в тестах и результаты на уровне (chatgpt, cloude sonnet, deepsek)!!!
Model Score
Sonnet 5.5 29
DeepSeek 29
UD-Q5_K_XL 27
UD-IQ4_XS 26
UD-Q4_K_XL 23
Qwen3.8 Max 22

Ну, да, главное, что разработчик понял и баг получилось исправить.

<!-- gh-comment-id:6221770449 --> @RenZekta commented on GitHub (Oct 16, 2026): > > > > > > 2\. Бро ну ты бы хоть немного усилий приложил в написании ищью. Тупо скопировал логи и ответ ии. Хотя бы на английском что-ли сделал бы. > > Я исправлюсь! Была проблема и она решена с помощью ии, но так как я общаюсь с ней по русски (chatgpt astra), то и ответ получился на русском! Я боялся искажения записи при использовании переводчика! (что довольно часто бывает - ещё не всё совершенно!!!), кроме того несмотря на публикации на английском - многие разработчики неплохо говорят на русском. В любом случае - была решена проблема и может она кому либо может помочь до исправления (с помощью ИИ, и это не стоит скрывать! Мы все этим пользуемся, и даже профи!). У меня всё работает на карте 4080 (16 гб), и я даже у же неделю не заглядываю в ollama и lmstudio. Я тестирую, использую свой комп в тестах и результаты на уровне (chatgpt, cloude sonnet, deepsek)!!! > Model Score > Sonnet 5.5 29 > DeepSeek 29 > UD-Q5_K_XL 27 > UD-IQ4_XS 26 > UD-Q4_K_XL 23 > Qwen3.8 Max 22 Ну, да, главное, что разработчик понял и баг получилось исправить.
Author
Owner

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

Thanks for the report. The UD-Q5_K_XL install error (setup counted the metadata-only first shard as 6 bytes short) is fixed since 0.1.45, so setup on 0.2.0-beta accepts the file. We're closing this as part of the tracker reset.

If it still fails on 0.2.0-beta, add the area prefix to the title ([Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]), put the Strata version and your hardware in the issue form fields, and comment /reopen. A check runs and reopens it.

<!-- gh-comment-id:6271140313 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for the report. The UD-Q5_K_XL install error (setup counted the metadata-only first shard as 6 bytes short) is fixed since 0.1.45, so setup on 0.2.0-beta accepts the file. We're closing this as part of the tracker reset. If it still fails on 0.2.0-beta, add the area prefix to the title ([Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]), put the Strata version and your hardware in the issue form fields, and comment `/reopen`. A check runs and reopens it.
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#1049
No description provided.