[PR #3411] [Engine] enable measured V100 performance defaults #4622

Open
opened 2026-11-07 15:37:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3411
Author: @koshikawa-masato
Created: 10/20/2026
Status: 🔄 Open

Base: main ← Head: codex/v100-sm70-perf-defaults


📝 Commits (6)

  • 651672c perf(cuda): enable measured Volta defaults with dual V100 results
  • 74976e9 perf(cuda): extend Volta candidate stack with measured evidence
  • 8b253ed bench: verify proposed V100 defaults on current PR source
  • 58a5619 bench: attach sanitized CUDA configure and build logs
  • cb656b8 Merge current main and preserve GB10 defaults alongside Volta table
  • f2e7a8d bench: compare B6 subset and full Volta defaults on current main

📊 Changes

67 files changed (+13727 additions, -4 deletions)

View changed files

➕ bench/results/2026-10-20-v100-sm70-defaults/README.md (+71 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/README.md (+52 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/build.log (+1998 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/configure.log (+25 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/current-auto.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/current-manual.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/current-stability.json (+65 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/current-source/telemetry-summary.json (+14 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/README.md (+113 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/arm-environment.json (+116 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-base1.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-base2.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-batch1.json (+69 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-best-stability.json (+69 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-down.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-expdec.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-final.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-fuse.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-gather.json (+275 -0)
➕ bench/results/2026-10-20-v100-sm70-defaults/extended/history-normpick.json (+275 -0)

...and 47 more files

📄 Description

Problem and result

V100 (sm_70) has no architecture-default table on current main. This proposes the existing 13 measured switches for Volta, with explicit user values preserved and STRATA_SM70_PERF=0 as the off switch.

The 2026-10-31 follow-up uses one current-source binary on dual V100 PCIe 32 GB, IQ3_S/MTP4, three baseline/B6/full-table cycles:

Configuration Japanese decode Code decode 15,352-token prefill
Current-source baseline 73.7 108.4 1,504.6
B6 only (the setting in #4767) 75.9 113.1 1,507.8
Full 13-switch table 81.6 122.2 1,517.9

Median tok/s. Full table: +10.7% Japanese, +12.7% code against baseline. B6 alone: +3.0% / +4.3%. Long-input prefill is effectively unchanged at this precision/scope. Each optimized arm matched all 12 corresponding baseline decoded texts; this is not a token-ID/logit or bitwise-kernel identity gate.

This is the existing #3411 proposal updated after the independent SXM2 measurements and #4767. The B6-only proposal is a strict subset, not a competing implementation: our table includes that row once. This follow-up isolates that same setting on current main; it does not claim to reproduce the separate kernel microbenchmark or SXM2 hardware results.

Both directions are supported: B6 provides a smaller independently supported change, and the combined table gives an additional benefit on this measured dual-PCIe configuration. If maintainers prefer landing #4767 first, the remaining rows can be reviewed separately. Maintainer scope agreement has not yet been obtained. No claim is made that every additional row independently improves speed; GR_NORM_FAST was not isolated in this follow-up.

Approach

Merge main c62d5e3a15b40ea51c96aae9e8d36928965f53ab, preserving GB10's four defaults and its STRATA_DEFAULTS=026 opt-out. Resolve the startup-label conflict and combine the independently added defaults tests without duplicate CMake targets. Existing Ampere/Pascal tables and user override behavior are retained.

Volta's startup message now says speed switches, without claiming exactness beyond our decoded-text checks. FP16 prefill remains excluded. No global sampling, memory-reserve or batching default changes are proposed.

Validation

Passed:

  • CUDA 12.8/sm_70 full engine and nv_defaults_test build at code commit cb656b83fe152d404a8466f22cc7c2334b6c85e5; GCC 13.3, Ubuntu 24.04.5. Same binary for every arm.
  • Host defaults test on Linux/GCC and macOS/Clang: GB10 off switches, architecture dispatch, Volta opt-out, explicit overrides, idempotence.
  • 36 measured requests across nine fresh engine starts; all measured inputs uncached. All 12 baseline/B6 and 12 baseline/full decoded-text hash pairs matched.
  • Four 32K+512 requests in two simultaneous pairs with the full table passed both sentinels. No OOM or thermal cutoff observed. Normal production restored afterward; LINE used cloud inference during testing.
  • Current report, individual runs, telemetry and reproduction.

Failed: No failures in this follow-up. Earlier rejected candidates and output-changing FP16 experiments remain in the historical reports; they are not proposed defaults.

Not run: HIP/SYCL builds or execution (no toolchains); single V100/SXM2/16 GB/other packs; B6 kernel microbenchmark; token-ID/logit/exact_pp gate; individual ablation of the other 12 rows; broad quality/endurance. NVIDIA dispatch is guarded out of HIP/Metal execution, but this does not substitute for broader backend CI.

Limits

Community diagnostic, not the standard benchmark protocol. Three fixed-order cycles, four synthetic prompts, one model/topology, and narrow free VRAM on GPU1. This establishes a benefit for the combination on these cards, not the best default for every Volta system. Backend build coverage and maintainer scope decision remain open.

Historical evidence: initial/extended measurements, previous manual-versus-auto validation. Those older-engine results are distinct from the current-source comparison above.


🔄 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/3411 **Author:** [@koshikawa-masato](https://github.com/koshikawa-masato) **Created:** 10/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/v100-sm70-perf-defaults` --- ### 📝 Commits (6) - [`651672c`](https://github.com/Niko1221/Strata/commit/651672ccbebe064bbc5f0d4184de83ac51b7a85b) perf(cuda): enable measured Volta defaults with dual V100 results - [`74976e9`](https://github.com/Niko1221/Strata/commit/74976e928fd10736ece4035fc061e19d14d3851b) perf(cuda): extend Volta candidate stack with measured evidence - [`8b253ed`](https://github.com/Niko1221/Strata/commit/8b253edb4bc93c606c282e843debf18a52fca2e4) bench: verify proposed V100 defaults on current PR source - [`58a5619`](https://github.com/Niko1221/Strata/commit/58a56194ac1f8de37ace6ac386ba13bf5b587df5) bench: attach sanitized CUDA configure and build logs - [`cb656b8`](https://github.com/Niko1221/Strata/commit/cb656b83fe152d404a8466f22cc7c2334b6c85e5) Merge current main and preserve GB10 defaults alongside Volta table - [`f2e7a8d`](https://github.com/Niko1221/Strata/commit/f2e7a8d4ad07d0020fd40b7674c248015a5c8939) bench: compare B6 subset and full Volta defaults on current main ### 📊 Changes **67 files changed** (+13727 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-20-v100-sm70-defaults/README.md` (+71 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/README.md` (+52 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/build.log` (+1998 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/configure.log` (+25 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/current-auto.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/current-manual.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/current-stability.json` (+65 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/current-source/telemetry-summary.json` (+14 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/README.md` (+113 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/arm-environment.json` (+116 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-base1.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-base2.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-batch1.json` (+69 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-best-stability.json` (+69 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-down.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-expdec.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-final.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-fuse.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-gather.json` (+275 -0) ➕ `bench/results/2026-10-20-v100-sm70-defaults/extended/history-normpick.json` (+275 -0) _...and 47 more files_ </details> ### 📄 Description ## Problem and result V100 (sm_70) has no architecture-default table on current main. This proposes the existing 13 measured switches for Volta, with explicit user values preserved and `STRATA_SM70_PERF=0` as the off switch. The 2026-10-31 follow-up uses **one current-source binary** on dual V100 PCIe 32 GB, IQ3_S/MTP4, three baseline/B6/full-table cycles: | Configuration | Japanese decode | Code decode | 15,352-token prefill | |---|---:|---:|---:| | Current-source baseline | 73.7 | 108.4 | 1,504.6 | | B6 only (the setting in #4767) | 75.9 | 113.1 | 1,507.8 | | Full 13-switch table | 81.6 | 122.2 | 1,517.9 | Median tok/s. Full table: **+10.7% Japanese, +12.7% code** against baseline. B6 alone: **+3.0% / +4.3%**. Long-input prefill is effectively unchanged at this precision/scope. Each optimized arm matched all 12 corresponding baseline decoded texts; this is not a token-ID/logit or bitwise-kernel identity gate. ## Related discussion This is the existing #3411 proposal updated after the independent SXM2 measurements and #4767. The B6-only proposal is a **strict subset**, not a competing implementation: our table includes that row once. This follow-up isolates that same setting on current main; it does not claim to reproduce the separate kernel microbenchmark or SXM2 hardware results. Both directions are supported: B6 provides a smaller independently supported change, and the combined table gives an additional benefit on this measured dual-PCIe configuration. If maintainers prefer landing #4767 first, the remaining rows can be reviewed separately. **Maintainer scope agreement has not yet been obtained.** No claim is made that every additional row independently improves speed; GR_NORM_FAST was not isolated in this follow-up. ## Approach Merge main `c62d5e3a15b40ea51c96aae9e8d36928965f53ab`, preserving GB10's four defaults and its STRATA_DEFAULTS=026 opt-out. Resolve the startup-label conflict and combine the independently added defaults tests without duplicate CMake targets. Existing Ampere/Pascal tables and user override behavior are retained. Volta's startup message now says **speed switches**, without claiming exactness beyond our decoded-text checks. FP16 prefill remains excluded. No global sampling, memory-reserve or batching default changes are proposed. ## Validation **Passed:** - CUDA 12.8/sm_70 full engine and nv_defaults_test build at code commit `cb656b83fe152d404a8466f22cc7c2334b6c85e5`; GCC 13.3, Ubuntu 24.04.5. Same binary for every arm. - Host defaults test on Linux/GCC and macOS/Clang: GB10 off switches, architecture dispatch, Volta opt-out, explicit overrides, idempotence. - 36 measured requests across nine fresh engine starts; all measured inputs uncached. All 12 baseline/B6 and 12 baseline/full decoded-text hash pairs matched. - Four 32K+512 requests in two simultaneous pairs with the full table passed both sentinels. No OOM or thermal cutoff observed. Normal production restored afterward; LINE used cloud inference during testing. - [Current report, individual runs, telemetry and reproduction](bench/results/2026-10-31-v100-b6-compatibility/README.md). **Failed:** No failures in this follow-up. Earlier rejected candidates and output-changing FP16 experiments remain in the historical reports; they are not proposed defaults. **Not run:** HIP/SYCL builds or execution (no toolchains); single V100/SXM2/16 GB/other packs; B6 kernel microbenchmark; token-ID/logit/exact_pp gate; individual ablation of the other 12 rows; broad quality/endurance. NVIDIA dispatch is guarded out of HIP/Metal execution, but this does not substitute for broader backend CI. ## Limits Community diagnostic, **not the standard benchmark protocol**. Three fixed-order cycles, four synthetic prompts, one model/topology, and narrow free VRAM on GPU1. This establishes a benefit for the combination on these cards, not the best default for every Volta system. Backend build coverage and maintainer scope decision remain open. Historical evidence: [initial/extended measurements](bench/results/2026-10-20-v100-sm70-defaults/README.md), [previous manual-versus-auto validation](bench/results/2026-10-20-v100-sm70-defaults/current-source/README.md). Those older-engine results are distinct from the current-source comparison above. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#4622
No description provided.