mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4640] [Other] multi-GPU AMD hosts: the engine's hardware probe monitors the wrong GPU (web monitor + strata_bench.py inherit it) #2104
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#2104
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 @rcespa on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4640
Dual-AMD-GPU host, engine 0.1.53 running on the R9700 pinned with
HIP_VISIBLE_DEVICES=1(PCI 43:00.0); a second card, an MI50 (PCI 63:00.0), is resident on the machine.The engine's OWN hardware probe (
/metrics->hardware/hardware_static, which is what the web monitor displays and whatstrata_bench.pystamps into reports) reads the wrong card:gpu_name: "Radeon Instinct MI50 32GB"- should be the R9700gpu_power: 17.0/gpu_power_limit: 210.0- that is the MI50's idle draw and cap; in the same minute the R9700 was at 171 W under 300 W capgpu_count: 1- although the host sees both cardsSo the bench tool and the web monitor are not misbehaving on their own - they faithfully surface the engine-side probe's output. The probe appears to enumerate a fixed
/sys/class/drm/card0(= the MI50 on this box) instead of the engine's actual HIP device.The attached dashboard screenshot is the smoking gun: prefill 2140 t/s and 12,532 experts cached - R9700 numbers - rendered under the name "Radeon Instinct MI50 32GB" at 17 W / 210 W.
Enumeration order is unstable across AMD interfaces here: rocm-smi
GPU[0]is the R9700, sysfscard0is the MI50, and KFD node order is again different (MI50 = node 1, R9700 = node 2). Suggested fix: resolve the engine's real GPU (HIP device / KFD node, e.g. from the resolvedHIP_VISIBLE_DEVICESor the process's PCI bus id) and map hwmon sensors by PCI address.Observed on 0.1.53 / Linux (ROCm 7.1.3 host driver). Attached: web monitor screenshot (21:49:47), same-minute
/metricsvsrocm-smicomparison, and the full/metricsJSON dump.@rcespa commented on GitHub (Oct 29, 2026):
Web monitor screenshot (21:49:47): prefill 2140 t/s + 12,532 experts cached under the MI50 label.
@rcespa commented on GitHub (Oct 29, 2026):
Same-minute comparison: engine /metrics vs rocm-smi ground truth -> evidence-multigpu-mislabel-v2.txt
@rcespa commented on GitHub (Oct 29, 2026):
Full /metrics dump of the R9700 server referenced above -> metrics-8080-full.json