[GH-ISSUE #3275] [Other] calibrate dies with "there is no GPU 0,1" on a dual config whose gpu is the string form #1329

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

Originally created by @MEsfits on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3275

Area

[Other] (anything else, including setup and installation)

Desktop app, Terminal or source?

Source (setup.sh / setup.py in a source tree at 0.2.0)

What happened

Setup's calibration of a dual-GPU config whose "gpu" is the string form "0,1" runs all measurement rounds, then stops with:

  [X]  there is no GPU 0,1: 0 = NVIDIA GeForce RTX 3090 Ti, 1 = NVIDIA GeForce RTX 3090

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

Expected: the calibration completes and is saved, exactly as for the list form "gpu": [0, 1]. Nothing is saved, because the hardware key is what the measured rounds are saved under, and computing it is where it dies.

Cause: hardware_key() passes cfg["gpu"] to gpu_info() unchanged; gpu_info() matches one card by number (x["index"] == pick), so the string "0,1" matches nothing. Serve already splits the same string form, and list-form duals work. recommend_remote_expert_opt() also silently skips string-form duals (isinstance(..., list) check), so they never get the helper-cache recommendation.

Smallest steps or command that reproduce it

  1. Source tree at 0.2.0 (engine 0.1.45.3) with a dual-GPU config whose "gpu" is the string form "0,1" (serve accepts it).
  2. Run setup and let it calibrate that config.
  3. After "Measuring the expert tier ..." and the bench round, setup stops with the message above.

Reproduction status

Reproduced locally

Strata version

Strata 0.2.0-beta · engine 0.1.45.3 (source tree at main e88ee39d)

Graphics card, memory and system

2x RTX 3090 (3090 Ti 24 GB + 3090 24 GB) · 59 GB RAM · Ubuntu 26.04

Model, size and settings

Qwen3.8-Flash-Next IQ3_S dual config · 256K context · pictures on

Logs

  Measuring the expert tier every 1, 160 swaps, decay 0.97 (restarts the engine) ...[strata] starting the engine: reading the model's weights ...
[...]
    146.4 tok/s

  [X]  there is no GPU 0,1: 0 = NVIDIA GeForce RTX 3090 Ti, 1 = NVIDIA GeForce RTX 3090

Notes

This was reported before (#2378 on the 0.1.45 line) and a fix was sent, but it is not in the 0.2.0 tree (setup.py still has the pre-fix line). The earlier issue/PR were closed without it landing, so this is resubmitted for 0.2.0.

Originally created by @MEsfits on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3275 ### Area [Other] (anything else, including setup and installation) ### Desktop app, Terminal or source? Source (setup.sh / setup.py in a source tree at 0.2.0) ### What happened Setup's calibration of a dual-GPU config whose `"gpu"` is the string form `"0,1"` runs all measurement rounds, then stops with: ``` [X] there is no GPU 0,1: 0 = NVIDIA GeForce RTX 3090 Ti, 1 = NVIDIA GeForce RTX 3090 Setup stopped. Fix the item above and run it again - everything already done is kept and skipped. ``` Expected: the calibration completes and is saved, exactly as for the list form `"gpu": [0, 1]`. Nothing is saved, because the hardware key is what the measured rounds are saved under, and computing it is where it dies. Cause: `hardware_key()` passes `cfg["gpu"]` to `gpu_info()` unchanged; `gpu_info()` matches one card by number (`x["index"] == pick`), so the string `"0,1"` matches nothing. Serve already splits the same string form, and list-form duals work. `recommend_remote_expert_opt()` also silently skips string-form duals (`isinstance(..., list)` check), so they never get the helper-cache recommendation. ### Smallest steps or command that reproduce it 1. Source tree at 0.2.0 (engine 0.1.45.3) with a dual-GPU config whose `"gpu"` is the string form `"0,1"` (serve accepts it). 2. Run setup and let it calibrate that config. 3. After "Measuring the expert tier ..." and the bench round, setup stops with the message above. ### Reproduction status Reproduced locally ### Strata version Strata 0.2.0-beta · engine 0.1.45.3 (source tree at main e88ee39d) ### Graphics card, memory and system 2x RTX 3090 (3090 Ti 24 GB + 3090 24 GB) · 59 GB RAM · Ubuntu 26.04 ### Model, size and settings Qwen3.8-Flash-Next IQ3_S dual config · 256K context · pictures on ### Logs ``` Measuring the expert tier every 1, 160 swaps, decay 0.97 (restarts the engine) ...[strata] starting the engine: reading the model's weights ... [...] 146.4 tok/s [X] there is no GPU 0,1: 0 = NVIDIA GeForce RTX 3090 Ti, 1 = NVIDIA GeForce RTX 3090 ``` ### Notes This was reported before (#2378 on the 0.1.45 line) and a fix was sent, but it is not in the 0.2.0 tree (`setup.py` still has the pre-fix line). The earlier issue/PR were closed without it landing, so this is resubmitted for 0.2.0.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 19, 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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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:6278072783 --> @github-actions[bot] commented on GitHub (Oct 19, 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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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

@MEsfits commented on GitHub (Oct 19, 2026):

Fix submitted in #3276 (against 0.2.0 / main): gpu_sel() normalizes the string form, hardware_key() and recommend_remote_expert_opt() use it, plus a CalibrationKey regression test. Verified on 2x RTX 3090 (3090 Ti + 3090) with "gpu": "0,1" -- calibrate now keys correctly and proceeds.

<!-- gh-comment-id:6278078770 --> @MEsfits commented on GitHub (Oct 19, 2026): Fix submitted in #3276 (against 0.2.0 / main): `gpu_sel()` normalizes the string form, `hardware_key()` and `recommend_remote_expert_opt()` use it, plus a `CalibrationKey` regression test. Verified on 2x RTX 3090 (3090 Ti + 3090) with `"gpu": "0,1"` -- calibrate now keys correctly and proceeds.
Author
Owner

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

Thanks, this follows the format now.

<!-- gh-comment-id:6278144613 --> @github-actions[bot] commented on GitHub (Oct 19, 2026): Thanks, this follows the format now.
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#1329
No description provided.