[GH-ISSUE #3892] [Host] Strata insists on loading CUDA while I have HIP GPU on W11 #1664

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

Originally created by @bob-u on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3892

I started using strata with Nvidia card which I since swapped with Radeon. However, strata insists on starting CUDA engine no matter what I do:

  1. irm https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex
Strata Terminal installer
  This computer: Windows AMD64 (windows-x86_64), graphics: AMD Radeon RX 9070
  Release folder: https://github.com/Niko1221/Strata/releases/latest/download
  Terminal 0.1.48.1 (69 MB)
Downloading...
  Checksum ok.
Checking the release's signature...
  Signature ok.
Installed. Run: strata launch

'strata launch' fails '(after going through config steps) due to trying to load CUDA engine

  1. I deleted all files in %appdata% and run Strata-0.2.3-windows-hip.exe
    I go through all the model config steps, select RX9070 but strata insists on using CUDA:
Image

Log says: [host] inference · No Strata engine for this PC. This Strata is for AMD RX 9000 cards. Your PC has an NVIDIA card: download the NVIDIA version from https://github.com/Niko1221/Strata/releases

So it appears that part of Strata recognizes I have Radeon but another continues to use CUDA.
my device list:

Image
Originally created by @bob-u on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3892 I started using strata with Nvidia card which I since swapped with Radeon. However, strata insists on starting CUDA engine no matter what I do: 1. irm https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex ``` Strata Terminal installer This computer: Windows AMD64 (windows-x86_64), graphics: AMD Radeon RX 9070 Release folder: https://github.com/Niko1221/Strata/releases/latest/download Terminal 0.1.48.1 (69 MB) Downloading... Checksum ok. Checking the release's signature... Signature ok. Installed. Run: strata launch ``` 'strata launch' fails '(after going through config steps) due to trying to load CUDA engine 2. I deleted all files in %appdata% and run Strata-0.2.3-windows-hip.exe I go through all the model config steps, select RX9070 but strata insists on using CUDA: <img width="615" height="166" alt="Image" src="https://github.com/user-attachments/assets/950c0762-832b-4173-b167-d3e4cffcc347" /> Log says: [host] inference · No Strata engine for this PC. This Strata is for AMD RX 9000 cards. Your PC has an NVIDIA card: download the NVIDIA version from https://github.com/Niko1221/Strata/releases So it appears that part of Strata recognizes I have Radeon but another continues to use CUDA. my device list: <img width="270" height="83" alt="Image" src="https://github.com/user-attachments/assets/b54e14fe-b153-4875-add6-1063610e87f9" />
Author
Owner

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

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

Thanks, this follows the format now.

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

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

I also used windows uninstaller to uninstall Strata and reinstalled HIP version, unfortunately problem continues:

log:
[host] inference · No Strata engine for this PC. This Strata is for AMD RX 9000 cards. Your PC has an NVIDIA card: download the NVIDIA version from https://github.com/Niko1221/Strata/releases

After the failure, I checked the %AppData%\Local\Strata\components\enginefolder and it has CUDA engine in it, even though I installed Strata-0.2.3-windows-hip.exe

PS C:\Users\Bob> Get-PnpDevice -Class Display -PresentOnly |
>>   Select-Object Status, FriendlyName, InstanceId

Status FriendlyName                     InstanceId
------ ------------                     ----------
OK     AMD Radeon RX 9070               PCI\VEN_1002&DEV_7550&SUBSYS_54061849&REV_C3\6&6918276&0&00000009
OK     Microsoft Remote Display Adapter SWD\REMOTEDISPLAYENUM\RDPIDD_INDIRECTDISPLAY&SESSIONID_0002
OK     AMD Radeon(TM) Graphics          PCI\VEN_1002&DEV_164E&SUBSYS_7D781462&REV_C3\4&27E89230&0&0041

So it may be HIP/CUDA detection logic within Strata. Perhaps reading stale registry? I uninstalled all nvidia drivers and apps, btw.

<!-- gh-comment-id:6376844818 --> @bob-u commented on GitHub (Oct 23, 2026): I also used windows uninstaller to uninstall Strata and reinstalled HIP version, unfortunately problem continues: log: `[host] inference · No Strata engine for this PC. This Strata is for AMD RX 9000 cards. Your PC has an NVIDIA card: download the NVIDIA version from https://github.com/Niko1221/Strata/releases` After the failure, I checked the %AppData%\Local\Strata\components\enginefolder and it has CUDA engine in it, even though I installed Strata-0.2.3-windows-hip.exe ``` PS C:\Users\Bob> Get-PnpDevice -Class Display -PresentOnly | >> Select-Object Status, FriendlyName, InstanceId Status FriendlyName InstanceId ------ ------------ ---------- OK AMD Radeon RX 9070 PCI\VEN_1002&DEV_7550&SUBSYS_54061849&REV_C3\6&6918276&0&00000009 OK Microsoft Remote Display Adapter SWD\REMOTEDISPLAYENUM\RDPIDD_INDIRECTDISPLAY&SESSIONID_0002 OK AMD Radeon(TM) Graphics PCI\VEN_1002&DEV_164E&SUBSYS_7D781462&REV_C3\4&27E89230&0&0041 ``` So it may be HIP/CUDA detection logic within Strata. Perhaps reading stale registry? I uninstalled all nvidia drivers and apps, btw.
Author
Owner

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

I found Nico's patch from 17 hours ago where they mention I can force to download proper engine.
first option did not work:

PS C:\Users\Bob> strata update --backend hip-rx9070
Strata update (https://github.com/Niko1221/Strata/releases/latest/download)
  Reading the signed update feed
Feed sequence 109, signed by 5d1bc23abbeffd0d
Engine  none   The feed has no engine package for this PC.
second, via env path worked:
PS C:\Users\Bob> $env:STRATA_ENGINE_BACKEND = "hip-rx9070"
PS C:\Users\Bob> strata update
Strata update (https://github.com/Niko1221/Strata/releases/latest/download)
  Reading the signed update feed
  downloading engine 0.1.48 windows-x86_64-hip-rx9070: 100%  (537 of 537 MiB)
  Unpacking 0.1.48 windows-x86_64-hip-rx9070
  Checking the package signature and every file
  Test-starting engine 0.1.48 windows-x86_64-hip-rx9070 before switching to it
  Switching to engine 0.1.48 windows-x86_64-hip-rx9070
  Engine 0.1.48 is installed and will be used on the next start
Feed sequence 109, signed by 5d1bc23abbeffd0d
Engine  none -> 0.1.48   updated (tested: no model is installed yet, so the engine was run with --version only)
Control 0.1.48.1   up to date
The previous engine version is kept; `strata components rollback` returns to it.

Unfortunately, Strata continues to think that my PC has CUDA not RX9070:

Image Image

same problem via TUI:

Image Image
<!-- gh-comment-id:6377874425 --> @bob-u commented on GitHub (Oct 24, 2026): I found Nico's patch from 17 hours ago where they mention I can force to download proper engine. first option did not work: ``` PS C:\Users\Bob> strata update --backend hip-rx9070 Strata update (https://github.com/Niko1221/Strata/releases/latest/download) Reading the signed update feed Feed sequence 109, signed by 5d1bc23abbeffd0d Engine none The feed has no engine package for this PC. ``` ``` second, via env path worked: PS C:\Users\Bob> $env:STRATA_ENGINE_BACKEND = "hip-rx9070" PS C:\Users\Bob> strata update Strata update (https://github.com/Niko1221/Strata/releases/latest/download) Reading the signed update feed downloading engine 0.1.48 windows-x86_64-hip-rx9070: 100% (537 of 537 MiB) Unpacking 0.1.48 windows-x86_64-hip-rx9070 Checking the package signature and every file Test-starting engine 0.1.48 windows-x86_64-hip-rx9070 before switching to it Switching to engine 0.1.48 windows-x86_64-hip-rx9070 Engine 0.1.48 is installed and will be used on the next start Feed sequence 109, signed by 5d1bc23abbeffd0d Engine none -> 0.1.48 updated (tested: no model is installed yet, so the engine was run with --version only) Control 0.1.48.1 up to date The previous engine version is kept; `strata components rollback` returns to it. ``` Unfortunately, Strata continues to think that my PC has CUDA not RX9070: <img width="659" height="743" alt="Image" src="https://github.com/user-attachments/assets/d521dddc-92e2-4998-8b50-542a8ad971d8" /> <img width="1207" height="348" alt="Image" src="https://github.com/user-attachments/assets/b9547817-c982-40d4-a025-3de5338cca8d" /> same problem via TUI: <img width="1081" height="102" alt="Image" src="https://github.com/user-attachments/assets/d72cce50-ec89-48be-b4ff-f31219b951ca" /> <img width="1091" height="265" alt="Image" src="https://github.com/user-attachments/assets/8c84ecc1-5a79-4acb-859a-70356110418f" />
Author
Owner

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

I found a workaround:
set engine to: $env:STRATA_ENGINE_BACKEND = "hip-rx9070"

download engine: strata update

set engine to: $env:STRATA_ENGINE_BACKEND = "hip"

start strata: strata launch

The issue appears to be that parts of strata expect hip engine while engine update expects hip-rx9070

<!-- gh-comment-id:6378032964 --> @bob-u commented on GitHub (Oct 24, 2026): I found a workaround: set engine to: $env:STRATA_ENGINE_BACKEND = "hip-rx9070" download engine: strata update set engine to: $env:STRATA_ENGINE_BACKEND = "hip" start strata: strata launch The issue appears to be that parts of strata expect hip engine while engine update expects hip-rx9070
Author
Owner

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

Another data point: after reboot I am unable to start strata unless STRATA_ENGINE_BACKEND is set to hip:

PS C:\Users\Bob> strata launch
Looking at this computer…
The model is ready, but Strata can't start it yet: it couldn't find an engine for this computer (The engine is up to date). Next step: run `strata update` to get the newest engines and start again; if this stays, your graphics card is not one Strata supports yet, and the model files stay on this computer for when it is. The model files stay on this computer.
PS C:\Users\Bob> $env:STRATA_ENGINE_BACKEND = "hip"
PS C:\Users\Bob> strata launch
Looking at this computer…

Btw, nvidia-smi does not detect any Nvidia cards:

PS C:\Users\Bob> nvidia-smi.exe
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. This can also be happening if non-NVIDIA GPU is running as primary display, and NVIDIA GPU is in WDDM mode.
<!-- gh-comment-id:6387869703 --> @bob-u commented on GitHub (Oct 24, 2026): Another data point: after reboot I am unable to start strata unless STRATA_ENGINE_BACKEND is set to hip: ``` PS C:\Users\Bob> strata launch Looking at this computer… The model is ready, but Strata can't start it yet: it couldn't find an engine for this computer (The engine is up to date). Next step: run `strata update` to get the newest engines and start again; if this stays, your graphics card is not one Strata supports yet, and the model files stay on this computer for when it is. The model files stay on this computer. ``` ``` PS C:\Users\Bob> $env:STRATA_ENGINE_BACKEND = "hip" PS C:\Users\Bob> strata launch Looking at this computer… ``` Btw, nvidia-smi does not detect any Nvidia cards: ``` PS C:\Users\Bob> nvidia-smi.exe NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. This can also be happening if non-NVIDIA GPU is running as primary display, and NVIDIA GPU is in WDDM mode. ```
Author
Owner

@Vop3p commented on GitHub (Oct 25, 2026):

From the source (v0.2.3.1 and current main read the same way), both the app and the Terminal take the card make from the display-class registry key, and both put NVIDIA first:

  • App: apps/host/server/bundled-engine.mjs, windowsDisplayVendors() runs reg query HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318} /s /v MatchingDeviceId and collects every VEN_xxxx under that key; gpuBackendHere() then returns cuda if 10de is among them, before 1002. That is where [host] inference · No Strata engine for this PC ... Your PC has an NVIDIA card comes from (wrongMakeNotice).
  • Terminal / Control: strata_control/engine_component.py, _windows_display_adapters_registry() reads every numbered subkey of the same key; detect_backend() uses those adapters first and _first_make() orders cuda, hip, sycl.

Neither checks whether the device behind a subkey is still in the PC. With STRATA_ENGINE_BACKEND unset and your RX 9070 in that key, the only way both reach "NVIDIA" is a subkey whose MatchingDeviceId has VEN_10DE; your Get-PnpDevice -PresentOnly list has no NVIDIA device, so that subkey belongs to the card you took out. That is also why $env:STRATA_ENGINE_BACKEND = "hip" works for you: both functions read that variable before the registry.

To see the entry:

reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}" /s /v MatchingDeviceId
Get-PnpDevice -Class Display | Select Status, Present, FriendlyName, InstanceId

Removing it: Device Manager > View > Show hidden devices > Display adapters, right-click the greyed-out NVIDIA adapter > Uninstall device (tick "Attempt to remove the driver" if offered). After that the first command should list only VEN_1002 (and your iGPU), and Strata should pick hip without the variable.

For the code, a fix would be to count only adapters that are present (for example, map each class subkey to its device instance through HKLM\SYSTEM\CurrentControlSet\Enum\PCI\*\*\Driver and keep the ones Get-PnpDevice -PresentOnly / CM_Get_DevNode_Status report present), in both places. The --backend hip-rx9070 part is #4013.

Developed with an AI coding assistant.

<!-- gh-comment-id:6393188213 --> @Vop3p commented on GitHub (Oct 25, 2026): From the source (v0.2.3.1 and current `main` read the same way), both the app and the Terminal take the card make from the display-class registry key, and both put NVIDIA first: - App: `apps/host/server/bundled-engine.mjs`, `windowsDisplayVendors()` runs `reg query HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318} /s /v MatchingDeviceId` and collects every `VEN_xxxx` under that key; `gpuBackendHere()` then returns `cuda` if `10de` is among them, before `1002`. That is where `[host] inference · No Strata engine for this PC ... Your PC has an NVIDIA card` comes from (`wrongMakeNotice`). - Terminal / Control: `strata_control/engine_component.py`, `_windows_display_adapters_registry()` reads every numbered subkey of the same key; `detect_backend()` uses those adapters first and `_first_make()` orders `cuda`, `hip`, `sycl`. Neither checks whether the device behind a subkey is still in the PC. With `STRATA_ENGINE_BACKEND` unset and your RX 9070 in that key, the only way both reach "NVIDIA" is a subkey whose `MatchingDeviceId` has `VEN_10DE`; your `Get-PnpDevice -PresentOnly` list has no NVIDIA device, so that subkey belongs to the card you took out. That is also why `$env:STRATA_ENGINE_BACKEND = "hip"` works for you: both functions read that variable before the registry. To see the entry: ```powershell reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}" /s /v MatchingDeviceId Get-PnpDevice -Class Display | Select Status, Present, FriendlyName, InstanceId ``` Removing it: Device Manager > View > Show hidden devices > Display adapters, right-click the greyed-out NVIDIA adapter > Uninstall device (tick "Attempt to remove the driver" if offered). After that the first command should list only `VEN_1002` (and your iGPU), and Strata should pick `hip` without the variable. For the code, a fix would be to count only adapters that are present (for example, map each class subkey to its device instance through `HKLM\SYSTEM\CurrentControlSet\Enum\PCI\*\*\Driver` and keep the ones `Get-PnpDevice -PresentOnly` / CM_Get_DevNode_Status report present), in both places. The `--backend hip-rx9070` part is #4013. Developed with an AI coding assistant.
Author
Owner

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

@Vop3p If you read through my messages (and screenshots) you'll notice that my issue is that Strata insists that I have CUDA and refuses to use RX9070. Another is that update and launch are looking for different backend string.

<!-- gh-comment-id:6393776758 --> @bob-u commented on GitHub (Oct 25, 2026): @Vop3p If you read through my messages (and screenshots) you'll notice that my issue is that Strata insists that I have CUDA and refuses to use RX9070. Another is that update and launch are looking for different backend string.
Author
Owner

@Vop3p commented on GitHub (Oct 25, 2026):

Yes, that's exactly the problem I'm describing. My guess from reading Strata's code: Windows still has an entry for your old NVIDIA card, and Strata, which checks for NVIDIA first, takes that entry as a card that is still there. Setting STRATA_ENGINE_BACKEND=hip works because it skips that check.

Could you confirm it first? Paste this into the same PowerShell window you've been using (cmd works too, no admin needed) and send me the output:

reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}" /s /v MatchingDeviceId

On my PC it lists two cards, VEN_1002 (the AMD card) and VEN_8086 (Intel graphics). If yours also has a line with VEN_10DE, that is the leftover NVIDIA entry Strata is reacting to, even though Device Manager no longer shows the card. Once I see the output I can say what to do about it.

The other problem (update wants hip-rx9070, launch only accepts hip) is a separate bug, reported in #4013.

<!-- gh-comment-id:6394639210 --> @Vop3p commented on GitHub (Oct 25, 2026): Yes, that's exactly the problem I'm describing. My guess from reading Strata's code: Windows still has an entry for your old NVIDIA card, and Strata, which checks for NVIDIA first, takes that entry as a card that is still there. Setting `STRATA_ENGINE_BACKEND=hip` works because it skips that check. Could you confirm it first? Paste this into the same PowerShell window you've been using (cmd works too, no admin needed) and send me the output: ``` reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}" /s /v MatchingDeviceId ``` On my PC it lists two cards, `VEN_1002` (the AMD card) and `VEN_8086` (Intel graphics). If yours also has a line with `VEN_10DE`, that is the leftover NVIDIA entry Strata is reacting to, even though Device Manager no longer shows the card. Once I see the output I can say what to do about it. The other problem (update wants `hip-rx9070`, launch only accepts `hip`) is a separate bug, reported in #4013.
Author
Owner

