fix(scripts/bench): scale card window and buffer budgets via doctor.ps1 on <15GB GPUs #3

Closed
github-bot wants to merge 2 commits from github-bot/gh-3 into main AGit
Owner

@⁠n-romanovich on GitHub · 2026-12-02 08:03 UTC · original
n-romanovich:fix/bench-12gb-vram-scaling → main · +144 −3 · 2 files · 2 commits · closed without merging

Summary

  • Prevents scripts/bench.ps1 (baseline0, baseline1, current presets) from forcing 16 GB VRAM mirror budgets (VICTORY_CARD_WINDOWS_MB=2048, VICTORY_CARD_BUFFERS_MB=1280) on 8 GB and 12 GB GPUs.
  • Queries scripts/doctor.ps1 -AsHashtable and caps VICTORY_CARD_WINDOWS_MB / VICTORY_CARD_BUFFERS_MB to the GPU's VRAM tier (1536 / 1024 for 12 GB, 1024 / 768 for 8 GB, unchanged 2048 / 1280 for 16 GB+) while still allowing -ExtraEnv overrides.
  • PowerShell 5.1+ compatible.

Closes #2

Verification

  • PowerShell AST syntax check on scripts/bench.ps1: PASS
  • cargo xtask policy: asset policy: 216 files ok
  • cargo clippy --workspace --all-targets -- -D warnings: 0 warnings
  • cargo test -p victory-shader --lib --locked emit::wave64_tests: 14/14 PASS
**@⁠n-romanovich** on GitHub · 2026-12-02 08:03 UTC · [original](https://github.com/n-romanovich/NVIctory/pull/3) `n-romanovich:fix/bench-12gb-vram-scaling` → `main` · +144 −3 · 2 files · 2 commits · closed without merging ## Summary - Prevents `scripts/bench.ps1` (`baseline0`, `baseline1`, `current` presets) from forcing 16 GB VRAM mirror budgets (`VICTORY_CARD_WINDOWS_MB=2048`, `VICTORY_CARD_BUFFERS_MB=1280`) on 8 GB and 12 GB GPUs. - Queries `scripts/doctor.ps1 -AsHashtable` and caps `VICTORY_CARD_WINDOWS_MB` / `VICTORY_CARD_BUFFERS_MB` to the GPU's VRAM tier (`1536` / `1024` for 12 GB, `1024` / `768` for 8 GB, unchanged `2048` / `1280` for 16 GB+) while still allowing `-ExtraEnv` overrides. - PowerShell 5.1+ compatible. Closes #2 ## Verification - PowerShell AST syntax check on `scripts/bench.ps1`: PASS - `cargo xtask policy`: `asset policy: 216 files ok` - `cargo clippy --workspace --all-targets -- -D warnings`: 0 warnings - `cargo test -p victory-shader --lib --locked emit::wave64_tests`: 14/14 PASS
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 08:05:03 +00:00
github-bot closed this pull request 2026-12-02 21:53:14 +00:00
Author
Owner

@⁠n-romanovich on GitHub · 2026-12-02 21:50 UTC · original

Closing this PR without merging as the underlying VRAM budget scaling and 12GB GPU issues have already been resolved in main via a different implementation.

**@⁠n-romanovich** on GitHub · 2026-12-02 21:50 UTC · [original](https://github.com/n-romanovich/NVIctory/pull/3#issuecomment-7359863386) Closing this PR without merging as the underlying VRAM budget scaling and 12GB GPU issues have already been resolved in main via a different implementation.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.