mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3080] [CLOSED] [Other] setup: recognize the Instinct MI50 / MI60 / Radeon VII (gfx906) as a supported card #4442
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3080
Author: @ken2425pm
Created: 10/18/2026
Status: ❌ Closed
Base:
main← Head:setup-gfx906📝 Commits (1)
a7ad1e1setup: recognize the Instinct MI50 / MI60 / Radeon VII (gfx906) as a supported card📊 Changes
2 files changed (+20 additions, -3 deletions)
View changed files
📝
setup.py(+14 -3)📝
tools/test_setup_amd.py(+6 -0)📄 Description
Problem and result: on a gfx906 box, setup says "not supported", and pushed past that the ROCm wheel lookup dies in a KeyError (AMD's wheels hold 7.x families only; gfx906 runs from a source build on a system ROCm 6.x). After the change setup lists the card, and the wheel path fails with the build instruction instead of the KeyError.
Related discussion: #2883 (gfx906 community validation — reopened by the bot with a maintainer pick-up promised); the closed #3080 of the same content (0.2.0-beta tracker reset).
Approach:
AMD_ARCHS/AMD_NAMES/AMD_CARDSgain gfx906, pointing at the gfx906 source-build section ofdocs/AMD_HIP.md;rocm_root()fails for archs without a wheel index instead of raising KeyError. No builder branch — setup does not drive a gfx906 build, it names the path. No other card's route changes; the wheel-driven default path is untouched.Validation:
python tools/test_setup_amd.pyon this checkout (v0.2.6): 51 of 52 tests pass, including the new no-wheels exception cases (gfx906is the one supported arch deliberately absent fromROCM_INDEXES, andamd_problemstays quiet for it).test_setup_points_windows_gfx12_to_the_entry— pre-existing: it also fails on the pristine v0.2.6 tag (Windows AMD: the driver resetsis absent fromdocs/TROUBLESHOOTING.mdthere), untouched by this change.docs/ROCm_6_3_3.md).Limits: MI50 is validated on hardware (2x, system ROCm 6.3.3, the docs PR); MI60 is recognized by arch only, not run here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.