@denkmalnach commented on GitHub (Oct 25, 2026):

same problem here with fresh installation:

Setup:

Windows 11
AMD R9700 for AI inference
NVIDIA RTX4070 for Desktop

What happened:

the Strata app

  • Windows, AMD RX 9000 or R9700 Version
  • sees both cards, but 0GB VRAM shown for AMD card and NVIDIA card choosen (section "This computer");
  • warning appears: "This Strata is for AMD RX 9000 cards. Your PC has an NVIDIA card: download the NVIDIA version from https://github.com/Niko1221/Strata/releases"
  • error appears: "The last install failed"

the install script

  • "This computer" shows RTX 4070
  • warning at the [9 Save]: This computer also has an AMD AI PRO R9700 (32GB). The AMD build of Strata can use it - it fits bigger models
  • no choice available
  • launch flag --gpu x changes nothing
<!-- gh-comment-id:6396057710 --> @denkmalnach commented on GitHub (Oct 25, 2026): same problem here with fresh installation: ### Setup: Windows 11 AMD R9700 for AI inference NVIDIA RTX4070 for Desktop ### What happened: #### the Strata app - Windows, AMD RX 9000 or R9700 Version - sees both cards, but 0GB VRAM shown for AMD card and NVIDIA card choosen (section "This computer"); - warning appears: "This Strata is for AMD RX 9000 cards. Your PC has an NVIDIA card: download the NVIDIA version from https://github.com/Niko1221/Strata/releases" - error appears: "The last install failed" #### the install script - "This computer" shows RTX 4070 - warning at the [9 Save]: This computer also has an AMD AI PRO R9700 (32GB). The AMD build of Strata can use it - it fits bigger models - no choice available - launch flag --gpu x changes nothing
Author
Owner

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

Thank you and Vop3p for the analysis. The Terminal was fixed in 0.2.5 (a card taken out of the PC no longer decides the engine). The desktop app still read the old registry entry; Fixed in 0.2.7 with the same rule. The hip-rx9070 versus hip mismatch is tracked in #4013.

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

<!-- gh-comment-id:6445840489 --> @Niko1221 commented on GitHub (Oct 27, 2026): Thank you and Vop3p for the analysis. The Terminal was fixed in 0.2.5 (a card taken out of the PC no longer decides the engine). The desktop app still read the old registry entry; Fixed in 0.2.7 with the same rule. The hip-rx9070 versus hip mismatch is tracked in #4013. 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#1664
No description provided.