[PR #897] [CLOSED] setup: the disk check counts only what step 6 still writes #2902

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/897
Author: @bsvinay
Created: 10/5/2026
Status: ❌ Closed

Base: main ← Head: fix-setup-disk-check


📝 Commits (1)

  • c737d8c setup: the disk check counts only what step 6 still writes

📊 Changes

1 file changed (+9 additions, -3 deletions)

View changed files

📝 setup.py (+9 -3)

📄 Description

A re-run of setup on an already installed model can fail on the disk check even though nothing new needs to be written.

Seen on: Swift 1.5 IQ3_XXS in the low-RAM mode (52 GB RAM, 2x RX 7900 XTX, Linux), models already downloaded and the pack already prepared in Strata-data/packs/swift-iq3_xxs (experts.bin + index.txt present). Setup stopped at step 2 with:

[X] not enough free disk space in /root/.ollama/models/swift-IQ3_XXS: need ~52 GB

The check always added the low-RAM copy (arena_gb + 1) and 8 GB for the MTP draft layer, even when both are already on the disk.

Change: count only what step 6 will still write.

  • the pack's experts.bin (the low-RAM copy, or the AVX-512 Q2_0 conversion) counts only when it is not already there (experts.bin + index.txt);
  • the MTP draft layer counts 2 GB instead of 8 when mtp/rt/experts.bin exists.

A fresh install asks for the same space as before. With the change, the same re-run passes the check and completes (steps 5-7 skip what is there).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/897 **Author:** [@bsvinay](https://github.com/bsvinay) **Created:** 10/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-setup-disk-check` --- ### 📝 Commits (1) - [`c737d8c`](https://github.com/Niko1221/Strata/commit/c737d8cf2a5493bd3da57b9aa3c2e7093b218c8f) setup: the disk check counts only what step 6 still writes ### 📊 Changes **1 file changed** (+9 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+9 -3) </details> ### 📄 Description A re-run of setup on an already installed model can fail on the disk check even though nothing new needs to be written. Seen on: Swift 1.5 IQ3_XXS in the low-RAM mode (52 GB RAM, 2x RX 7900 XTX, Linux), models already downloaded and the pack already prepared in Strata-data/packs/swift-iq3_xxs (experts.bin + index.txt present). Setup stopped at step 2 with: [X] not enough free disk space in /root/.ollama/models/swift-IQ3_XXS: need ~52 GB The check always added the low-RAM copy (arena_gb + 1) and 8 GB for the MTP draft layer, even when both are already on the disk. Change: count only what step 6 will still write. - the pack's experts.bin (the low-RAM copy, or the AVX-512 Q2_0 conversion) counts only when it is not already there (experts.bin + index.txt); - the MTP draft layer counts 2 GB instead of 8 when mtp/rt/experts.bin exists. A fresh install asks for the same space as before. With the change, the same re-run passes the check and completes (steps 5-7 skip what is there). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:04:00 +07:00
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#2902
No description provided.