mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5484] [GUI] Monitor: on a Mac "GPU load" is time busy, not compute in use; VRAM HIT RATE is always a dash #5450
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#5450
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 @wenxinzhang on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5484
Area
[GUI] (the desktop app / web Monitor)
What happened
On a Mac (M5 Max, 40 GPU cores, Strata 0.2.12, engine 0.1.58-metal, Qwen3.8-Flash-Next UD-Q4_K_XL) the Monitor's GPU load card sits at 95-99% for as long as requests keep coming, in both phases:
It reads like "all 40 cores are maxed out", but it isn't that.
serve/telemetry.py(_Metal, from #2360) shows IOKit'sDevice Utilization %, which is the share of time the GPU had work scheduled, not the share of its compute in use.ioreg -r -d 1 -c IOAcceleratorgives the same value (95) while the engine decodes. Decode on this machine is bound by memory bandwidth, so the ALUs mostly wait for weights, yet the card still says 99%. This is the same definition as NVML'sutilization.gpu("time a kernel was running"), so the number is correct. Only the label promises more than the number means.The Recent requests table's VRAM HIT RATE column has the same kind of problem. On a Mac it is
–on every row, because the Metal engine reports no expert-cache lookups (hit_rateisNonein/metrics: unified memory, every expert is mapped). The column takes space and suggests something is missing.Expected
The card says what it measures, and Mac-only blanks are explained or hidden.
Proposal (small, GUI only)
hit_rate(or when the backend ismetal), or give it a tooltip: "unified memory: every expert is mapped, so there is no VRAM cache to hit".Related
gpu_notegpu_noteis never shown on a Mac, so temp, Power and PCIe are silent dashesThese three cover temp, power and PCIe; this issue covers only the GPU load label and the hit-rate column.