[GH-ISSUE #4473] [Benchmark] bug: bench run --url records one card on a server using two identical GPUs #2001

Open
opened 2026-11-04 01:55:53 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @coryjett on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4473

Area

Benchmark

Desktop app, Terminal or source?

Terminal (Linux release 0.2.7, Control 0.1.52); the same code is on main at 46c152a1.

What happened

strata bench run --url http://127.0.0.1:8080 against a server using two identical cards (2x RTX 3090, layer split)
recorded one card in hardware.gpus. The summary line said "Machine: NVIDIA GeForce RTX 3090". The same run with
--profile <run config> --no-start against the same server recorded both: "NVIDIA GeForce RTX 3090, NVIDIA GeForce
RTX 3090".

Cause: in strata_cli/bench_facts.py hardware() (line 329 on main), when no GPU selection is known (no run
config, which is always the case with --url) and more than one card is present, it keeps only the first card
whose name matches the server's:

elif len(cards) > 1 and served_gpu:
    named = [c for c in cards if c["name"] == served_gpu]
    cards = named[:1] or cards[:1]

With identical cards every card matches, so a two-card server is reported as one. The --url run also has no engine
options (offloading, prefill, mtp and others are null), so nothing else in the report shows the split.

Suggested fix: keep every card the server reports. Use the server's card count when it gives one (machine.gpu, or
the " + " list served already parses), and say in missing when the count is unknown, rather than dropping
cards. Happy to send a PR with a test.

Smallest steps or command that reproduce it

On a machine with two identical NVIDIA cards, serve a profile with "gpu": [0, 1], then run
strata bench run --url http://127.0.0.1:8080 and look at hardware.gpus in results.json.

Reproduction status

Reproduced locally, 2026-10-28: the --url run listed one card and the --profile --no-start run listed two, on the
same server, minutes apart. The --profile run is in #4468; the --url run is described there.

Strata version

0.2.7 (engine 0.1.52, Control 0.1.52); code checked on main 46c152a1.

Graphics card, memory and system

2x RTX 3090 24 GB (PCIe 3.0 x16, one per socket), 2x Xeon E5-2620 v3, 256 GB, Ubuntu 26.10.

Model, size and settings

Flash-Next IQ3_S, layer split 25; see #4468.

Logs

None needed; see above.

Originally created by @coryjett on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4473 ### Area Benchmark ### Desktop app, Terminal or source? Terminal (Linux release 0.2.7, Control 0.1.52); the same code is on `main` at 46c152a1. ### What happened `strata bench run --url http://127.0.0.1:8080` against a server using two identical cards (2x RTX 3090, layer split) recorded one card in `hardware.gpus`. The summary line said "Machine: NVIDIA GeForce RTX 3090". The same run with `--profile <run config> --no-start` against the same server recorded both: "NVIDIA GeForce RTX 3090, NVIDIA GeForce RTX 3090". Cause: in `strata_cli/bench_facts.py` `hardware()` (line 329 on `main`), when no GPU selection is known (no run config, which is always the case with `--url`) and more than one card is present, it keeps only the first card whose name matches the server's: ```python elif len(cards) > 1 and served_gpu: named = [c for c in cards if c["name"] == served_gpu] cards = named[:1] or cards[:1] ``` With identical cards every card matches, so a two-card server is reported as one. The `--url` run also has no engine options (`offloading`, `prefill`, `mtp` and others are null), so nothing else in the report shows the split. Suggested fix: keep every card the server reports. Use the server's card count when it gives one (`machine.gpu`, or the `" + "` list `served` already parses), and say in `missing` when the count is unknown, rather than dropping cards. Happy to send a PR with a test. ### Smallest steps or command that reproduce it On a machine with two identical NVIDIA cards, serve a profile with `"gpu": [0, 1]`, then run `strata bench run --url http://127.0.0.1:8080` and look at `hardware.gpus` in `results.json`. ### Reproduction status Reproduced locally, 2026-10-28: the `--url` run listed one card and the `--profile --no-start` run listed two, on the same server, minutes apart. The `--profile` run is in #4468; the `--url` run is described there. ### Strata version 0.2.7 (engine 0.1.52, Control 0.1.52); code checked on `main` 46c152a1. ### Graphics card, memory and system 2x RTX 3090 24 GB (PCIe 3.0 x16, one per socket), 2x Xeon E5-2620 v3, 256 GB, Ubuntu 26.10. ### Model, size and settings Flash-Next IQ3_S, layer split 25; see #4468. ### Logs None needed; see above.
Author
Owner

@coryjett commented on GitHub (Oct 28, 2026):

The same comparison is in tools/strata_bench.py (~lines 692-694): named = [g for g in used if g["name"] == static["gpu_name"]] against the server's "A + A" name, so an attached server on two identical cards gets one card, half the VRAM total and a rtx-3090 folder slug instead of 2x-rtx-3090. #4477 fixes bench_facts.hardware() only; I'll port it there too once that one is reviewed.

<!-- gh-comment-id:6472474873 --> @coryjett commented on GitHub (Oct 28, 2026): The same comparison is in `tools/strata_bench.py` (~lines 692-694): `named = [g for g in used if g["name"] == static["gpu_name"]]` against the server's "A + A" name, so an attached server on two identical cards gets one card, half the VRAM total and a `rtx-3090` folder slug instead of `2x-rtx-3090`. #4477 fixes `bench_facts.hardware()` only; I'll port it there too once that one is reviewed.
bsakaguchi changed title from [GH-ISSUE #4473] [Benchmark] bench run --url records one card on a server using two identical GPUs to [GH-ISSUE #4473] [Benchmark] bug: bench run --url records one card on a server using two identical GPUs 2026-11-07 14:36:43 +07:00
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6659006911 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
Author
Owner

@coryjett commented on GitHub (Nov 5, 2026):

This is not a benchmark, but rather an issue with how benchmarks are collected.

<!-- gh-comment-id:6659857615 --> @coryjett commented on GitHub (Nov 5, 2026): This is not a benchmark, but rather an issue with how benchmarks are collected.
Author
Owner

@coryjett commented on GitHub (Nov 5, 2026):

/reopen

<!-- gh-comment-id:6659895833 --> @coryjett commented on GitHub (Nov 5, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2026):

Reopened, thank you. A maintainer will pick it up from here.

<!-- gh-comment-id:6659899422 --> @github-actions[bot] commented on GitHub (Nov 5, 2026): Reopened, thank you. A maintainer will pick it up from here.
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#2001
No description provided.