[GH-ISSUE #4026] [Other] setup rejects component:strata-engine as a missing file before starting the server #1737

Closed
opened 2026-11-04 01:53:35 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @jubeater on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4026

Area

[Other] — setup and installation

Desktop app, Terminal or source?

Terminal bundle's setup.py, using a component-backed run config.

What happened

A Qwen3.8-Flash-Next IQ3_S setup reported:

[X] strata-iq3_s.json refers to missing files: component:strata-engine
    run it again with --setup to repair

Setup stopped. Fix the item above and run it again - everything already done is kept and skipped.

The configuration's exe is component:strata-engine. The installed engine resolves successfully through strata_control.engine_component.resolve(full=False). Both model shards and the other referenced paths exist. This quick resolver check is not a full integrity verification or an inference run.

setup._start() includes cfg["exe"] in a list checked with Path.exists(). A component reference is not a filename, so setup stops before the server can resolve it.

Expected: check model files as files and let the server resolve and verify the component engine, including reporting a genuinely missing or damaged component.

Reproduction status

Reproduced locally with temporary fixture files and a mocked server subprocess on upstream commit 7dd5cf18e68c639a8773e096c5c79f971ea2a9f5. No GPU model was loaded.

Smallest reproduction

Run this from a full checkout on the upstream commit above:

import json
import tempfile
from pathlib import Path
from unittest import mock
import setup

with tempfile.TemporaryDirectory() as tmp:
    config = Path(tmp) / "strata-iq3_s.json"
    config.write_text(json.dumps({"exe": "component:strata-engine", "args": []}))
    with mock.patch.object(setup.subprocess, "call") as server:
        try:
            setup.start(config, None, open_browser=False, yes=True)
        except SystemExit as error:
            assert error.code == 1
        server.assert_not_called()

This produces the same missing-file message without requiring model weights or a GPU. It reproduces the premature rejection, not successful inference.

Strata version

  • Strata 0.2.4.2, Terminal/Control build 0.1.49.2, bundled Python 3.12.15 (verified with strata --version).
  • Installed engine component: 0.1.48, Linux x86_64 CUDA 13.
  • Regression fixture: upstream commit 7dd5cf18e68c639a8773e096c5c79f971ea2a9f5, system Python 3.14.8; no GPU model was loaded.

Graphics card, memory and system

  • GPU: NVIDIA GeForce RTX 4070 Ti SUPER, 16 GB VRAM (nvidia-smi reports 16,376 MiB).
  • NVIDIA driver: 615.78.08.
  • System RAM: 62.5 GiB reported by /proc/meminfo (MemTotal: 65573780 kB).
  • OS: CachyOS Linux, x86_64, kernel 7.3.0-4-cachyos.

These hardware details describe the reporting machine. The minimal reproduction above stops before GPU execution.

Model, size and settings

Qwen3.8-Flash-Next IQ3_S, 65,536 context, pictures enabled.

Simply omitting the reference from Path.exists() is insufficient for the component path: ensure_engine_for() still checks the legacy source-build engine folder. Windows HIP startup also tries legacy runtime repair, and explicit HIP GPU lists read the legacy build's architectures. The component-backed path should leave these checks to the server/component resolver. Literal engine paths should retain their existing validation.

Workaround

strata serve --profile /path/to/strata-iq3_s.json

The installed configuration passes strata serve --profile ... --plan. An actual GPU load through this workaround was not performed during this investigation.

Originally created by @jubeater on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4026 ## Area [Other] — setup and installation ## Desktop app, Terminal or source? Terminal bundle's setup.py, using a component-backed run config. ## What happened A Qwen3.8-Flash-Next IQ3_S setup reported: ```text [X] strata-iq3_s.json refers to missing files: component:strata-engine run it again with --setup to repair Setup stopped. Fix the item above and run it again - everything already done is kept and skipped. ``` The configuration's `exe` is `component:strata-engine`. The installed engine resolves successfully through `strata_control.engine_component.resolve(full=False)`. Both model shards and the other referenced paths exist. This quick resolver check is not a full integrity verification or an inference run. `setup._start()` includes `cfg["exe"]` in a list checked with `Path.exists()`. A component reference is not a filename, so setup stops before the server can resolve it. Expected: check model files as files and let the server resolve and verify the component engine, including reporting a genuinely missing or damaged component. ## Reproduction status Reproduced locally with temporary fixture files and a mocked server subprocess on upstream commit `7dd5cf18e68c639a8773e096c5c79f971ea2a9f5`. No GPU model was loaded. ## Smallest reproduction Run this from a full checkout on the upstream commit above: ```python import json import tempfile from pathlib import Path from unittest import mock import setup with tempfile.TemporaryDirectory() as tmp: config = Path(tmp) / "strata-iq3_s.json" config.write_text(json.dumps({"exe": "component:strata-engine", "args": []})) with mock.patch.object(setup.subprocess, "call") as server: try: setup.start(config, None, open_browser=False, yes=True) except SystemExit as error: assert error.code == 1 server.assert_not_called() ``` This produces the same missing-file message without requiring model weights or a GPU. It reproduces the premature rejection, not successful inference. ## Strata version - Strata 0.2.4.2, Terminal/Control build 0.1.49.2, bundled Python 3.12.15 (verified with `strata --version`). - Installed engine component: 0.1.48, Linux x86_64 CUDA 13. - Regression fixture: upstream commit `7dd5cf18e68c639a8773e096c5c79f971ea2a9f5`, system Python 3.14.8; no GPU model was loaded. ## Graphics card, memory and system - GPU: NVIDIA GeForce RTX 4070 Ti SUPER, 16 GB VRAM (`nvidia-smi` reports 16,376 MiB). - NVIDIA driver: 615.78.08. - System RAM: 62.5 GiB reported by `/proc/meminfo` (`MemTotal: 65573780 kB`). - OS: CachyOS Linux, x86_64, kernel `7.3.0-4-cachyos`. These hardware details describe the reporting machine. The minimal reproduction above stops before GPU execution. ## Model, size and settings Qwen3.8-Flash-Next IQ3_S, 65,536 context, pictures enabled. ## Related startup checks Simply omitting the reference from `Path.exists()` is insufficient for the component path: `ensure_engine_for()` still checks the legacy source-build engine folder. Windows HIP startup also tries legacy runtime repair, and explicit HIP GPU lists read the legacy build's architectures. The component-backed path should leave these checks to the server/component resolver. Literal engine paths should retain their existing validation. ## Workaround ```sh strata serve --profile /path/to/strata-iq3_s.json ``` The installed configuration passes `strata serve --profile ... --plan`. An actual GPU load through this workaround was not performed during this investigation.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Fill in "Strata version".
  • Fill in "Graphics card, memory and system".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6391202406 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Fill in "Strata version". - [ ] Fill in "Graphics card, memory and system". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6391257068 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks, this follows the format now.
Author
Owner

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

Thanks. Confirmed; the fix is in #4027 and is ported to the 0.2.7 branch. Closes with it.

<!-- gh-comment-id:6423206671 --> @Niko1221 commented on GitHub (Oct 26, 2026): Thanks. Confirmed; the fix is in #4027 and is ported to the 0.2.7 branch. Closes with 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#1737
No description provided.