mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2296] [CLOSED] bench: run under UTF-8 and read CUDA from new nvidia-smi headers #3966
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#3966
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/2296
Author: @johlim
Created: 10/13/2026
Status: ❌ Closed
Base:
main← Head:bench-windows-fixes📝 Commits (1)
715235bbench: run under UTF-8 and read CUDA from new nvidia-smi headers📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
BENCH.bat(+1 -0)📝
tools/strata_bench.py(+1 -1)📄 Description
Two small Windows fixes for the benchmark, both found while running the suite on Korean Windows 11 with an NVIDIA 617.xx driver.
BENCH.bat sets PYTHONUTF8=1
On Korean Windows the default locale is cp949, so tools/strata_bench.py
crashed in project_version() with UnicodeDecodeError while reading the
BOM-headed CMakeLists.txt. Forcing UTF-8 mode fixes it.
tools/strata_bench.py reads the new nvidia-smi header format
Driver 617+ no longer prints the old "CUDA Version: X.Y" line; the header
now shows "CUDA UMD Version: X.Y" (plus KMD Version). The old regex found
nothing, so reports said "CUDA: not read" even though CUDA works fine.
The regex now accepts both forms.
Verification on RTX 4080 SUPER / driver 617.42 / Windows 11:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.