Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

dashboard: say why a Windows AMD card shows no load or VRAM instead of an empty tile or 'not readable (NVML)' (#1380)

Niko1221d7c5dd0fc5e5
diff --git a/serve/telemetry.py b/serve/telemetry.py
index 6fc1a0304..33ad71acf 100644
--- a/serve/telemetry.py
+++ b/serve/telemetry.py
@@ -287,6 +287,10 @@ class Telemetry:
self.static = {
"gpu_name": " + ".join(g.name() or "?" for _, g in self.gpus) if self.gpu.ok() else None,
"gpu_count": len(self.gpus),
+ # #1380: the AMD readings are the amdgpu driver's Linux sysfs files; a Windows AMD card has none yet, and the
+ # dashboard said "not readable (NVML)" or showed empty tiles with no word why
+ "gpu_note": ("no GPU load or VRAM readings for AMD cards on Windows yet (Linux reads them from the amdgpu "
+ "driver); the engine's own VRAM figures are in its log" if amd and not self.gpu.ok() else None),
"cpu_name": _cpu_name(),
"cores": (self.ps.cpu_count(logical=False) if self.ps else None) or None,
"threads": os.cpu_count(),
diff --git a/serve/web/app.js b/serve/web/app.js
index ade19016b..f4a2b2c51 100644
--- a/serve/web/app.js
+++ b/serve/web/app.js
@@ -279,11 +279,11 @@ function renderMonitor(live, hw, st, eng, h, last, requests, totals, kept) {
const per = (f) => (hw.gpus || []).map((g) => `GPU ${g.index} ${f(g)}`).join(" · ");
const multi = (hw.gpus || []).length > 1;
setMetric("gpu", hw.gpu_util == null ? null : fmt(hw.gpu_util), "%",
- multi ? per((g) => (g.util == null ? "–" : `${fmt(g.util)}%`)) : st.gpu_name || "");
+ multi ? per((g) => (g.util == null ? "–" : `${fmt(g.util)}%`)) : st.gpu_name || (st.gpu_note ? "not available" : ""));
spark("sp-gpu", h.gpu_util, 100);
setMetric("vram", hw.gpu_mem_used == null ? null : gb(hw.gpu_mem_used), hw.gpu_mem_total ? `/ ${gb(hw.gpu_mem_total, 0)} GB` : "GB",
multi ? per((g) => (g.mem_used == null ? "–" : `${gb(g.mem_used)} GB`))
- : eng.expert_slots ? `${fmt(eng.expert_slots)} experts cached` : "");
+ : eng.expert_slots ? `${fmt(eng.expert_slots)} experts cached` : (st.gpu_note ? "not available on Windows AMD yet" : ""));
spark("sp-vram", h.gpu_mem_used, hw.gpu_mem_total);
setMetric("temp", hw.gpu_temp == null ? null : fmt(hw.gpu_temp), "°C",
multi ? per((g) => (g.temp == null ? "–" : `${fmt(g.temp)}°`)) : "");
@@ -379,7 +379,7 @@ function renderAbout(eng, hw, st) {
["Experimental speed projection", projectionText(eng.cvec)],
]);
facts($("facts-hw"), [
- ["GPU", st.gpu_name ? `${st.gpu_name}${hw.gpu_mem_total ? `, ${gb(hw.gpu_mem_total, 0)} GB` : ""}` : "not readable (NVML)"],
+ ["GPU", st.gpu_name ? `${st.gpu_name}${hw.gpu_mem_total ? `, ${gb(hw.gpu_mem_total, 0)} GB` : ""}` : (st.gpu_note || "not readable (NVML)")],
["CPU", st.cpu_name ? `${st.cpu_name}${st.threads ? `, ${st.threads} threads` : ""}` : null],
["RAM", hw.ram_total ? `${gb(hw.ram_total, 0)} GB` : null],
]);