mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2111] [CLOSED] [Benchmark] strata_bench: read CUDA UMD version, storage and GPU power/PCIe detail #3865
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#3865
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/2111
Author: @JoShMiQueL
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:bench-tool-machine-fields📝 Commits (1)
11be9a5strata_bench: read CUDA UMD version, storage and GPU power/PCIe detail📊 Changes
1 file changed (+60 additions, -10 deletions)
View changed files
📝
tools/strata_bench.py(+60 -10)📄 Description
Problem and result
The community report came out with fields missing or wrong:
CUDA UMD Version: 13.4innvidia-smi, notCUDA Version:, somachine.cudacame out null and the README saidCUDA: not read.not measured, the GPU line carried no power limit, PCIe link, state or temperature, and Windows 11 reported asWindows 10becauseplatform.release()is still10.After the change a report reads
CUDA (driver supports up to): 13.4; engine built for CUDA 13.0, names the storage device, adds aGPU detail (after the run, near idle)line with power limit and draw, PCIe gen x width, pstate and temperature, and saysWindows 11. The measurement path (HTTP suite, statistics,results.json) is untouched: this changes what a report prints, not what it measures.Related discussion
none
Approach
machine.engine_buildfrom the engine'sBUILD.jsonnext to the exe, so driver ceiling and build toolkit are both in the report; no engine change.(after the run, near idle):collect_machineruns a second time after the suite, so they are end-of-run, near-idle figures (qiuzan2001).Get-PhysicalDiskon Windows,system_profileron macOS,lsblk -e 7on Linux (-e 7drops the snap loop devices that flooded the line on a stock Ubuntu, qiuzan2001).Validation
Passed:
python tools/test_strata_bench.pyon8f7fd37d, rebased onmaine88ee39d(0.2.0-beta): 20 tests, OK. The new checks cover the rendered report line with both CUDA numbers, the storage line, the GPU detail line, both nvidia-smi CUDA header forms, and the power/PCIe/pstate/temperature parsing.python tools/test_windows_amd_gpu.pyandpython tools/test_bench_host.py, same revision: 5 and 5 tests, OK.gpu_info_local()returnedpower_limit_w=165.00,power_draw_w=20.25,pcie=gen4 x8,pstate=P3,temp_c=45,cuda=13.4;storage_info()returnedSamsung SSD 990 EVO Plus 2TB SSD/NVMe; the OS label resolves toWindows 11.ruff check tools/strata_bench.py tools/test_strata_bench.py: the same 4 findings as onmain, no new ones (3 of them are theportNameError below).Failed:
python tools/strata_bench.py --config strata-coder-iq1_m.json --port 9 --runs 1 --quietonmaine88ee39dends inNameError: name 'port' is not defined(tools/strata_bench.py:1040), from #2330. It is a separate problem and is not touched here; it blocks a default run that starts its own server on 0.2.0-beta.Not run:
system_profiler) and Linux (lsblk -e 7) storage branches: no such machine here, they are read, not executed.portNameError above. The tests drive the--urlpath against a fake server, not a real engine.Limits
engine_buildneeds aBUILD.jsonnext to the exe; without one the field is left out rather than guessed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.