[GUI] Monitor: the Mac's gpu_note is never shown, so GPU temp, Power and PCIe are a bare or empty "–"

Aperta Adatta ai principianti
#5,457 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, macos
Ambito
frontend

Direzione di ricerca

Inizia in serve/web/app.js, vicino al sottotitolo della scheda Monitor intorno alla riga 485, poi controlla come viene visualizzato gpu_note vicino alla riga 589 e ispeziona il payload di /metrics. Mostra la nota accanto ai valori della GPU quando è presente, indipendentemente da gpu_name; verifica nel percorso Mac che la nota spieghi i trattini per la temperatura della GPU, Power e PCIe.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Area
[GUI] (the desktop app)

What happened
On a Mac the Monitor tab's GPU temp, Power and PCIe cards show a dash with no explanation anywhere in the UI.

serve/telemetry.py (the _Metal reader) does define the reason as a static gpu_note:

no GPU temperature or power reading without root (powermetrics), and an Apple Silicon GPU sits on the die, so there is no PCIe link to show; the engine's own figures are in its log

GET /metrics returns it - hardware_static.gpu_note carries the text, while history.gpu_temp and history.gpu_power are null for every sample. But serve/web/app.js only renders gpu_note where gpu_name is empty (the card subtitle around line 485, and the About > GPU line around line 589). On a Mac gpu_name is "Apple M5 Max", so the note is unreachable: the user sees three silent dashes.

#2360 added the note exactly so these dashes would be explained ("the cards show a dash and static gpu_note says why"); on the Mac path they still are not. Same shape as #3157, where the missing "backend": "hip" left five blank tiles and no hint why.

Expected: the reason shows up where the dash is (card subtitle or a tooltip), whether or not the card has a name. Actual: the reason exists in the payload but no view ever shows it.

The screenshot below is taken during a request: Model state Generating at 66.7 tok/s decode, GPU load 95 %, VRAM 82.8 of 122 GB in use - and GPU temp, Power and PCIe are still a dash, with no word about powermetrics being the reason.

Image

Smallest steps or command that reproduce it
Start any Metal model on a Mac: ./setup.sh
Open http://:8080/#monitor - GPU temp, Power and PCIe read "–", nothing says why.
curl -s http://:8080/metrics | grep -o '"gpu_note":"[^"]*"' - the explanation is there, and history.gpu_temp / history.gpu_power are all null.
Reproduction status
Reproduced locally.

Strata version
0.2.11 (source, main at 54828c7e) · engine 0.1.56-metal

Graphics card, memory and system
Apple M5 Max · 128 GB unified memory · macOS 27.0.1

Model, size and settings
Qwen3.8-Flash-Next UD-Q4_K_XL · 262144 context · pictures on

Suggested fix
Show hardware_static.gpu_note next to the dashes (card subtitle or tooltip) independently of gpu_name. #5016 would fill the cards themselves with real readings; this only makes the present state self-explaining until or unless that lands.

Refs #2360, #5016, #3157

Lingua principale
C++
Stelle
11.6k
Fork
1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Niko1221/Strata

Tutte le issue di Niko1221/Strata

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.