mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1974] [CLOSED] tools/strata_bench.py: keep the ROCm driver read on the ROCm path #3785
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#3785
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/1974
Author: @xxDoman
Created: 10/11/2026
Status: ❌ Closed
Base:
main← Head:bench-rocm-driver📝 Commits (1)
09ba7f1tools/strata_bench.py: keep the ROCm driver read on the ROCm path📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
tools/strata_bench.py(+1 -1)📄 Description
On a machine with ROCm only (no NVIDIA tooling)
gpu_info_local()fillsgpusfromrocm-smi --showproductname's Card Series lines. The list is therefore not empty, but thedriverfield in it isNone, so thegpu_driverfield of the report picks thatNoneand therocm_driverread a few lines above - in the same function - is thrown away. The header thenprints:
With the value used when it is present, it falls back to
rocm_driver:Verified on a ROCm machine:
rocm-smi --showdriverversionreturns the version, the report said"not read" before the change and shows the version after it. The affected field is header
metadata only; nothing in the measurement path changes, and
CUDA: not readstays, which iscorrect on an AMD-only box.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.