[GH-ISSUE #5331] [Benchmark] strata bench run --url records the runner's commit and build_kind "release" for a source-built engine #3179

Open
opened 2026-11-07 14:38:41 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @modulismm on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5331

Area

[Benchmark] (measurements and reports)

Desktop app, Terminal or source?

Terminal (the strata command)

What happened

I benchmark a server started from a source checkout (setup.sh --build, then run-iq3_s.sh) with the Terminal's runner:

strata bench run --url http://127.0.0.1:8081 --source-revision ffa80d7 --build-options "STRATA_ISA_FLOOR=none,..."

results.json and the README then say:

"strata_commit": "974074c549754029882c1cea1ce0e1e7674d7ba2",
"build_kind": "release",
"runtime": [{"name": "cuda", "version": "13.0"}]

All three describe the machine running the benchmark, not the engine under test:

  • strata_cli/bench_facts.py:433 sets build_kind from whether the runner's own ROOT is a git checkout, and strata_commit is the runner's commit. The engine actually is a local build (engine-cuda12/BUILD.json: "source": "local", "isa_floor": "none", "toolkit": 12).
  • The CUDA runtime is the driver's CUDA version from nvidia-smi (13.0); the engine was built with CUDA 12.9.

Expected: for --url, take the engine's build facts from the server (it already reports engine_version), or record them as unknown with a reason, the way other values go to missing. A result should not claim "release build" for an engine whose provenance the runner never saw. A report submitted this way currently has to be corrected by hand.

Workaround: pass --source-revision and --build-options and correct the README by hand before submitting.

Smallest steps or command that reproduce it

  1. Build an engine from a source checkout (./setup.sh --build --no-start ...) and start it with the generated run-<model>.sh.
  2. From a Terminal install (not a git checkout), run strata bench run --url http://127.0.0.1:<port>.
  3. Read software in results.json: build_kind is release and strata_commit is the Terminal's commit.

Reproduction status

Reproduced locally

Strata version

Terminal 0.2.10 (runner commit 974074c); engine 0.1.56 built from source at ffa80d7

Graphics card, memory and system

Quadro P5000 16 GB (sm_61), 2x Xeon X5650 (no AVX), 110 GiB RAM, Ubuntu 24.04.5, kernel 6.8, driver 580.178.04

Model, size and settings

Qwen3.8-Flash-Next IQ3_S and Q2_0, context 32768, KV int8, suite standard-v1

Logs

No response

Originally created by @modulismm on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5331 ### Area [Benchmark] (measurements and reports) ### Desktop app, Terminal or source? Terminal (the `strata` command) ### What happened I benchmark a server started from a source checkout (`setup.sh --build`, then `run-iq3_s.sh`) with the Terminal's runner: ```sh strata bench run --url http://127.0.0.1:8081 --source-revision ffa80d7 --build-options "STRATA_ISA_FLOOR=none,..." ``` `results.json` and the README then say: ```json "strata_commit": "974074c549754029882c1cea1ce0e1e7674d7ba2", "build_kind": "release", "runtime": [{"name": "cuda", "version": "13.0"}] ``` All three describe the machine running the benchmark, not the engine under test: - `strata_cli/bench_facts.py:433` sets `build_kind` from whether the runner's own `ROOT` is a git checkout, and `strata_commit` is the runner's commit. The engine actually is a local build (`engine-cuda12/BUILD.json`: `"source": "local"`, `"isa_floor": "none"`, `"toolkit": 12`). - The CUDA runtime is the driver's CUDA version from `nvidia-smi` (13.0); the engine was built with CUDA 12.9. **Expected:** for `--url`, take the engine's build facts from the server (it already reports `engine_version`), or record them as unknown with a reason, the way other values go to `missing`. A result should not claim "release build" for an engine whose provenance the runner never saw. A report submitted this way currently has to be corrected by hand. **Workaround:** pass `--source-revision` and `--build-options` and correct the README by hand before submitting. ### Smallest steps or command that reproduce it 1. Build an engine from a source checkout (`./setup.sh --build --no-start ...`) and start it with the generated `run-<model>.sh`. 2. From a Terminal install (not a git checkout), run `strata bench run --url http://127.0.0.1:<port>`. 3. Read `software` in `results.json`: `build_kind` is `release` and `strata_commit` is the Terminal's commit. ### Reproduction status Reproduced locally ### Strata version Terminal 0.2.10 (runner commit 974074c); engine 0.1.56 built from source at ffa80d7 ### Graphics card, memory and system Quadro P5000 16 GB (sm_61), 2x Xeon X5650 (no AVX), 110 GiB RAM, Ubuntu 24.04.5, kernel 6.8, driver 580.178.04 ### Model, size and settings Qwen3.8-Flash-Next IQ3_S and Q2_0, context 32768, KV int8, suite standard-v1 ### Logs _No response_
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#3179
No description provided.