[GH-ISSUE #475] Update.bat script #219

Closed
opened 2026-11-04 01:41:00 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kelheor on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/475

Can you make an update.bat script? It's easy to use "git pull", but the problem is that it's not enough for update. And now I have to run START-HERE.bat which download additional update after that. The problem is that then it starts to run the engine and sometimes you don't want that. So a separate script for update would be helpful, when you don't have a free VRAM at moment but want to update the project to the latest version.

Originally created by @kelheor on GitHub (Oct 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/475 Can you make an update.bat script? It's easy to use "git pull", but the problem is that it's not enough for update. And now I have to run START-HERE.bat which download additional update after that. The problem is that then it starts to run the engine and sometimes you don't want that. So a separate script for update would be helpful, when you don't have a free VRAM at moment but want to update the project to the latest version.
Author
Owner

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

Added in 0.1.36: UPDATE.bat (Linux: ./update.sh). It does git pull in a git clone (a zip copy is told to download the new zip), then updates the Python packages, the engine, each model's settings and the draft vocabulary, and stops without starting the model. Docs: docs/INSTALL.md, "Updating". Thanks for the idea!

<!-- gh-comment-id:5956865585 --> @Niko1221 commented on GitHub (Oct 2, 2026): Added in [0.1.36](https://github.com/Niko1221/Strata/releases/tag/v0.1.36): `UPDATE.bat` (Linux: `./update.sh`). It does `git pull` in a git clone (a zip copy is told to download the new zip), then updates the Python packages, the engine, each model's settings and the draft vocabulary, and stops without starting the model. Docs: docs/INSTALL.md, "Updating". Thanks for the idea!
Author
Owner

@kelheor commented on GitHub (Oct 2, 2026):

Added in 0.1.36: UPDATE.bat (Linux: ./update.sh). It does git pull in a git clone (a zip copy is told to download the new zip), then updates the Python packages, the engine, each model's settings and the draft vocabulary, and stops without starting the model. Docs: docs/INSTALL.md, "Updating". Thanks for the idea!

Could you also check that it shows the download progress during the update (like when I use START-HERE.bat) , and then write a message when the update is complete? I tried to run it, and it hung on 'downloading new engine version.' I thought something was wrong with my network, but when I restarted the script, it showed that the update was already completed.

Update: it seems you fixed it - on different PC now I see this in logs:

Getting the newest Strata (git pull) ...
Already up to date.
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)
  [ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil already installed
  Updating the ready-made engine (0.1.33 -> 0.1.37 or newer) ...
  Downloading the ready-made Strata engine ...
  Strata engine:   0.12 / 0.12 GB (94%)
  [ok] Strata engine downloaded
  [ok] ready-made engine 0.1.37 for sm_75, sm_86, sm_89, sm_120 (CUDA 13.0)
  [ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) already installed
  [ok] qwen3.8-flash-next-coder-iq1_m: up to date

  [ok] Strata is updated (engine 0.1.37). Start the model with START-HERE.bat when you want it.
<!-- gh-comment-id:5957111157 --> @kelheor commented on GitHub (Oct 2, 2026): > Added in [0.1.36](https://github.com/Niko1221/Strata/releases/tag/v0.1.36): `UPDATE.bat` (Linux: `./update.sh`). It does `git pull` in a git clone (a zip copy is told to download the new zip), then updates the Python packages, the engine, each model's settings and the draft vocabulary, and stops without starting the model. Docs: docs/INSTALL.md, "Updating". Thanks for the idea! Could you also check that it shows the download progress during the update (like when I use START-HERE.bat) , and then write a message when the update is complete? I tried to run it, and it hung on 'downloading new engine version.' I thought something was wrong with my network, but when I restarted the script, it showed that the update was already completed. **Update:** it seems you fixed it - on different PC now I see this in logs: ``` Getting the newest Strata (git pull) ... Already up to date. Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) [ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil already installed Updating the ready-made engine (0.1.33 -> 0.1.37 or newer) ... Downloading the ready-made Strata engine ... Strata engine: 0.12 / 0.12 GB (94%) [ok] Strata engine downloaded [ok] ready-made engine 0.1.37 for sm_75, sm_86, sm_89, sm_120 (CUDA 13.0) [ok] NVIDIA CUDA libraries (cuBLAS, CUDA runtime; ~0.4 GB) already installed [ok] qwen3.8-flash-next-coder-iq1_m: up to date [ok] Strata is updated (engine 0.1.37). Start the model with START-HERE.bat when you want 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#219
No description provided.