[PR #4267] [CLOSED] [Other] update test start: skip DeepSeek models when choosing the model to test with #4978

Closed
opened 2026-11-07 16:31:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4267
Author: @ai-bits
Created: 10/26/2026
Status: ❌ Closed

Base: main ← Head: fix-update-test-start-deepseek


📝 Commits (1)

  • 4b20f65 Update test start: skip DeepSeek models when choosing the model to test with

📊 Changes

2 files changed (+72 additions, -2 deletions)

View changed files

📝 strata_control/updater.py (+18 -2)
➕ tests/terminal/test_update_test_start_model.py (+54 -0)

📄 Description

Problem and result: strata update tests a new engine by starting it with one installed model's run config. discover_run_config picks the first
installed model by id. On a PC with a DeepSeek and a Qwen model installed, "deepseek-..." sorts first. The test start swaps in the Strata engine
(strata.exe) under test, which does not understand DeepSeek's options, so it exits and the update reports "The new engine 0.1.50 did not start
correctly on this computer". DeepSeek runs on strata-dsv41, a separate package. After this change the update tests with a model the engine under
test can run.

Observed on Windows 11, 2x RTX PRO 4500 Blackwell + RTX 4000 Ada, Strata 0.2.6 Terminal, engine 0.1.48 -> 0.1.50. The test-start log begins:

engine started: ...\0.1.50-windows-x86_64-cuda-cuda13\strata.exe --serve --pack ...deepseek-v4.1-flash-ist-das-2.25bpw --max-context 4096 --eos 1 --dspark auto --dspark-conf 0.65 --tp 2 --layer-split auto
unknown argument: --eos

Workaround before this change: strata update --force --model-config <the Qwen run config>, which succeeded (engine 0.1.50 installed).

Related discussion: #4108 shows the same message, but its reporters are on Linux and the log says the engine started and then stopped, which looks like
a different cause. This PR does not claim to fix #4108.

Approach: discover_run_config skips a run config whose "arch" is "deepseek41" or whose "exe" is strata-dsv41. A config that cannot be read is tried as
before. With only a DeepSeek model installed the update has no model to test with, as on a first run (binary smoke test where allowed).

Validation:

  • Passed: python -m unittest tests.terminal.test_update_test_start_model (4 tests, Python 3.13, Windows 11). 3 of the 4 fail without the change.
  • Failed: none from this change. python -m unittest tests.terminal.test_updater has 11 failures/errors with and without the change (same list both times; not investigated).
  • Not run: strata update on this PC with the change applied (only the --model-config workaround was run); Linux and macOS; GPU hardware beyond the update above.

Limits: with only a DeepSeek model installed the test start still has no model to use. The message in that case is the existing "no installed model to
test with". This does not change how DeepSeek's own engine package is updated.

🤖 Generated with Claude Code


🔄 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/4267 **Author:** [@ai-bits](https://github.com/ai-bits) **Created:** 10/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-update-test-start-deepseek` --- ### 📝 Commits (1) - [`4b20f65`](https://github.com/Niko1221/Strata/commit/4b20f6515d403cb0deccd4d0695c266d3116499a) Update test start: skip DeepSeek models when choosing the model to test with ### 📊 Changes **2 files changed** (+72 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `strata_control/updater.py` (+18 -2) ➕ `tests/terminal/test_update_test_start_model.py` (+54 -0) </details> ### 📄 Description Problem and result: strata update tests a new engine by starting it with one installed model's run config. discover_run_config picks the first installed model by id. On a PC with a DeepSeek and a Qwen model installed, "deepseek-..." sorts first. The test start swaps in the Strata engine (strata.exe) under test, which does not understand DeepSeek's options, so it exits and the update reports "The new engine 0.1.50 did not start correctly on this computer". DeepSeek runs on strata-dsv41, a separate package. After this change the update tests with a model the engine under test can run. Observed on Windows 11, 2x RTX PRO 4500 Blackwell + RTX 4000 Ada, Strata 0.2.6 Terminal, engine 0.1.48 -> 0.1.50. The test-start log begins: ``` engine started: ...\0.1.50-windows-x86_64-cuda-cuda13\strata.exe --serve --pack ...deepseek-v4.1-flash-ist-das-2.25bpw --max-context 4096 --eos 1 --dspark auto --dspark-conf 0.65 --tp 2 --layer-split auto unknown argument: --eos ``` Workaround before this change: `strata update --force --model-config <the Qwen run config>`, which succeeded (engine 0.1.50 installed). Related discussion: #4108 shows the same message, but its reporters are on Linux and the log says the engine started and then stopped, which looks like a different cause. This PR does not claim to fix #4108. Approach: discover_run_config skips a run config whose "arch" is "deepseek41" or whose "exe" is strata-dsv41. A config that cannot be read is tried as before. With only a DeepSeek model installed the update has no model to test with, as on a first run (binary smoke test where allowed). Validation: - Passed: `python -m unittest tests.terminal.test_update_test_start_model` (4 tests, Python 3.13, Windows 11). 3 of the 4 fail without the change. - Failed: none from this change. `python -m unittest tests.terminal.test_updater` has 11 failures/errors with and without the change (same list both times; not investigated). - Not run: `strata update` on this PC with the change applied (only the `--model-config` workaround was run); Linux and macOS; GPU hardware beyond the update above. Limits: with only a DeepSeek model installed the test start still has no model to use. The message in that case is the existing "no installed model to test with". This does not change how DeepSeek's own engine package is updated. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:31:45 +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#4978
No description provided.