From c6f5b3af32ecb08d54aaaaafaa5f32a131949235 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Sun, 5 Apr 2026 03:31:04 +0000 Subject: [PATCH] Fix Windows AMD: route has_rocm hosts to HIP prebuilt path resolve_release_asset_choice was selecting windows-cpu for all Windows x86_64 hosts including those with has_rocm=True. Windows AMD users should fall through to resolve_upstream_asset_choice which tries the HIP prebuilt first. Add "not host.has_rocm" guard to the published windows-cpu selection. --- studio/install_llama_prebuilt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/install_llama_prebuilt.py b/studio/install_llama_prebuilt.py index 6b0bb150d6..b18f265bcc 100755 --- a/studio/install_llama_prebuilt.py +++ b/studio/install_llama_prebuilt.py @@ -3120,7 +3120,7 @@ def resolve_release_asset_choice( ) published_choice: AssetChoice | None = None - if host.is_windows and host.is_x86_64: + if host.is_windows and host.is_x86_64 and not host.has_rocm: published_choice = published_asset_choice_for_kind(release, "windows-cpu") elif host.is_macos and host.is_arm64: published_choice = published_asset_choice_for_kind(release, "macos-arm64")