[GH-ISSUE #20] Unable to prepare the model, python version and ram requirements clarifications #7

Closed
opened 2026-11-04 01:38:57 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @comet13579 on GitHub (Sep 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/20

I am not able to run the START-HERE.bat to start the program, with error log provided as below. There might be python version clarification needed.

My setup:
CPU: R7 3700X locked to 3.6GHz
RAM: 32GB DDR4
GPU: modified RTX3080 20GB

In step one it has stated 32GB is [ok], however the default Q2_0 requires me to have 48GB of system ram. I changed it to 32GB in the config. The reddit post introduced this (https://www.reddit.com/r/LocalLLaMA/comments/1wp7zyb/qwen38flashnext_on_12gb_vram_65_tokens_per_second/) has stated a total of 39.2GB minimum in RAM+VRAM able to run but I cannot. Thank you

Error log:

=== Step 6: preparing the model for Strata ===
  [ok] model prepared: G:\Strata\packs\iq2_xs
  The MTP draft layer (speculative decoding, ~2x faster output) comes from the original Qwen checkpoint:
  only its ~5 GB of MTP tensors are downloaded.
  > G:\Strata\.venv\Scripts\python.exe G:\Strata\tools\mtp_fetch.py fetch --out G:\Strata\mtp
  > G:\Strata\.venv\Scripts\python.exe G:\Strata\tools\mtp_pack.py --src G:\Strata\mtp --experts q2_0 --out G:\Strata\mtp\mtp-q2_0.gguf
Traceback (most recent call last):
  File "G:\Strata\tools\mtp_pack.py", line 35, in <module>
    add_gguf_py()
    ~~~~~~~~~~~^^
  File "G:\Strata\tools\_paths.py", line 26, in add_gguf_py
    p = gguf_py()
  File "G:\Strata\tools\_paths.py", line 17, in gguf_py
    ENGINE.parents[1] / ".ref" / "llama.cpp" / "gguf-py"]
    ~~~~~~~~~~~~~~^^^
  File "C:\python3.13\Lib\pathlib\_local.py", line 49, in __getitem__
    raise IndexError(idx)
IndexError: 1

  [X]  command failed (exit 1): python.exe

Setup stopped. Fix the item above and run it again - everything already done is kept and skipped.
Press any key to continue . . .
Originally created by @comet13579 on GitHub (Sep 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/20 I am not able to run the START-HERE.bat to start the program, with error log provided as below. There might be python version clarification needed. My setup: CPU: R7 3700X locked to 3.6GHz RAM: 32GB DDR4 GPU: modified RTX3080 20GB In step one it has stated 32GB is [ok], however the default Q2_0 requires me to have 48GB of system ram. I changed it to 32GB in the config. The reddit post introduced this (https://www.reddit.com/r/LocalLLaMA/comments/1wp7zyb/qwen38flashnext_on_12gb_vram_65_tokens_per_second/) has stated a total of 39.2GB minimum in RAM+VRAM able to run but I cannot. Thank you Error log: ``` === Step 6: preparing the model for Strata === [ok] model prepared: G:\Strata\packs\iq2_xs The MTP draft layer (speculative decoding, ~2x faster output) comes from the original Qwen checkpoint: only its ~5 GB of MTP tensors are downloaded. > G:\Strata\.venv\Scripts\python.exe G:\Strata\tools\mtp_fetch.py fetch --out G:\Strata\mtp > G:\Strata\.venv\Scripts\python.exe G:\Strata\tools\mtp_pack.py --src G:\Strata\mtp --experts q2_0 --out G:\Strata\mtp\mtp-q2_0.gguf Traceback (most recent call last): File "G:\Strata\tools\mtp_pack.py", line 35, in <module> add_gguf_py() ~~~~~~~~~~~^^ File "G:\Strata\tools\_paths.py", line 26, in add_gguf_py p = gguf_py() File "G:\Strata\tools\_paths.py", line 17, in gguf_py ENGINE.parents[1] / ".ref" / "llama.cpp" / "gguf-py"] ~~~~~~~~~~~~~~^^^ File "C:\python3.13\Lib\pathlib\_local.py", line 49, in __getitem__ raise IndexError(idx) IndexError: 1 [X] command failed (exit 1): python.exe Setup stopped. Fix the item above and run it again - everything already done is kept and skipped. Press any key to continue . . . ```
Author
Owner

@Niko1221 commented on GitHub (Sep 27, 2026):

Thanks for the log. Two things:

The crash: tools/_paths.py looked two folders above the install, and G:\Strata only has one, hence IndexError: 1. Fixed in v0.1.7 (a few other tools had the same bug). git pull / re-download and it gets past step 6.

RAM: this one's a hard limit right now, sorry. Strata keeps all of the model's experts in RAM (34 GB for Q2_0, 35.5 for IQ2_XS). The GPU only holds a copy of the most-used ones, so a bigger GPU makes it faster but doesn't lower the RAM needed. With Windows on top, that's 48 GB for the smallest models, and with 32 GB it would page to disk constantly even if it started. So editing the 48 in setup.py just gets you further before it fails. I can't vouch for the 39.2 GB number from the Reddit post; it doesn't match how the engine works today. Setup now says this up front at step 1 instead of printing [ok].

Keeping the VRAM experts out of RAM (so a 20 GB card + 32 GB could work) is possible, but it's a bigger change. I've noted it as a feature idea. Closing this since the crash is fixed, but feel free to reopen or open a feature request.

<!-- gh-comment-id:5854234307 --> @Niko1221 commented on GitHub (Sep 27, 2026): Thanks for the log. Two things: **The crash:** `tools/_paths.py` looked two folders above the install, and `G:\Strata` only has one, hence `IndexError: 1`. Fixed in v0.1.7 (a few other tools had the same bug). `git pull` / re-download and it gets past step 6. **RAM:** this one's a hard limit right now, sorry. Strata keeps *all* of the model's experts in RAM (34 GB for Q2_0, 35.5 for IQ2_XS). The GPU only holds a copy of the most-used ones, so a bigger GPU makes it faster but doesn't lower the RAM needed. With Windows on top, that's 48 GB for the smallest models, and with 32 GB it would page to disk constantly even if it started. So editing the 48 in setup.py just gets you further before it fails. I can't vouch for the 39.2 GB number from the Reddit post; it doesn't match how the engine works today. Setup now says this up front at step 1 instead of printing [ok]. Keeping the VRAM experts out of RAM (so a 20 GB card + 32 GB could work) is possible, but it's a bigger change. I've noted it as a feature idea. Closing this since the crash is fixed, but feel free to reopen or open a feature request.
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#7
No description provided.