[GH-ISSUE #4013] [Other] Terminal: hip-<package> works in STRATA_ENGINE_BACKEND for strata update, but not as strata update --backend, and strata launch rejects it #1726

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

Originally created by @Vop3p on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4013

Terminal 0.2.3.1 (build 0.1.48.1), Windows 11, one RX 6900 XT (gfx1030). Three ways to name the AMD package, three results (strata update --check --output json --no-control for the first two):

how what happens
STRATA_ENGINE_BACKEND=hip-rdna2, then strata update --check hardware.variant_wanted = rdna2, backend hip, the rdna2 package is offered (as detect_hardware in strata_control/updater.py intends)
strata update --check --backend hip-rdna2 backend hip-rdna2 ("requested"), no package offered
STRATA_ENGINE_BACKEND=hip-rdna2, then strata launch ... stops: strata: STRATA_ENGINE_BACKEND='hip-rdna2' is not one of cpu, cuda, hip, metal, sycl

Why it matters: naming the package is the way out when the card cannot be identified or a second AMD GPU is present (#3439: an RX 6800 XT beside a Radeon 760M got the rx9070 package), and the hint in _settle_hip_variants tells people to "Name the build with STRATA_ENGINE_BACKEND=hip-". Following that hint and then running strata launch in the same shell stops the launch.

Suggestion (not a patch): accept hip-<variant> in --backend the same way detect_hardware does, and let strata launch (and the engine start) read hip-<variant> as backend hip.

Developed with an AI coding assistant; the three results above were run on the PC described.

Originally created by @Vop3p on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4013 Terminal 0.2.3.1 (build 0.1.48.1), Windows 11, one RX 6900 XT (gfx1030). Three ways to name the AMD package, three results (`strata update --check --output json --no-control` for the first two): | how | what happens | |---|---| | `STRATA_ENGINE_BACKEND=hip-rdna2`, then `strata update --check` | `hardware.variant_wanted` = `rdna2`, backend `hip`, the `rdna2` package is offered (as `detect_hardware` in `strata_control/updater.py` intends) | | `strata update --check --backend hip-rdna2` | backend `hip-rdna2` ("requested"), **no package offered** | | `STRATA_ENGINE_BACKEND=hip-rdna2`, then `strata launch ...` | stops: `strata: STRATA_ENGINE_BACKEND='hip-rdna2' is not one of cpu, cuda, hip, metal, sycl` | Why it matters: naming the package is the way out when the card cannot be identified or a second AMD GPU is present (#3439: an RX 6800 XT beside a Radeon 760M got the `rx9070` package), and the hint in `_settle_hip_variants` tells people to "Name the build with STRATA_ENGINE_BACKEND=hip-<build>". Following that hint and then running `strata launch` in the same shell stops the launch. Suggestion (not a patch): accept `hip-<variant>` in `--backend` the same way `detect_hardware` does, and let `strata launch` (and the engine start) read `hip-<variant>` as backend `hip`. Developed with an AI coding assistant; the three results above were run on the PC described.
Author
Owner

@bob-u commented on GitHub (Oct 24, 2026):

This ties to the issue I am experiencing: https://github.com/Niko1221/Strata/issues/3892#issue-6006847076

<!-- gh-comment-id:6390404131 --> @bob-u commented on GitHub (Oct 24, 2026): This ties to the issue I am experiencing: https://github.com/Niko1221/Strata/issues/3892#issue-6006847076
Author
Owner

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

Thank you. Fixed in 0.2.7: hip-<package> is accepted wherever the backend is named.

Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7

<!-- gh-comment-id:6445968894 --> @Niko1221 commented on GitHub (Oct 27, 2026): Thank you. Fixed in 0.2.7: `hip-<package>` is accepted wherever the backend is named. Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7
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#1726
No description provided.