[PR #1159] [CLOSED] Community benchmark: 2x Tesla P40 22 GB (Pascal, experimental CUDA 12), single card and layer split #3274

Closed
opened 2026-11-07 14:40:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1159
Author: @sarge18
Created: 10/6/2026
Status: ❌ Closed

Base: main ← Head: community-bench-2x-p40-v2


📝 Commits (2)

  • b4cf54b bench: community report, 2x Tesla P40 (Pascal, experimental CUDA 12), single card and layer split
  • 9364fc4 bench: P40 report: add related reports (#875, #395)

📊 Changes

19 files changed (+1819 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-05-community-2x-p40/README.md (+112 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/quality-strata-fn-p40x1.20261005T162129.jsonl (+69 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/quality-strata-fn-p40x1.meta.json (+1 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/quality2-strata-fn-p40x1.20261005T192310.jsonl (+69 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/quality2-strata-fn-p40x1.meta.json (+1 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x1.20261005T152700.jsonl (+9 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x1.meta.json (+1 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x2.20261005T190034.jsonl (+9 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x2.meta.json (+1 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-quality-strata-fn-p40x1.csv (+168 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-quality2-strata-fn-p40x1.csv (+162 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-speed-strata-fn-p40x1.csv (+74 -0)
➕ bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-speed-strata-fn-p40x2.csv (+61 -0)
➕ bench/results/2026-10-05-community-2x-p40/results.json (+272 -0)
➕ bench/results/2026-10-05-community-2x-p40/scripts/bench.py (+476 -0)
➕ bench/results/2026-10-05-community-2x-p40/scripts/summarize.py (+112 -0)
➕ bench/results/2026-10-05-community-2x-p40/strata-iq2_xs-dual.json (+44 -0)
➕ bench/results/2026-10-05-community-2x-p40/strata-iq2_xs.json (+40 -0)
➕ bench/results/2026-10-05-community-2x-p40/summary.json (+138 -0)

📄 Description

Re-opened from #1028, which GitHub closed automatically when main was force-pushed. Same two commits, cherry-picked onto the new main; the content is unchanged.

Results-only community benchmark report (no engine or docs changes), following docs/COMMUNITY_BENCHMARKS.md.

What: Strata v0.1.39 (6f32ec0, unmodified) on 2x Tesla P40 22 GB (Pascal, sm_61), Flash-Next IQ2_XS, 32,768 context, experimental CUDA 12 engine built locally (CUDA 12.4 + g++-13, Ubuntu 26.04 / glibc 2.43). Once on a single P40, once on both P40s with the layer split ("gpu": [0, 1]).

Headline (3 runs per cell, medians; per-run values and ranges are in the README):

one P40 both P40s
decode, short prompt 19.6 tok/s 34.8 tok/s
prompt reading, 4K / 16K 348 / 388 tok/s 353 / 501 tok/s

The first run of each configuration includes expert-cache warm-up and is much slower; every run is listed. The engine log for the two-card runs records the split ("layer split across 2 GPUs: CUDA0, then CUDA1", K=24, all 24576 profiled expert pairs resident). Memory, VRAM, temperatures, per-run JSON, engine logs and telemetry are included. A 69-task correctness suite ran twice (long-context recall 3/3 at ~4K, ~12K, ~24K tokens); the README also reports that two greedy runs of identical prompts gave 49 of 69 identical outputs, i.e. not exactly repeatable on this setup.

Notes

  • docs/MULTI_GPU.md lists cards below compute capability 7.5 as unsupported for the layer split, but this ran on two P40s through the config. That is filed separately as #1029, so this PR stays results-only.
  • Related Pascal reports: #875 and #395. The setups differ, so the numbers are not directly comparable.
  • The benchmark script (scripts/bench.py, stdlib only, prompts are regenerated from a fixed seed) and the full study comparing llama.cpp and Ollama on the same weights are in https://github.com/sarge18/p40-llm-engine-bakeoff.
  • Happy to re-run other settings (e.g. IQ3_S, a power cap, pinned vs unpinned two-card runs) if useful.

Disclosure: this report and the measurements were produced with an AI assistant (Claude Sonnet 5.5, medium effort) working under my direction; every number in the README is computed from the included per-run data.


🔄 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/1159 **Author:** [@sarge18](https://github.com/sarge18) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `community-bench-2x-p40-v2` --- ### 📝 Commits (2) - [`b4cf54b`](https://github.com/Niko1221/Strata/commit/b4cf54b531c92380fe5f480b7c73ee87a67e81a6) bench: community report, 2x Tesla P40 (Pascal, experimental CUDA 12), single card and layer split - [`9364fc4`](https://github.com/Niko1221/Strata/commit/9364fc4772756bbbe0f60ffe64fd5c30c3b54dc5) bench: P40 report: add related reports (#875, #395) ### 📊 Changes **19 files changed** (+1819 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-05-community-2x-p40/README.md` (+112 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/quality-strata-fn-p40x1.20261005T162129.jsonl` (+69 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/quality-strata-fn-p40x1.meta.json` (+1 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/quality2-strata-fn-p40x1.20261005T192310.jsonl` (+69 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/quality2-strata-fn-p40x1.meta.json` (+1 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x1.20261005T152700.jsonl` (+9 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x1.meta.json` (+1 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x2.20261005T190034.jsonl` (+9 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/speed-strata-fn-p40x2.meta.json` (+1 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-quality-strata-fn-p40x1.csv` (+168 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-quality2-strata-fn-p40x1.csv` (+162 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-speed-strata-fn-p40x1.csv` (+74 -0) ➕ `bench/results/2026-10-05-community-2x-p40/data/telemetry/telemetry-speed-strata-fn-p40x2.csv` (+61 -0) ➕ `bench/results/2026-10-05-community-2x-p40/results.json` (+272 -0) ➕ `bench/results/2026-10-05-community-2x-p40/scripts/bench.py` (+476 -0) ➕ `bench/results/2026-10-05-community-2x-p40/scripts/summarize.py` (+112 -0) ➕ `bench/results/2026-10-05-community-2x-p40/strata-iq2_xs-dual.json` (+44 -0) ➕ `bench/results/2026-10-05-community-2x-p40/strata-iq2_xs.json` (+40 -0) ➕ `bench/results/2026-10-05-community-2x-p40/summary.json` (+138 -0) </details> ### 📄 Description Re-opened from #1028, which GitHub closed automatically when `main` was force-pushed. Same two commits, cherry-picked onto the new `main`; the content is unchanged. Results-only community benchmark report (no engine or docs changes), following `docs/COMMUNITY_BENCHMARKS.md`. **What:** Strata v0.1.39 (`6f32ec0`, unmodified) on **2x Tesla P40 22 GB (Pascal, sm_61)**, Flash-Next IQ2_XS, 32,768 context, experimental CUDA 12 engine built locally (CUDA 12.4 + g++-13, Ubuntu 26.04 / glibc 2.43). Once on a single P40, once on **both P40s with the layer split** (`"gpu": [0, 1]`). **Headline (3 runs per cell, medians; per-run values and ranges are in the README):** | | one P40 | both P40s | | --- | --- | --- | | decode, short prompt | 19.6 tok/s | 34.8 tok/s | | prompt reading, 4K / 16K | 348 / 388 tok/s | 353 / 501 tok/s | The first run of each configuration includes expert-cache warm-up and is much slower; every run is listed. The engine log for the two-card runs records the split ("layer split across 2 GPUs: CUDA0, then CUDA1", K=24, all 24576 profiled expert pairs resident). Memory, VRAM, temperatures, per-run JSON, engine logs and telemetry are included. A 69-task correctness suite ran twice (long-context recall 3/3 at ~4K, ~12K, ~24K tokens); the README also reports that two greedy runs of identical prompts gave 49 of 69 identical outputs, i.e. not exactly repeatable on this setup. **Notes** - `docs/MULTI_GPU.md` lists cards below compute capability 7.5 as unsupported for the layer split, but this ran on two P40s through the config. That is filed separately as #1029, so this PR stays results-only. - Related Pascal reports: #875 and #395. The setups differ, so the numbers are not directly comparable. - The benchmark script (`scripts/bench.py`, stdlib only, prompts are regenerated from a fixed seed) and the full study comparing llama.cpp and Ollama on the same weights are in https://github.com/sarge18/p40-llm-engine-bakeoff. - Happy to re-run other settings (e.g. IQ3_S, a power cap, pinned vs unpinned two-card runs) if useful. Disclosure: this report and the measurements were produced with an AI assistant (Claude Sonnet 5.5, medium effort) working under my direction; every number in the README is computed from the included per-run data. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:40:18 +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#3274
No description provided.