[PR #2296] [CLOSED] bench: run under UTF-8 and read CUDA from new nvidia-smi headers #3966

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

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

  • 715235b bench: 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.

  1. 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.

  2. 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:

  • gpu_info_local() returns cuda 13.4 (was None)
  • a fresh bench run writes "CUDA: 13.4" into the report (was "not read")

🔄 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/2296 **Author:** [@johlim](https://github.com/johlim) **Created:** 10/13/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-windows-fixes` --- ### 📝 Commits (1) - [`715235b`](https://github.com/Niko1221/Strata/commit/715235bf06bb93903a23f97150ecdc46e5f17d72) bench: run under UTF-8 and read CUDA from new nvidia-smi headers ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `BENCH.bat` (+1 -0) 📝 `tools/strata_bench.py` (+1 -1) </details> ### 📄 Description Two small Windows fixes for the benchmark, both found while running the suite on Korean Windows 11 with an NVIDIA 617.xx driver. 1. 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. 2. 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: - gpu_info_local() returns cuda 13.4 (was None) - a fresh bench run writes "CUDA: 13.4" into the report (was "not read") --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:32:04 +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#3966
No description provided.