mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2887] strata_bench.py records a layer-split run as single-GPU (card list and VRAM total) #1167
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kristoffern on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2887
What happened
A benchmark of a two-card layer split (RTX 3090 + RTX 4080 SUPER) produces a report naming only the first card:
while the server reports both correctly:
and the engine log says
layer split: layers 0-28 (CUDA0), 29-47 (CUDA1), one hand-off per window.Cause,
tools/strata_bench.py:614-616:With a split,
static["gpu_name"]is"A + B", so no single card equals it,namedis empty, andusedis truncated to the first card.gpu_vram_mibis then summed over that one card (lines 627-628), overriding the server's correct total. The" + "form is already parsed 20 lines below (#2001), but that branch only fires when the served cards are not all local (the other-vendor case), so a split across two local NVIDIA cards never reaches it.The branch is only reached when
cfgis None, i.e. with--url. On current main that is the only way to benchmark at all, becausebench.shcrashes when it starts the server itself (#2872). So at the moment every layer-split run benchmarked with the tool is reported as single-GPU, in both the card list and the VRAM total.To reproduce: a config with
"gpu": [0, 1], start the server, then./bench.sh --url http://127.0.0.1:<port>. The generatedREADME.mdandresults.jsonname one card.Suggested fix: match each name the server gives, keeping the count.
Checked against this machine's values: the split case becomes
["RTX 3090", "RTX 4080 SUPER"]/ 40952 MiB, and both single-card-of-two cases are unchanged.Strata version, GPU, OS
Engine 0.1.45, main at
477ac13c(these lines unchanged on main today). RTX 3090 + RTX 4080 SUPER, Linux (Ubuntu 24.04 base), engine compiled from source.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.