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.
This commit is contained in:
parent
84a9c55e1b
commit
c6f5b3af32
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue