mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #18] [MERGED] HIP: --bench and --report on Linux AMD (build-hip, HIP_VISIBLE_DEVICES, amd-smi/rocm-smi) #284
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#284
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/mw00/project-maya/pull/18
Author: @boxwrench
Created: 10/8/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @mw00
Base:
main← Head:amd/hip-bench-report📝 Commits (1)
b8aec56Support Maya benchmarks and reports on Linux HIP📊 Changes
3 files changed (+337 additions, -12 deletions)
View changed files
📝
docs/AMD_MAYA.md(+7 -0)📝
maya.py(+97 -11)📝
tools/test_maya_hip.py(+233 -1)📄 Description
The follow-up from the #7 review:
--benchand--reporton the Linux HIP backend. Onlymaya.py, its tests and the AMD notes change; the engine is untouched.What changes
--benchon a HIP config (or--backend hip) runsbuild-hip/stratawith the config's GPU selection and environment (HIP_VISIBLE_DEVICES), keeping a two-GPU order such as[1, 0].--configpicks the config to benchmark.--reporton HIP lists the AMD GPUs (name, gfx architecture, VRAM, driver) fromamd-smi/rocm-smiwhen present, falling back to the KFD topology, plus the ROCm path and version and the engine's speed lines. Nonvidia-smicall on HIP; a missing tool never fails the report.Checked
tools/test_maya_hip.py(20 tests, mocked: HIP build and env for the bench, report from mockedrocm-smiJSON and from the KFD fallback, nonvidia-smi) andtools/test_hip_archs.pypass.--benchran on both cards in order (2K-token prompt 322 tok/s, answers 30.4 tok/s mean of 3);--reportlisted both GPUs (gfx1201 32 GB, gfx1100 20 GB) and ROCm 7.2.1, exit code 0.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.