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

オープン 初心者向け
#5,457 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, macos
領域
frontend

調査の方向性

serve/web/app.js の485行目付近にある Monitor カードのサブタイトルから始め、589行目付近で gpu_note がどのように表示されるかを確認し、/metrics のペイロードを調べます。gpu_name に関係なく、gpu_note がある場合は GPU の測定値の横に表示します。Mac の経路で、その注記が GPU 温度、Power、PCIe のダッシュの理由を説明していることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
11.6k
フォーク
1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。