[GH-ISSUE #57] First run on Windows + Tesla V100 32GB: install notes, calibration, and a 32K/128K/256K context speed ladder #22

Closed
opened 2026-10-29 21:19:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @noahark on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/57

The README asks how Windows runs - here is the first one, on exactly the GPU class the Linux numbers come from.

Machine

  • 2x Xeon E5-2696 v3 (36C/72T), 128 GB DDR3L-1600, Windows 10 Enterprise LTSC 21H2
  • Tesla V100-PCIE-32GB (TCC mode), driver 581.80
  • VS Build Tools 2022 (MSVC 14.44.35207), CUDA toolkit 12.4 (12.x is fine for Volta sm_70; no need for 12.8)
  • Maya v1.0.21, model Maya-S-v2-IQ2_XXS (HF download, sha256 verified), single GPU, port 8080

Install

  • One compile blocker: setenv() is POSIX-only on MSVC -> #55 fixes it (7-line shim). Everything else built first try: engine ~6 min, vision encoder fine, pack (908 MB) written next to the shards.
  • --gguf-dir pointing at the first shard file, with the vision/ folder pre-placed inside the model folder, avoided any re-download of the 1.1 GB vision files.
  • The PC check's pagefile warning is real work: stock was a 4 GB pagefile; we set a custom 40-60 GB one on NVMe (a reboot, as advertised). Not A/B tested here, but #20's 3x says the RAM tier needs it.
  • Cold start to serving ~70-90 s; the first 2-3 answers are slow until the expert cache warms - worth knowing before benchmarking.

Calibration

--calibrate kept STRATA_GLM_PCIE_SHARE=0.25 + STRATA_GLM_CPU_LANE=18 (engine default 0.40 / all threads; probe 6.2 -> 7.5 tok/s, +21%). On this DDR3 dual-socket box it is not optional: served decode roughly doubled after tuning.

Numbers (server-side last_timings, warm cache)

context tier short-prompt decode decode after fill prefill
32K 19.4 tok/s 11.5K fill -> 16.7; 16.9K -> 14.9 359 tok: 70; 622: 105; 2.4K: 276; 11.5K: 584 t/s
128K 17.8 tok/s 6.5K -> 16.6; 67K -> 16.2 6.5K: 475; 67K: 585 t/s
256K 14.2 tok/s 66K -> 11.6; 240K -> 11.0 66K: 576; 240K: 533 t/s
  • --context 262144 (past the installer's 128K list) is accepted and works: a real 240K-token fill decodes at 11.0 tok/s and prefills at 533 t/s (one fill ~8 min).
  • The tier is a speed dial: KV takes VRAM from the expert pool even when unused (32K -> 256K short decode: -27%). 128K is the sweet spot here: -8% vs 32K and nearly flat fill decay (the #41 recent-positions KV index doing its job).
  • MTP/speculative stays idle on the single-GPU serving path (draft_n = 0), as the source comment says.
  • GPU stays cool and host-bound as expected on this platform: 50-60 C, ~90-130 W during decode.

Two Windows-specific notes

  1. The automatic NUMA CPU-lane pin (#44) hurts this box by ~22%: #56 has the A/B and a suggestion to default it off on Windows.
  2. The calibrated env block is keyed by context: --setup --context 131072 after calibrating at 32K writes the config without the tuned env, so switching tiers silently reverts to engine defaults. We re-add the keys by hand; carrying them over (or a note to recalibrate per tier) would be friendlier.

Happy to run more measurements on this box - it is a decent worst-case platform (DDR3 host bandwidth, PCIe 3.0, TCC).

Originally created by @noahark on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/57 The README asks how Windows runs - here is the first one, on exactly the GPU class the Linux numbers come from. ## Machine - 2x Xeon E5-2696 v3 (36C/72T), 128 GB DDR3L-1600, Windows 10 Enterprise LTSC 21H2 - Tesla V100-PCIE-32GB (TCC mode), driver 581.80 - VS Build Tools 2022 (MSVC 14.44.35207), CUDA toolkit **12.4** (12.x is fine for Volta sm_70; no need for 12.8) - Maya **v1.0.21**, model Maya-S-v2-IQ2_XXS (HF download, sha256 verified), single GPU, port 8080 ## Install - One compile blocker: `setenv()` is POSIX-only on MSVC -> #55 fixes it (7-line shim). Everything else built first try: engine ~6 min, vision encoder fine, pack (908 MB) written next to the shards. - `--gguf-dir` pointing at the first shard file, with the `vision/` folder pre-placed inside the model folder, avoided any re-download of the 1.1 GB vision files. - The PC check's pagefile warning is real work: stock was a 4 GB pagefile; we set a custom 40-60 GB one on NVMe (a reboot, as advertised). Not A/B tested here, but #20's 3x says the RAM tier needs it. - Cold start to serving ~70-90 s; the first 2-3 answers are slow until the expert cache warms - worth knowing before benchmarking. ## Calibration `--calibrate` kept `STRATA_GLM_PCIE_SHARE=0.25` + `STRATA_GLM_CPU_LANE=18` (engine default 0.40 / all threads; probe 6.2 -> 7.5 tok/s, +21%). On this DDR3 dual-socket box it is not optional: served decode roughly doubled after tuning. ## Numbers (server-side `last_timings`, warm cache) | context tier | short-prompt decode | decode after fill | prefill | |---|---|---|---| | 32K | 19.4 tok/s | 11.5K fill -> 16.7; 16.9K -> 14.9 | 359 tok: 70; 622: 105; 2.4K: 276; 11.5K: 584 t/s | | 128K | 17.8 tok/s | 6.5K -> 16.6; 67K -> 16.2 | 6.5K: 475; 67K: 585 t/s | | 256K | 14.2 tok/s | 66K -> 11.6; 240K -> 11.0 | 66K: 576; 240K: 533 t/s | - `--context 262144` (past the installer's 128K list) is accepted and works: a real 240K-token fill decodes at 11.0 tok/s and prefills at 533 t/s (one fill ~8 min). - The tier is a speed dial: KV takes VRAM from the expert pool even when unused (32K -> 256K short decode: -27%). 128K is the sweet spot here: -8% vs 32K and nearly flat fill decay (the #41 recent-positions KV index doing its job). - MTP/speculative stays idle on the single-GPU serving path (`draft_n = 0`), as the source comment says. - GPU stays cool and host-bound as expected on this platform: 50-60 C, ~90-130 W during decode. ## Two Windows-specific notes 1. The automatic NUMA CPU-lane pin (#44) hurts this box by ~22%: #56 has the A/B and a suggestion to default it off on Windows. 2. The calibrated `env` block is keyed by context: `--setup --context 131072` after calibrating at 32K writes the config **without** the tuned env, so switching tiers silently reverts to engine defaults. We re-add the keys by hand; carrying them over (or a note to recalibrate per tier) would be friendlier. Happy to run more measurements on this box - it is a decent worst-case platform (DDR3 host bandwidth, PCIe 3.0, TCC).
Author
Owner

@mw00 commented on GitHub (Oct 9, 2026):

Thank you for the first Windows + V100 report! In v1.0.27:

  • The setenv build error is fixed (#54, the same fix as your #55).
  • A setup for another context keeps the tuning: it now takes the settings --calibrate found at the nearest tuned context, and says so, instead of the engine's defaults. --calibrate still tunes each context on its own if you run it.
  • The README's Windows section mentions your V100 and CUDA 12.4 build.
  • The pin question is answered in #56.
<!-- gh-comment-id:6088023786 --> @mw00 commented on GitHub (Oct 9, 2026): Thank you for the first Windows + V100 report! In v1.0.27: - **The `setenv` build error** is fixed (#54, the same fix as your #55). - **A setup for another context keeps the tuning**: it now takes the settings `--calibrate` found at the nearest tuned context, and says so, instead of the engine's defaults. `--calibrate` still tunes each context on its own if you run it. - **The README's Windows section** mentions your V100 and CUDA 12.4 build. - **The pin question** is answered in #56.
Author
Owner

@mw00 commented on GitHub (Oct 11, 2026):

Closing, since everything here was answered and fixed in v1.0.27: the setenv build error (#54), the setup for another context keeping the tuning, and the README's Windows section. The pin question continues in #56. Thank you again for the first Windows + V100 report.

<!-- gh-comment-id:6108261360 --> @mw00 commented on GitHub (Oct 11, 2026): Closing, since everything here was answered and fixed in v1.0.27: the `setenv` build error (#54), the setup for another context keeping the tuning, and the README's Windows section. The pin question continues in #56. Thank you again for the first Windows + V100 report.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#22
No description provided.