[PR #1974] [CLOSED] tools/strata_bench.py: keep the ROCm driver read on the ROCm path #3785

Closed
opened 2026-11-07 15:30:44 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 09ba7f1 tools/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() fills gpus from
rocm-smi --showproductname's Card Series lines. The list is therefore not empty, but the
driver field in it is None, so the gpu_driver field of the report picks that None and the
rocm_driver read a few lines above - in the same function - is thrown away. The header then
prints:

- OS: Linux 7.0.0-38-generic; GPU driver: not read; CUDA: not read

With the value used when it is present, it falls back to rocm_driver:

- OS: Linux 7.0.0-38-generic; GPU driver: 7.0.0-38-generic; CUDA: not read

Verified on a ROCm machine: rocm-smi --showdriverversion returns 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 read stays, which is
correct on an AMD-only box.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1974 **Author:** [@xxDoman](https://github.com/xxDoman) **Created:** 10/11/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-rocm-driver` --- ### 📝 Commits (1) - [`09ba7f1`](https://github.com/Niko1221/Strata/commit/09ba7f117cd92c203b1262e8afe925d3ef8856a8) tools/strata_bench.py: keep the ROCm driver read on the ROCm path ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/strata_bench.py` (+1 -1) </details> ### 📄 Description On a machine with ROCm only (no NVIDIA tooling) `gpu_info_local()` fills `gpus` from `rocm-smi --showproductname`'s Card Series lines. The list is therefore not empty, but the `driver` field in it is `None`, so the `gpu_driver` field of the report picks that `None` and the `rocm_driver` read a few lines above - in the same function - is thrown away. The header then prints: ``` - OS: Linux 7.0.0-38-generic; GPU driver: not read; CUDA: not read ``` With the value used when it is present, it falls back to `rocm_driver`: ``` - OS: Linux 7.0.0-38-generic; GPU driver: 7.0.0-38-generic; CUDA: not read ``` Verified on a ROCm machine: `rocm-smi --showdriverversion` returns 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 read` stays, which is correct on an AMD-only box. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:30:44 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3785
No description provided.