kiosko-plugin-gpu 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +74 -48
- package/kiosko-manifest.json +214 -54
- package/package.json +8 -1
package/dist/index.js
CHANGED
|
@@ -371,7 +371,9 @@ function hostLabel(o) {
|
|
|
371
371
|
async function readGpus(o, d = DEFAULT_DEPS, signal, now = Date.now()) {
|
|
372
372
|
const label = hostLabel(o);
|
|
373
373
|
const base = { gpus: [], history: {}, at: now, ...label ? { label } : {} };
|
|
374
|
-
|
|
374
|
+
const because = (text2) => ({ ...base, available: false, reason: text2.en, reasonText: text2 });
|
|
375
|
+
if (o.ssh && !validSshHost(o.ssh)) return because({ en: `invalid ssh host: ${o.ssh}`, es: `host ssh no v\xE1lido: ${o.ssh}`, de: `ung\xFCltiger ssh-Host: ${o.ssh}`, "zh-Hant": `ssh \u4E3B\u6A5F\u7121\u6548\uFF1A${o.ssh}`, "zh-Hans": `ssh \u4E3B\u673A\u65E0\u6548\uFF1A${o.ssh}` });
|
|
376
|
+
if (o.backend === "prometheus" && !o.url) return because({ en: "no metrics URL set", es: "falta la URL de las m\xE9tricas", de: "keine Metrik-URL eingetragen", "zh-Hant": "\u5C1A\u672A\u8A2D\u5B9A\u6307\u6A19 URL", "zh-Hans": "\u5C1A\u672A\u8BBE\u7F6E\u6307\u6807 URL" });
|
|
375
377
|
const nvidia = ["nvidia", () => readNvidia(o, d, signal)];
|
|
376
378
|
const amd = ["amd", () => readAmdCli(o, d, signal)];
|
|
377
379
|
const amdSys = ["amd-sysfs", () => readSysfs(d.sysRoot, "amd")];
|
|
@@ -379,7 +381,7 @@ async function readGpus(o, d = DEFAULT_DEPS, signal, now = Date.now()) {
|
|
|
379
381
|
const prom = ["prometheus", () => readPrometheus(o, d, signal)];
|
|
380
382
|
const local = (a) => o.ssh ? [] : a;
|
|
381
383
|
const plan = o.backend === "nvidia" ? [nvidia] : o.backend === "amd" ? [amd, ...local([amdSys])] : o.backend === "intel" ? local([intel]) : o.backend === "prometheus" ? [prom] : [...o.url ? [prom] : [], nvidia, amd, ...local([amdSys, intel])];
|
|
382
|
-
if (!plan.length) return {
|
|
384
|
+
if (!plan.length) return because({ en: "the intel back end reads sysfs and only works locally", es: "el modo intel lee sysfs y s\xF3lo funciona en local", de: "das Intel-Backend liest sysfs und funktioniert nur lokal", "zh-Hant": "intel \u5F8C\u7AEF\u8B80\u53D6 sysfs\uFF0C\u53EA\u80FD\u5728\u672C\u6A5F\u4F7F\u7528", "zh-Hans": "intel \u540E\u7AEF\u8BFB\u53D6 sysfs\uFF0C\u53EA\u80FD\u5728\u672C\u673A\u4F7F\u7528" });
|
|
383
385
|
const reasons = [];
|
|
384
386
|
for (const [name, attempt] of plan) {
|
|
385
387
|
try {
|
|
@@ -391,7 +393,8 @@ async function readGpus(o, d = DEFAULT_DEPS, signal, now = Date.now()) {
|
|
|
391
393
|
reasons.push(`${name}: ${e instanceof Error ? e.message : String(e)}`);
|
|
392
394
|
}
|
|
393
395
|
}
|
|
394
|
-
|
|
396
|
+
if (o.backend === "auto" && reasons.every((r) => /not found|no GPU/.test(r))) return because({ en: "no GPU found", es: "no se encontr\xF3 ninguna GPU", de: "keine GPU gefunden", "zh-Hant": "\u627E\u4E0D\u5230 GPU", "zh-Hans": "\u672A\u627E\u5230 GPU" });
|
|
397
|
+
return { ...base, available: false, reason: reasons.join("; ") };
|
|
395
398
|
}
|
|
396
399
|
|
|
397
400
|
// src/gpu.ts
|
|
@@ -461,19 +464,26 @@ function pushHistory(h, gpus, now, windowMs, minGapMs = 4e3) {
|
|
|
461
464
|
// src/draw.ts
|
|
462
465
|
var clamp = (v, lo, hi) => Math.max(lo, Math.min(hi, v));
|
|
463
466
|
var TEXT = {
|
|
464
|
-
temp: { en: "temp", es: "temp" },
|
|
465
|
-
util: { en: "load", es: "carga" },
|
|
466
|
-
vram: { en: "vram", es: "vram" },
|
|
467
|
-
power: { en: "power", es: "potencia" },
|
|
468
|
-
fan: { en: "fan", es: "vent." },
|
|
469
|
-
free: { en: "free", es: "libre" },
|
|
470
|
-
other: { en: "other", es: "otros" },
|
|
471
|
-
noProcs: { en: "no processes", es: "sin procesos" },
|
|
472
|
-
noData: { en: "no GPU data (needs the gpu/devices source)", es: "sin datos de GPU (necesita la fuente gpu/devices)" },
|
|
473
|
-
unavailable: { en: "no GPU: {reason}", es: "sin GPU: {reason}" },
|
|
474
|
-
noMatch: { en: "no GPU matches the filter", es: "ninguna GPU coincide con el filtro" },
|
|
475
|
-
last: { en: "last {span}", es: "\xFAltimos {span}" },
|
|
476
|
-
collecting: { en: "collecting\u2026", es: "recogiendo\u2026" }
|
|
467
|
+
temp: { en: "temp", es: "temp", de: "Temp", "zh-Hant": "\u6EAB\u5EA6", "zh-Hans": "\u6E29\u5EA6" },
|
|
468
|
+
util: { en: "load", es: "carga", de: "Last", "zh-Hant": "\u8CA0\u8F09", "zh-Hans": "\u8D1F\u8F7D" },
|
|
469
|
+
vram: { en: "vram", es: "vram", de: "VRAM", "zh-Hant": "vram", "zh-Hans": "vram" },
|
|
470
|
+
power: { en: "power", es: "potencia", de: "Leistung", "zh-Hant": "\u529F\u7387", "zh-Hans": "\u529F\u7387" },
|
|
471
|
+
fan: { en: "fan", es: "vent.", de: "L\xFCfter", "zh-Hant": "\u98A8\u6247", "zh-Hans": "\u98CE\u6247" },
|
|
472
|
+
free: { en: "free", es: "libre", de: "frei", "zh-Hant": "\u53EF\u7528", "zh-Hans": "\u53EF\u7528" },
|
|
473
|
+
other: { en: "other", es: "otros", de: "andere", "zh-Hant": "\u5176\u4ED6", "zh-Hans": "\u5176\u4ED6" },
|
|
474
|
+
noProcs: { en: "no processes", es: "sin procesos", de: "keine Prozesse", "zh-Hant": "\u7121\u8655\u7406\u7A0B\u5E8F", "zh-Hans": "\u65E0\u8FDB\u7A0B" },
|
|
475
|
+
noData: { en: "no GPU data (needs the gpu/devices source)", es: "sin datos de GPU (necesita la fuente gpu/devices)", de: "keine GPU-Daten (braucht die Datenquelle gpu/devices)", "zh-Hant": "\u7121 GPU \u8CC7\u6599\uFF08\u9700\u8981 gpu/devices \u8CC7\u6599\u4F86\u6E90\uFF09", "zh-Hans": "\u65E0 GPU \u6570\u636E\uFF08\u9700\u8981 gpu/devices \u6570\u636E\u6E90\uFF09" },
|
|
476
|
+
unavailable: { en: "no GPU: {reason}", es: "sin GPU: {reason}", de: "keine GPU: {reason}", "zh-Hant": "\u7121 GPU\uFF1A{reason}", "zh-Hans": "\u65E0 GPU\uFF1A{reason}" },
|
|
477
|
+
noMatch: { en: "no GPU matches the filter", es: "ninguna GPU coincide con el filtro", de: "keine GPU passt zum Filter", "zh-Hant": "\u6C92\u6709\u7B26\u5408\u7BE9\u9078\u689D\u4EF6\u7684 GPU", "zh-Hans": "\u6CA1\u6709\u7B26\u5408\u7B5B\u9009\u6761\u4EF6\u7684 GPU" },
|
|
478
|
+
last: { en: "last {span}", es: "\xFAltimos {span}", de: "letzte {span}", "zh-Hant": "\u6700\u8FD1 {span}", "zh-Hans": "\u6700\u8FD1 {span}" },
|
|
479
|
+
collecting: { en: "collecting\u2026", es: "recogiendo\u2026", de: "sammle\u2026", "zh-Hant": "\u6536\u96C6\u4E2D\u2026", "zh-Hans": "\u91C7\u96C6\u4E2D\u2026" }
|
|
480
|
+
};
|
|
481
|
+
var THROTTLE = {
|
|
482
|
+
"power cap": { en: "power cap", es: "tope de potencia", de: "Leistungslimit", "zh-Hant": "\u529F\u8017\u4E0A\u9650", "zh-Hans": "\u529F\u8017\u4E0A\u9650" },
|
|
483
|
+
"hw slowdown": { en: "hw slowdown", es: "freno hw", de: "HW-Drosselung", "zh-Hant": "\u786C\u9AD4\u964D\u983B", "zh-Hans": "\u786C\u4EF6\u964D\u9891" },
|
|
484
|
+
thermal: { en: "thermal", es: "t\xE9rmico", de: "thermisch", "zh-Hant": "\u904E\u71B1\u964D\u983B", "zh-Hans": "\u8FC7\u70ED\u964D\u9891" },
|
|
485
|
+
"hw thermal": { en: "hw thermal", es: "t\xE9rmico hw", de: "HW thermisch", "zh-Hant": "\u786C\u9AD4\u904E\u71B1\u964D\u983B", "zh-Hans": "\u786C\u4EF6\u8FC7\u70ED\u964D\u9891" },
|
|
486
|
+
"power brake": { en: "power brake", es: "freno de potencia", de: "Leistungsbremse", "zh-Hant": "\u96FB\u6E90\u5236\u52D5\u964D\u983B", "zh-Hans": "\u7535\u6E90\u5236\u52A8\u964D\u9891" }
|
|
477
487
|
};
|
|
478
488
|
var fill = (text2, vars) => text2.replace(/\{(\w+)\}/g, (_, k) => String(vars[k] ?? ""));
|
|
479
489
|
function levelColor(l, c, normal = c.inkDim) {
|
|
@@ -483,7 +493,7 @@ function drawEmpty(g, ctx, s) {
|
|
|
483
493
|
const { box, kit, theme, t: t2 } = ctx;
|
|
484
494
|
if (s?.available && s.gpus.length) return false;
|
|
485
495
|
const size = Math.max(10, Math.round(clamp(box.h / 18, 10, 18)));
|
|
486
|
-
const msg = !s ? t2(TEXT.noData) : s.available ? t2(TEXT.noMatch) : fill(t2(TEXT.unavailable), { reason: s.reason ?? "?" });
|
|
496
|
+
const msg = !s ? t2(TEXT.noData) : s.available ? t2(TEXT.noMatch) : fill(t2(TEXT.unavailable), { reason: s.reasonText ? t2(s.reasonText) : s.reason ?? "?" });
|
|
487
497
|
const lines = kit.wrapLines(g, msg, box.w, 4, { size, family: theme.fonts.mono });
|
|
488
498
|
lines.forEach((l, i) => kit.drawTracked(g, l, box.x, box.y + size * 1.2 * (i + 1), { size, family: theme.fonts.mono, color: theme.colors.inkFaint }));
|
|
489
499
|
return true;
|
|
@@ -551,7 +561,7 @@ function drawCard(g, ctx, d, r, th) {
|
|
|
551
561
|
bar(g, c, r.x, y + 6 * s, r.w, barH, ratio, color);
|
|
552
562
|
y += 6 * s + barH;
|
|
553
563
|
}
|
|
554
|
-
const foot = [d.fan !== void 0 ? `${ctx.t(TEXT.fan)} ${Math.round(d.fan)}%` : "", d.smClock ? `${Math.round(d.smClock)}MHz` : "", ...d.throttle ?? []].filter(Boolean);
|
|
564
|
+
const foot = [d.fan !== void 0 ? `${ctx.t(TEXT.fan)} ${Math.round(d.fan)}%` : "", d.smClock ? `${Math.round(d.smClock)}MHz` : "", ...(d.throttle ?? []).map((x) => THROTTLE[x] ? ctx.t(THROTTLE[x]) : x)].filter(Boolean);
|
|
555
565
|
const fs = Math.max(9, Math.round(13 * s));
|
|
556
566
|
if (foot.length && y + fs * 1.8 <= r.y + r.h) {
|
|
557
567
|
const throttled = (d.throttle?.length ?? 0) > 0 && d.throttle.some((x) => /thermal|slowdown|brake/.test(x));
|
|
@@ -778,37 +788,40 @@ function demoSnapshot(now) {
|
|
|
778
788
|
}
|
|
779
789
|
var sourceOptions = t.object({
|
|
780
790
|
backend: t.enum(["auto", "nvidia", "amd", "intel", "prometheus"], {
|
|
781
|
-
label: { en: "Back end", es: "Origen" },
|
|
782
|
-
help: { en: "auto tries the metrics URL (if set), nvidia-smi, rocm-smi / amd-smi and sysfs, in that order.", es: "auto prueba la URL de m\xE9tricas (si hay), nvidia-smi, rocm-smi / amd-smi y sysfs, por ese orden." },
|
|
783
|
-
labels: { auto: { en: "Automatic", es: "Autom\xE1tico" }, nvidia: "NVIDIA (nvidia-smi)", amd: "AMD (rocm-smi, amd-smi, sysfs)", intel: { en: "Intel (sysfs, best effort)", es: "Intel (sysfs, lo que se pueda)" }, prometheus: "Prometheus (DCGM / nvidia_gpu_exporter)" }
|
|
791
|
+
label: { en: "Back end", es: "Origen", de: "Backend", "zh-Hant": "\u5F8C\u7AEF", "zh-Hans": "\u540E\u7AEF" },
|
|
792
|
+
help: { en: "auto tries the metrics URL (if set), nvidia-smi, rocm-smi / amd-smi and sysfs, in that order.", es: "auto prueba la URL de m\xE9tricas (si hay), nvidia-smi, rocm-smi / amd-smi y sysfs, por ese orden.", de: "Automatisch probiert die Metrik-URL (falls eingetragen), nvidia-smi, rocm-smi / amd-smi und sysfs, in dieser Reihenfolge.", "zh-Hant": "auto \u6703\u4F9D\u5E8F\u5617\u8A66\u6307\u6A19 URL\uFF08\u82E5\u6709\u8A2D\u5B9A\uFF09\u3001nvidia-smi\u3001rocm-smi / amd-smi \u53CA sysfs\u3002", "zh-Hans": "auto \u4F1A\u4F9D\u6B21\u5C1D\u8BD5\u6307\u6807 URL\uFF08\u5982\u5DF2\u8BBE\u7F6E\uFF09\u3001nvidia-smi\u3001rocm-smi / amd-smi \u548C sysfs\u3002" },
|
|
793
|
+
labels: { auto: { en: "Automatic", es: "Autom\xE1tico", de: "Automatisch", "zh-Hant": "\u81EA\u52D5", "zh-Hans": "\u81EA\u52A8" }, nvidia: "NVIDIA (nvidia-smi)", amd: "AMD (rocm-smi, amd-smi, sysfs)", intel: { en: "Intel (sysfs, best effort)", es: "Intel (sysfs, lo que se pueda)", de: "Intel (sysfs, ohne Gew\xE4hr)", "zh-Hant": "Intel\uFF08sysfs\uFF0C\u76E1\u529B\u800C\u70BA\uFF09", "zh-Hans": "Intel\uFF08sysfs\uFF0C\u5C3D\u529B\u800C\u4E3A\uFF09" }, prometheus: "Prometheus (DCGM / nvidia_gpu_exporter)" }
|
|
784
794
|
}),
|
|
785
795
|
ssh: t.string({
|
|
786
796
|
placeholder: "user@gpubox",
|
|
787
797
|
risk: "exec",
|
|
788
|
-
label: { en: "Read over ssh", es: "Leer por ssh" },
|
|
789
|
-
help: { en: "Runs nvidia-smi / rocm-smi on that host with ssh -o BatchMode=yes: needs key login. Empty = this machine.", es: "Ejecuta nvidia-smi / rocm-smi en ese host con ssh -o BatchMode=yes: necesita acceso por clave. Vac\xEDo = esta m\xE1quina." }
|
|
798
|
+
label: { en: "Read over ssh", es: "Leer por ssh", de: "\xDCber ssh lesen", "zh-Hant": "\u900F\u904E ssh \u8B80\u53D6", "zh-Hans": "\u901A\u8FC7 ssh \u8BFB\u53D6" },
|
|
799
|
+
help: { en: "Runs nvidia-smi / rocm-smi on that host with ssh -o BatchMode=yes: needs key login. Empty = this machine.", es: "Ejecuta nvidia-smi / rocm-smi en ese host con ssh -o BatchMode=yes: necesita acceso por clave. Vac\xEDo = esta m\xE1quina.", de: "F\xFChrt nvidia-smi / rocm-smi auf diesem Host mit ssh -o BatchMode=yes aus: braucht Anmeldung per Schl\xFCssel. Leer = dieser Rechner.", "zh-Hant": "\u4EE5 ssh -o BatchMode=yes \u5728\u8A72\u4E3B\u6A5F\u4E0A\u57F7\u884C nvidia-smi / rocm-smi\uFF1A\u9700\u8981\u91D1\u9470\u767B\u5165\u3002\u7559\u7A7A = \u672C\u6A5F\u3002", "zh-Hans": "\u7528 ssh -o BatchMode=yes \u5728\u8BE5\u4E3B\u673A\u4E0A\u8FD0\u884C nvidia-smi / rocm-smi\uFF1A\u9700\u8981\u5BC6\u94A5\u767B\u5F55\u3002\u7559\u7A7A = \u672C\u673A\u3002" }
|
|
790
800
|
}),
|
|
791
801
|
url: t.string({
|
|
792
802
|
format: "url",
|
|
793
803
|
secret: true,
|
|
794
804
|
risk: "network",
|
|
795
805
|
placeholder: "http://gpubox:9400/metrics",
|
|
796
|
-
label: { en: "Metrics URL", es: "URL de m\xE9tricas" },
|
|
797
|
-
help: { en: "DCGM exporter (port 9400) or nvidia_gpu_exporter (port 9835).", es: "DCGM exporter (puerto 9400) o nvidia_gpu_exporter (puerto 9835)." }
|
|
806
|
+
label: { en: "Metrics URL", es: "URL de m\xE9tricas", de: "Metrik-URL", "zh-Hant": "\u6307\u6A19 URL", "zh-Hans": "\u6307\u6807 URL" },
|
|
807
|
+
help: { en: "DCGM exporter (port 9400) or nvidia_gpu_exporter (port 9835).", es: "DCGM exporter (puerto 9400) o nvidia_gpu_exporter (puerto 9835).", de: "DCGM-Exporter (Port 9400) oder nvidia_gpu_exporter (Port 9835).", "zh-Hant": "DCGM exporter\uFF08\u9023\u63A5\u57E0 9400\uFF09\u6216 nvidia_gpu_exporter\uFF08\u9023\u63A5\u57E0 9835\uFF09\u3002", "zh-Hans": "DCGM exporter\uFF08\u7AEF\u53E3 9400\uFF09\u6216 nvidia_gpu_exporter\uFF08\u7AEF\u53E3 9835\uFF09\u3002" }
|
|
798
808
|
}),
|
|
799
|
-
token: t.string({ secret: true, advanced: true, label: { en: "Metrics bearer token", es: "Token bearer de las m\xE9tricas" }, help: { en: "Only if the metrics URL is behind auth.", es: "Solo si la URL de m\xE9tricas pide autenticaci\xF3n." } }),
|
|
800
|
-
label: t.string({ placeholder: "gpubox", label: { en: "Host label", es: "Nombre del host" }, help: { en: "Shown above the GPUs. Defaults to the ssh host.", es: "Se muestra encima de las GPU. Por defecto, el host de ssh." } }),
|
|
801
|
-
processes: t.boolean({ default: true, label: { en: "Per-process VRAM", es: "VRAM por proceso" }, help: { en: "One more nvidia-smi call per reading.", es: "Una llamada m\xE1s a nvidia-smi por lectura." } }),
|
|
802
|
-
historyMs: t.duration({ default: 30 * 6e4, min: 6e4, max: 4 * 36e5, label: { en: "History kept", es: "Historial guardado" }, help: { en: "How far back GPU history can look.", es: "Hasta d\xF3nde puede mirar atr\xE1s el historial de GPU." } })
|
|
809
|
+
token: t.string({ secret: true, advanced: true, label: { en: "Metrics bearer token", es: "Token bearer de las m\xE9tricas", de: "Bearer-Token f\xFCr Metriken", "zh-Hant": "\u6307\u6A19 Bearer \u6B0A\u6756", "zh-Hans": "\u6307\u6807 Bearer \u4EE4\u724C" }, help: { en: "Only if the metrics URL is behind auth.", es: "Solo si la URL de m\xE9tricas pide autenticaci\xF3n.", de: "Nur wenn die Metrik-URL eine Anmeldung verlangt.", "zh-Hant": "\u50C5\u5728\u6307\u6A19 URL \u9700\u8981\u9A57\u8B49\u6642\u586B\u5BEB\u3002", "zh-Hans": "\u4EC5\u5F53\u6307\u6807 URL \u9700\u8981\u8BA4\u8BC1\u65F6\u586B\u5199\u3002" } }),
|
|
810
|
+
label: t.string({ placeholder: "gpubox", label: { en: "Host label", es: "Nombre del host", de: "Host-Bezeichnung", "zh-Hant": "\u4E3B\u6A5F\u6A19\u7C64", "zh-Hans": "\u4E3B\u673A\u6807\u7B7E" }, help: { en: "Shown above the GPUs. Defaults to the ssh host.", es: "Se muestra encima de las GPU. Por defecto, el host de ssh.", de: "Wird \xFCber den GPUs angezeigt. Standard ist der ssh-Host.", "zh-Hant": "\u986F\u793A\u5728 GPU \u4E0A\u65B9\u3002\u9810\u8A2D\u70BA ssh \u4E3B\u6A5F\u3002", "zh-Hans": "\u663E\u793A\u5728 GPU \u4E0A\u65B9\u3002\u9ED8\u8BA4\u4E3A ssh \u4E3B\u673A\u3002" } }),
|
|
811
|
+
processes: t.boolean({ default: true, label: { en: "Per-process VRAM", es: "VRAM por proceso", de: "VRAM pro Prozess", "zh-Hant": "\u5404\u8655\u7406\u7A0B\u5E8F\u7684\u986F\u793A\u8A18\u61B6\u9AD4", "zh-Hans": "\u5404\u8FDB\u7A0B\u7684\u663E\u5B58" }, help: { en: "One more nvidia-smi call per reading.", es: "Una llamada m\xE1s a nvidia-smi por lectura.", de: "Ein zus\xE4tzlicher nvidia-smi-Aufruf pro Abfrage.", "zh-Hant": "\u6BCF\u6B21\u8B80\u53D6\u591A\u547C\u53EB\u4E00\u6B21 nvidia-smi\u3002", "zh-Hans": "\u6BCF\u6B21\u8BFB\u53D6\u591A\u8C03\u7528\u4E00\u6B21 nvidia-smi\u3002" } }),
|
|
812
|
+
historyMs: t.duration({ default: 30 * 6e4, min: 6e4, max: 4 * 36e5, label: { en: "History kept", es: "Historial guardado", de: "Aufbewahrter Verlauf", "zh-Hant": "\u6B77\u53F2\u4FDD\u7559\u6642\u9577", "zh-Hans": "\u5386\u53F2\u4FDD\u7559\u65F6\u957F" }, help: { en: "How far back GPU history can look.", es: "Hasta d\xF3nde puede mirar atr\xE1s el historial de GPU.", de: "Wie weit der GPU-Verlauf zur\xFCckreichen kann.", "zh-Hant": "GPU \u6B77\u53F2\u6700\u591A\u53EF\u56DE\u6EAF\u591A\u4E45\u3002", "zh-Hans": "GPU \u5386\u53F2\u6700\u591A\u53EF\u56DE\u6EAF\u591A\u4E45\u3002" } })
|
|
803
813
|
});
|
|
804
814
|
var history = {};
|
|
805
815
|
var deps = { ...DEFAULT_DEPS };
|
|
806
816
|
var devices = defineSource({
|
|
807
817
|
id: "devices",
|
|
808
|
-
name: { en: "GPUs", es: "GPU" },
|
|
818
|
+
name: { en: "GPUs", es: "GPU", de: "GPUs", "zh-Hant": "GPU", "zh-Hans": "GPU" },
|
|
809
819
|
description: {
|
|
810
820
|
en: "Temperature, load, VRAM (and who holds it), power, fan and clocks per GPU, from this machine, another over ssh, or a Prometheus exporter.",
|
|
811
|
-
es: "Temperatura, carga, VRAM (y qui\xE9n la ocupa), potencia, ventilador y relojes por GPU, de esta m\xE1quina, de otra por ssh o de un exporter de Prometheus."
|
|
821
|
+
es: "Temperatura, carga, VRAM (y qui\xE9n la ocupa), potencia, ventilador y relojes por GPU, de esta m\xE1quina, de otra por ssh o de un exporter de Prometheus.",
|
|
822
|
+
de: "Temperatur, Last, VRAM (und wer ihn belegt), Leistung, L\xFCfter und Takt pro GPU, von diesem Rechner, einem anderen \xFCber ssh oder einem Prometheus-Exporter.",
|
|
823
|
+
"zh-Hant": "\u6BCF\u5F35 GPU \u7684\u6EAB\u5EA6\u3001\u8CA0\u8F09\u3001\u986F\u793A\u8A18\u61B6\u9AD4\uFF08\u53CA\u5176\u4F54\u7528\u8005\uFF09\u3001\u529F\u7387\u3001\u98A8\u6247\u8207\u6642\u8108\uFF0C\u4F86\u6E90\u53EF\u70BA\u672C\u6A5F\u3001\u900F\u904E ssh \u9023\u7DDA\u7684\u53E6\u4E00\u53F0\u6A5F\u5668\u6216 Prometheus exporter\u3002",
|
|
824
|
+
"zh-Hans": "\u6BCF\u5757 GPU \u7684\u6E29\u5EA6\u3001\u8D1F\u8F7D\u3001\u663E\u5B58\uFF08\u53CA\u5176\u5360\u7528\u8005\uFF09\u3001\u529F\u7387\u3001\u98CE\u6247\u548C\u9891\u7387\uFF0C\u53EF\u6765\u81EA\u672C\u673A\u3001\u901A\u8FC7 ssh \u8FDE\u63A5\u7684\u53E6\u4E00\u53F0\u673A\u5668\u6216 Prometheus exporter\u3002"
|
|
812
825
|
},
|
|
813
826
|
options: sourceOptions,
|
|
814
827
|
intervalMs: 5e3,
|
|
@@ -825,13 +838,13 @@ async function readDevices(o, signal, now) {
|
|
|
825
838
|
return snap;
|
|
826
839
|
}
|
|
827
840
|
var options = {
|
|
828
|
-
tempWarn: t.integer({ default: 80, min: 30, max: 120, unit: "\xB0C", label: { en: "Amber temperature", es: "Temperatura \xE1mbar" } }),
|
|
829
|
-
tempAlert: t.integer({ default: 90, min: 30, max: 120, unit: "\xB0C", label: { en: "Red temperature", es: "Temperatura roja" }, help: { en: "Of the core (the hotspot or memory sensor when there is no core one). The widget keeps the tile while a GPU is past it.", es: "Del n\xFAcleo (o del sensor de hotspot o de memoria si no hay del n\xFAcleo). El widget se queda la tesela mientras una GPU la pase." } }),
|
|
830
|
-
vramWarn: t.integer({ default: 90, min: 0, max: 100, unit: "%", slider: true, label: { en: "Amber VRAM from", es: "VRAM \xE1mbar desde" } }),
|
|
831
|
-
vramAlert: t.integer({ default: 97, min: 0, max: 100, unit: "%", slider: true, label: { en: "Red VRAM from", es: "VRAM roja desde" } }),
|
|
841
|
+
tempWarn: t.integer({ default: 80, min: 30, max: 120, unit: "\xB0C", label: { en: "Amber temperature", es: "Temperatura \xE1mbar", de: "Temperatur gelb ab", "zh-Hant": "\u6EAB\u5EA6\u7425\u73C0\u8272\u9580\u6ABB", "zh-Hans": "\u6E29\u5EA6\u7425\u73C0\u8272\u9608\u503C" } }),
|
|
842
|
+
tempAlert: t.integer({ default: 90, min: 30, max: 120, unit: "\xB0C", label: { en: "Red temperature", es: "Temperatura roja", de: "Temperatur rot ab", "zh-Hant": "\u6EAB\u5EA6\u7D05\u8272\u9580\u6ABB", "zh-Hans": "\u6E29\u5EA6\u7EA2\u8272\u9608\u503C" }, help: { en: "Of the core (the hotspot or memory sensor when there is no core one). The widget keeps the tile while a GPU is past it.", es: "Del n\xFAcleo (o del sensor de hotspot o de memoria si no hay del n\xFAcleo). El widget se queda la tesela mientras una GPU la pase.", de: "Des Kerns (Hotspot- oder Speichersensor, wenn es keinen Kernsensor gibt). Das Widget beh\xE4lt die Kachel, solange eine GPU dar\xFCber liegt.", "zh-Hant": "\u6307\u6838\u5FC3\u6EAB\u5EA6\uFF08\u6C92\u6709\u6838\u5FC3\u611F\u6E2C\u5668\u6642\u6539\u7528\u71B1\u9EDE\u6216\u8A18\u61B6\u9AD4\u611F\u6E2C\u5668\uFF09\u3002\u53EA\u8981\u6709 GPU \u8D85\u904E\u6B64\u503C\uFF0C\u5C0F\u5DE5\u5177\u5C31\u6703\u6301\u7E8C\u4F54\u7528\u65B9\u683C\u3002", "zh-Hans": "\u6307\u6838\u5FC3\u6E29\u5EA6\uFF08\u6CA1\u6709\u6838\u5FC3\u4F20\u611F\u5668\u65F6\u6539\u7528\u70ED\u70B9\u6216\u663E\u5B58\u4F20\u611F\u5668\uFF09\u3002\u53EA\u8981\u6709 GPU \u8D85\u8FC7\u6B64\u503C\uFF0C\u5C0F\u7EC4\u4EF6\u5C31\u4F1A\u6301\u7EED\u5360\u7528\u683C\u5B50\u3002" } }),
|
|
843
|
+
vramWarn: t.integer({ default: 90, min: 0, max: 100, unit: "%", slider: true, label: { en: "Amber VRAM from", es: "VRAM \xE1mbar desde", de: "VRAM gelb ab", "zh-Hant": "\u986F\u793A\u8A18\u61B6\u9AD4\u7425\u73C0\u8272\u9580\u6ABB", "zh-Hans": "\u663E\u5B58\u7425\u73C0\u8272\u9608\u503C" } }),
|
|
844
|
+
vramAlert: t.integer({ default: 97, min: 0, max: 100, unit: "%", slider: true, label: { en: "Red VRAM from", es: "VRAM roja desde", de: "VRAM rot ab", "zh-Hant": "\u986F\u793A\u8A18\u61B6\u9AD4\u7D05\u8272\u9580\u6ABB", "zh-Hans": "\u663E\u5B58\u7EA2\u8272\u9608\u503C" } }),
|
|
832
845
|
gpus: t.filter({
|
|
833
|
-
label: { en: "GPUs", es: "GPU" },
|
|
834
|
-
help: { en: "Empty: all. Indexes or model names, comma-separated: * matches anything, a leading ! leaves out (0, 1, *4090*, !*A6000*).", es: "Vac\xEDo: todas. \xCDndices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*)." }
|
|
846
|
+
label: { en: "GPUs", es: "GPU", de: "GPUs", "zh-Hant": "GPU", "zh-Hans": "GPU" },
|
|
847
|
+
help: { en: "Empty: all. Indexes or model names, comma-separated: * matches anything, a leading ! leaves out (0, 1, *4090*, !*A6000*).", es: "Vac\xEDo: todas. \xCDndices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*).", de: "Leer: alle. Indizes oder Modellnamen, durch Kommas getrennt: * steht f\xFCr beliebigen Text, ein vorangestelltes ! schlie\xDFt aus (0, 1, *4090*, !*A6000*).", "zh-Hant": "\u7559\u7A7A\uFF1A\u5168\u90E8\u3002\u4EE5\u9017\u865F\u5206\u9694\u7684\u7D22\u5F15\u6216\u578B\u865F\uFF1A* \u7B26\u5408\u4EFB\u4F55\u5167\u5BB9\uFF0C\u958B\u982D\u52A0 ! \u8868\u793A\u6392\u9664\uFF080, 1, *4090*, !*A6000*\uFF09\u3002", "zh-Hans": "\u7559\u7A7A\uFF1A\u5168\u90E8\u3002\u4EE5\u9017\u53F7\u5206\u9694\u7684\u7D22\u5F15\u6216\u578B\u53F7\uFF1A* \u5339\u914D\u4EFB\u610F\u5185\u5BB9\uFF0C\u5F00\u5934\u52A0 ! \u8868\u793A\u6392\u9664\uFF080, 1, *4090*, !*A6000*\uFF09\u3002" }
|
|
835
848
|
})
|
|
836
849
|
};
|
|
837
850
|
var gpusOf = ({ options: options2, sources }) => filterGpus(snapshotOf(sources), options2.gpus);
|
|
@@ -840,10 +853,13 @@ var idle = (st) => !anyBusy(gpusOf(st), st.options);
|
|
|
840
853
|
var demo = ({ now }) => ({ sources: { [DEVICES_SOURCE]: demoSnapshot(now) } });
|
|
841
854
|
var cards = defineWidget({
|
|
842
855
|
id: "cards",
|
|
843
|
-
name: { en: "GPU cards", es: "Tarjetas de GPU" },
|
|
856
|
+
name: { en: "GPU cards", es: "Tarjetas de GPU", de: "GPU-Karten", "zh-Hant": "GPU \u5361\u7247", "zh-Hans": "GPU \u5361\u7247" },
|
|
844
857
|
description: {
|
|
845
858
|
en: "One column per GPU: temperature, load, VRAM and power bars, fan and throttling. Dim until a threshold is crossed.",
|
|
846
|
-
es: "Una columna por GPU: temperatura, carga, barras de VRAM y potencia, ventilador y limitaci\xF3n. Apagada hasta cruzar un umbral."
|
|
859
|
+
es: "Una columna por GPU: temperatura, carga, barras de VRAM y potencia, ventilador y limitaci\xF3n. Apagada hasta cruzar un umbral.",
|
|
860
|
+
de: "Eine Spalte pro GPU: Balken f\xFCr Temperatur, Last, VRAM und Leistung, dazu L\xFCfter und Drosselung. Gedimmt, bis ein Schwellenwert \xFCberschritten ist.",
|
|
861
|
+
"zh-Hant": "\u6BCF\u5F35 GPU \u4E00\u6B04\uFF1A\u6EAB\u5EA6\u3001\u8CA0\u8F09\u3001\u986F\u793A\u8A18\u61B6\u9AD4\u8207\u529F\u7387\u9577\u689D\u3001\u98A8\u6247\u548C\u964D\u983B\u72C0\u614B\u3002\u672A\u8D85\u904E\u9580\u6ABB\u524D\u4FDD\u6301\u6697\u8272\u3002",
|
|
862
|
+
"zh-Hans": "\u6BCF\u5757 GPU \u4E00\u5217\uFF1A\u6E29\u5EA6\u3001\u8D1F\u8F7D\u3001\u663E\u5B58\u548C\u529F\u7387\u6761\u3001\u98CE\u6247\u53CA\u964D\u9891\u72B6\u6001\u3002\u672A\u8D85\u8FC7\u9608\u503C\u524D\u4FDD\u6301\u6697\u8272\u3002"
|
|
847
863
|
},
|
|
848
864
|
icon: "cpu",
|
|
849
865
|
category: "system",
|
|
@@ -860,16 +876,19 @@ var cards = defineWidget({
|
|
|
860
876
|
});
|
|
861
877
|
var vram = defineWidget({
|
|
862
878
|
id: "vram",
|
|
863
|
-
name: { en: "GPU memory", es: "Memoria de GPU" },
|
|
879
|
+
name: { en: "GPU memory", es: "Memoria de GPU", de: "GPU-Speicher", "zh-Hant": "GPU \u986F\u793A\u8A18\u61B6\u9AD4", "zh-Hans": "GPU \u663E\u5B58" },
|
|
864
880
|
description: {
|
|
865
881
|
en: "VRAM per GPU as a bar stacked by process (ollama, vllm, python\u2026), with what is left free.",
|
|
866
|
-
es: "VRAM por GPU como una barra apilada por proceso (ollama, vllm, python\u2026), con lo que queda libre."
|
|
882
|
+
es: "VRAM por GPU como una barra apilada por proceso (ollama, vllm, python\u2026), con lo que queda libre.",
|
|
883
|
+
de: "VRAM pro GPU als nach Prozessen gestapelter Balken (ollama, vllm, python\u2026), mit dem, was frei bleibt.",
|
|
884
|
+
"zh-Hant": "\u6BCF\u5F35 GPU \u7684\u986F\u793A\u8A18\u61B6\u9AD4\u4EE5\u4F9D\u8655\u7406\u7A0B\u5E8F\u5806\u758A\u7684\u9577\u689D\u5448\u73FE\uFF08ollama\u3001vllm\u3001python\u2026\uFF09\uFF0C\u4E26\u6A19\u51FA\u5269\u9918\u7A7A\u9593\u3002",
|
|
885
|
+
"zh-Hans": "\u6BCF\u5757 GPU \u7684\u663E\u5B58\u4EE5\u6309\u8FDB\u7A0B\u5806\u53E0\u7684\u6761\u5F62\u663E\u793A\uFF08ollama\u3001vllm\u3001python\u2026\uFF09\uFF0C\u5E76\u6807\u51FA\u5269\u4F59\u7A7A\u95F4\u3002"
|
|
867
886
|
},
|
|
868
887
|
icon: "cpu",
|
|
869
888
|
category: "system",
|
|
870
889
|
tags: ["gpu", "vram", "models", "ai"],
|
|
871
890
|
size: { min: { w: 200, h: 60 }, preferred: { w: 960, h: 230 } },
|
|
872
|
-
options: t.object({ ...options, maxProcesses: t.integer({ default: 4, min: 1, max: 12, label: { en: "Processes per bar", es: "Procesos por barra" }, help: { en: 'The rest is grouped as "other".', es: "El resto se agrupa como \xABotros\xBB." } }) }),
|
|
891
|
+
options: t.object({ ...options, maxProcesses: t.integer({ default: 4, min: 1, max: 12, label: { en: "Processes per bar", es: "Procesos por barra", de: "Prozesse pro Balken", "zh-Hant": "\u6BCF\u689D\u9577\u689D\u7684\u8655\u7406\u7A0B\u5E8F\u6578", "zh-Hans": "\u6BCF\u6761\u7684\u8FDB\u7A0B\u6570" }, help: { en: 'The rest is grouped as "other".', es: "El resto se agrupa como \xABotros\xBB.", de: "Der Rest wird als \u201Eandere\u201C zusammengefasst.", "zh-Hant": "\u5176\u9918\u6B78\u70BA\u300C\u5176\u4ED6\u300D\u3002", "zh-Hans": "\u5176\u4F59\u5F52\u4E3A\u201C\u5176\u4ED6\u201D\u3002" } }) }),
|
|
873
892
|
sources: [DEVICES_SOURCE],
|
|
874
893
|
render(g, ctx) {
|
|
875
894
|
drawVram(g, ctx, gpusOf(ctx), ctx.options, ctx.options.maxProcesses);
|
|
@@ -880,16 +899,19 @@ var vram = defineWidget({
|
|
|
880
899
|
});
|
|
881
900
|
var historyWidget = defineWidget({
|
|
882
901
|
id: "history",
|
|
883
|
-
name: { en: "GPU history", es: "Historial de GPU" },
|
|
902
|
+
name: { en: "GPU history", es: "Historial de GPU", de: "GPU-Verlauf", "zh-Hant": "GPU \u6B77\u53F2", "zh-Hans": "GPU \u5386\u53F2" },
|
|
884
903
|
description: {
|
|
885
904
|
en: "Temperature line over load area for the last minutes, per GPU, with the red temperature dashed.",
|
|
886
|
-
es: "L\xEDnea de temperatura sobre \xE1rea de carga de los \xFAltimos minutos, por GPU, con la temperatura roja discontinua."
|
|
905
|
+
es: "L\xEDnea de temperatura sobre \xE1rea de carga de los \xFAltimos minutos, por GPU, con la temperatura roja discontinua.",
|
|
906
|
+
de: "Temperaturlinie \xFCber der Lastfl\xE4che der letzten Minuten, pro GPU, mit der roten Temperaturschwelle gestrichelt.",
|
|
907
|
+
"zh-Hant": "\u6BCF\u5F35 GPU \u6700\u8FD1\u5E7E\u5206\u9418\u7684\u6EAB\u5EA6\u6298\u7DDA\u758A\u5728\u8CA0\u8F09\u9762\u7A4D\u5716\u4E0A\uFF0C\u7D05\u8272\u6EAB\u5EA6\u9580\u6ABB\u4EE5\u865B\u7DDA\u6A19\u793A\u3002",
|
|
908
|
+
"zh-Hans": "\u6BCF\u5757 GPU \u6700\u8FD1\u51E0\u5206\u949F\u7684\u6E29\u5EA6\u6298\u7EBF\u53E0\u52A0\u5728\u8D1F\u8F7D\u9762\u79EF\u56FE\u4E0A\uFF0C\u7EA2\u8272\u6E29\u5EA6\u9608\u503C\u4EE5\u865A\u7EBF\u6807\u793A\u3002"
|
|
887
909
|
},
|
|
888
910
|
icon: "chart",
|
|
889
911
|
category: "system",
|
|
890
912
|
tags: ["gpu", "temperature", "history", "chart"],
|
|
891
913
|
size: { min: { w: 200, h: 100 }, preferred: { w: 960, h: 230 } },
|
|
892
|
-
options: t.object({ ...options, historyMs: t.duration({ default: 30 * 6e4, min: 6e4, max: 4 * 36e5, label: { en: "Time shown", es: "Tiempo mostrado" }, help: { en: "Up to the history kept by the source.", es: "Hasta el historial que guarda la fuente." } }) }),
|
|
914
|
+
options: t.object({ ...options, historyMs: t.duration({ default: 30 * 6e4, min: 6e4, max: 4 * 36e5, label: { en: "Time shown", es: "Tiempo mostrado", de: "Angezeigter Zeitraum", "zh-Hant": "\u986F\u793A\u6642\u9577", "zh-Hans": "\u663E\u793A\u65F6\u957F" }, help: { en: "Up to the history kept by the source.", es: "Hasta el historial que guarda la fuente.", de: "Bis zum Verlauf, den die Datenquelle aufbewahrt.", "zh-Hant": "\u6700\u591A\u70BA\u8CC7\u6599\u4F86\u6E90\u4FDD\u7559\u7684\u6B77\u53F2\u9577\u5EA6\u3002", "zh-Hans": "\u6700\u591A\u4E3A\u6570\u636E\u6E90\u4FDD\u7559\u7684\u5386\u53F2\u957F\u5EA6\u3002" } }) }),
|
|
893
915
|
sources: [DEVICES_SOURCE],
|
|
894
916
|
render(g, ctx) {
|
|
895
917
|
drawHistory(g, ctx, gpusOf(ctx), ctx.options, ctx.options.historyMs);
|
|
@@ -900,13 +922,17 @@ var historyWidget = defineWidget({
|
|
|
900
922
|
});
|
|
901
923
|
var index_default = definePlugin({
|
|
902
924
|
id: "gpu",
|
|
903
|
-
name: { en: "GPU", es: "GPU" },
|
|
904
|
-
version: "0.2.
|
|
925
|
+
name: { en: "GPU", es: "GPU", de: "GPU", "zh-Hant": "GPU", "zh-Hans": "GPU" },
|
|
926
|
+
version: "0.2.2",
|
|
927
|
+
languages: ["en", "es", "de", "zh-Hant", "zh-Hans"],
|
|
905
928
|
sdk: "^0.2.0",
|
|
906
929
|
permissions: { exec: ["nvidia-smi", "rocm-smi", "amd-smi", "ssh"], files: ["/sys/class/drm"], network: ["user"] },
|
|
907
930
|
description: {
|
|
908
931
|
en: "The GPUs of your AI box: temperature, load, VRAM by process and history. Local, over ssh or from a Prometheus exporter.",
|
|
909
|
-
es: "Las GPU de tu m\xE1quina de IA: temperatura, carga, VRAM por proceso e historial. En local, por ssh o desde un exporter de Prometheus."
|
|
932
|
+
es: "Las GPU de tu m\xE1quina de IA: temperatura, carga, VRAM por proceso e historial. En local, por ssh o desde un exporter de Prometheus.",
|
|
933
|
+
de: "Die GPUs deines KI-Rechners: Temperatur, Last, VRAM nach Prozess und Verlauf. Lokal, \xFCber ssh oder von einem Prometheus-Exporter.",
|
|
934
|
+
"zh-Hant": "\u4F60 AI \u4E3B\u6A5F\u4E0A\u7684 GPU\uFF1A\u6EAB\u5EA6\u3001\u8CA0\u8F09\u3001\u5404\u8655\u7406\u7A0B\u5E8F\u7684\u986F\u793A\u8A18\u61B6\u9AD4\u8207\u6B77\u53F2\u3002\u53EF\u5728\u672C\u6A5F\u8B80\u53D6\u3001\u900F\u904E ssh \u6216\u5F9E Prometheus exporter \u53D6\u5F97\u3002",
|
|
935
|
+
"zh-Hans": "\u4F60 AI \u4E3B\u673A\u4E0A\u7684 GPU\uFF1A\u6E29\u5EA6\u3001\u8D1F\u8F7D\u3001\u5404\u8FDB\u7A0B\u7684\u663E\u5B58\u548C\u5386\u53F2\u3002\u53EF\u5728\u672C\u673A\u8BFB\u53D6\u3001\u901A\u8FC7 ssh \u6216\u4ECE Prometheus exporter \u83B7\u53D6\u3002"
|
|
910
936
|
},
|
|
911
937
|
author: "Kiosko",
|
|
912
938
|
license: "MIT",
|
package/kiosko-manifest.json
CHANGED
|
@@ -4,12 +4,18 @@
|
|
|
4
4
|
"package": "kiosko-plugin-gpu",
|
|
5
5
|
"name": {
|
|
6
6
|
"en": "GPU",
|
|
7
|
-
"es": "GPU"
|
|
7
|
+
"es": "GPU",
|
|
8
|
+
"de": "GPU",
|
|
9
|
+
"zh-Hant": "GPU",
|
|
10
|
+
"zh-Hans": "GPU"
|
|
8
11
|
},
|
|
9
|
-
"version": "0.2.
|
|
12
|
+
"version": "0.2.2",
|
|
10
13
|
"description": {
|
|
11
14
|
"en": "The GPUs of your AI box: temperature, load, VRAM by process and history. Local, over ssh or from a Prometheus exporter.",
|
|
12
|
-
"es": "Las GPU de tu máquina de IA: temperatura, carga, VRAM por proceso e historial. En local, por ssh o desde un exporter de Prometheus."
|
|
15
|
+
"es": "Las GPU de tu máquina de IA: temperatura, carga, VRAM por proceso e historial. En local, por ssh o desde un exporter de Prometheus.",
|
|
16
|
+
"de": "Die GPUs deines KI-Rechners: Temperatur, Last, VRAM nach Prozess und Verlauf. Lokal, über ssh oder von einem Prometheus-Exporter.",
|
|
17
|
+
"zh-Hant": "你 AI 主機上的 GPU:溫度、負載、各處理程序的顯示記憶體與歷史。可在本機讀取、透過 ssh 或從 Prometheus exporter 取得。",
|
|
18
|
+
"zh-Hans": "你 AI 主机上的 GPU:温度、负载、各进程的显存和历史。可在本机读取、通过 ssh 或从 Prometheus exporter 获取。"
|
|
13
19
|
},
|
|
14
20
|
"author": "Kiosko",
|
|
15
21
|
"license": "MIT",
|
|
@@ -24,7 +30,10 @@
|
|
|
24
30
|
],
|
|
25
31
|
"languages": [
|
|
26
32
|
"en",
|
|
27
|
-
"es"
|
|
33
|
+
"es",
|
|
34
|
+
"de",
|
|
35
|
+
"zh-Hant",
|
|
36
|
+
"zh-Hans"
|
|
28
37
|
],
|
|
29
38
|
"categories": [
|
|
30
39
|
"system"
|
|
@@ -82,11 +91,17 @@
|
|
|
82
91
|
"type": "gpu/cards",
|
|
83
92
|
"name": {
|
|
84
93
|
"en": "GPU cards",
|
|
85
|
-
"es": "Tarjetas de GPU"
|
|
94
|
+
"es": "Tarjetas de GPU",
|
|
95
|
+
"de": "GPU-Karten",
|
|
96
|
+
"zh-Hant": "GPU 卡片",
|
|
97
|
+
"zh-Hans": "GPU 卡片"
|
|
86
98
|
},
|
|
87
99
|
"description": {
|
|
88
100
|
"en": "One column per GPU: temperature, load, VRAM and power bars, fan and throttling. Dim until a threshold is crossed.",
|
|
89
|
-
"es": "Una columna por GPU: temperatura, carga, barras de VRAM y potencia, ventilador y limitación. Apagada hasta cruzar un umbral."
|
|
101
|
+
"es": "Una columna por GPU: temperatura, carga, barras de VRAM y potencia, ventilador y limitación. Apagada hasta cruzar un umbral.",
|
|
102
|
+
"de": "Eine Spalte pro GPU: Balken für Temperatur, Last, VRAM und Leistung, dazu Lüfter und Drosselung. Gedimmt, bis ein Schwellenwert überschritten ist.",
|
|
103
|
+
"zh-Hant": "每張 GPU 一欄:溫度、負載、顯示記憶體與功率長條、風扇和降頻狀態。未超過門檻前保持暗色。",
|
|
104
|
+
"zh-Hans": "每块 GPU 一列:温度、负载、显存和功率条、风扇及降频状态。未超过阈值前保持暗色。"
|
|
90
105
|
},
|
|
91
106
|
"icon": "cpu",
|
|
92
107
|
"category": "system",
|
|
@@ -129,7 +144,10 @@
|
|
|
129
144
|
"x-ui": {
|
|
130
145
|
"label": {
|
|
131
146
|
"en": "Amber temperature",
|
|
132
|
-
"es": "Temperatura ámbar"
|
|
147
|
+
"es": "Temperatura ámbar",
|
|
148
|
+
"de": "Temperatur gelb ab",
|
|
149
|
+
"zh-Hant": "溫度琥珀色門檻",
|
|
150
|
+
"zh-Hans": "温度琥珀色阈值"
|
|
133
151
|
},
|
|
134
152
|
"unit": "°C"
|
|
135
153
|
},
|
|
@@ -144,11 +162,17 @@
|
|
|
144
162
|
"x-ui": {
|
|
145
163
|
"label": {
|
|
146
164
|
"en": "Red temperature",
|
|
147
|
-
"es": "Temperatura roja"
|
|
165
|
+
"es": "Temperatura roja",
|
|
166
|
+
"de": "Temperatur rot ab",
|
|
167
|
+
"zh-Hant": "溫度紅色門檻",
|
|
168
|
+
"zh-Hans": "温度红色阈值"
|
|
148
169
|
},
|
|
149
170
|
"help": {
|
|
150
171
|
"en": "Of the core (the hotspot or memory sensor when there is no core one). The widget keeps the tile while a GPU is past it.",
|
|
151
|
-
"es": "Del núcleo (o del sensor de hotspot o de memoria si no hay del núcleo). El widget se queda la tesela mientras una GPU la pase."
|
|
172
|
+
"es": "Del núcleo (o del sensor de hotspot o de memoria si no hay del núcleo). El widget se queda la tesela mientras una GPU la pase.",
|
|
173
|
+
"de": "Des Kerns (Hotspot- oder Speichersensor, wenn es keinen Kernsensor gibt). Das Widget behält die Kachel, solange eine GPU darüber liegt.",
|
|
174
|
+
"zh-Hant": "指核心溫度(沒有核心感測器時改用熱點或記憶體感測器)。只要有 GPU 超過此值,小工具就會持續佔用方格。",
|
|
175
|
+
"zh-Hans": "指核心温度(没有核心传感器时改用热点或显存传感器)。只要有 GPU 超过此值,小组件就会持续占用格子。"
|
|
152
176
|
},
|
|
153
177
|
"unit": "°C"
|
|
154
178
|
},
|
|
@@ -162,7 +186,10 @@
|
|
|
162
186
|
"x-ui": {
|
|
163
187
|
"label": {
|
|
164
188
|
"en": "Amber VRAM from",
|
|
165
|
-
"es": "VRAM ámbar desde"
|
|
189
|
+
"es": "VRAM ámbar desde",
|
|
190
|
+
"de": "VRAM gelb ab",
|
|
191
|
+
"zh-Hant": "顯示記憶體琥珀色門檻",
|
|
192
|
+
"zh-Hans": "显存琥珀色阈值"
|
|
166
193
|
},
|
|
167
194
|
"unit": "%",
|
|
168
195
|
"slider": true
|
|
@@ -177,7 +204,10 @@
|
|
|
177
204
|
"x-ui": {
|
|
178
205
|
"label": {
|
|
179
206
|
"en": "Red VRAM from",
|
|
180
|
-
"es": "VRAM roja desde"
|
|
207
|
+
"es": "VRAM roja desde",
|
|
208
|
+
"de": "VRAM rot ab",
|
|
209
|
+
"zh-Hant": "顯示記憶體紅色門檻",
|
|
210
|
+
"zh-Hans": "显存红色阈值"
|
|
181
211
|
},
|
|
182
212
|
"unit": "%",
|
|
183
213
|
"slider": true
|
|
@@ -193,11 +223,17 @@
|
|
|
193
223
|
"x-ui": {
|
|
194
224
|
"label": {
|
|
195
225
|
"en": "GPUs",
|
|
196
|
-
"es": "GPU"
|
|
226
|
+
"es": "GPU",
|
|
227
|
+
"de": "GPUs",
|
|
228
|
+
"zh-Hant": "GPU",
|
|
229
|
+
"zh-Hans": "GPU"
|
|
197
230
|
},
|
|
198
231
|
"help": {
|
|
199
232
|
"en": "Empty: all. Indexes or model names, comma-separated: * matches anything, a leading ! leaves out (0, 1, *4090*, !*A6000*).",
|
|
200
|
-
"es": "Vacío: todas. Índices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*)."
|
|
233
|
+
"es": "Vacío: todas. Índices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*).",
|
|
234
|
+
"de": "Leer: alle. Indizes oder Modellnamen, durch Kommas getrennt: * steht für beliebigen Text, ein vorangestelltes ! schließt aus (0, 1, *4090*, !*A6000*).",
|
|
235
|
+
"zh-Hant": "留空:全部。以逗號分隔的索引或型號:* 符合任何內容,開頭加 ! 表示排除(0, 1, *4090*, !*A6000*)。",
|
|
236
|
+
"zh-Hans": "留空:全部。以逗号分隔的索引或型号:* 匹配任意内容,开头加 ! 表示排除(0, 1, *4090*, !*A6000*)。"
|
|
201
237
|
},
|
|
202
238
|
"widget": "filter"
|
|
203
239
|
},
|
|
@@ -221,11 +257,17 @@
|
|
|
221
257
|
"type": "gpu/vram",
|
|
222
258
|
"name": {
|
|
223
259
|
"en": "GPU memory",
|
|
224
|
-
"es": "Memoria de GPU"
|
|
260
|
+
"es": "Memoria de GPU",
|
|
261
|
+
"de": "GPU-Speicher",
|
|
262
|
+
"zh-Hant": "GPU 顯示記憶體",
|
|
263
|
+
"zh-Hans": "GPU 显存"
|
|
225
264
|
},
|
|
226
265
|
"description": {
|
|
227
266
|
"en": "VRAM per GPU as a bar stacked by process (ollama, vllm, python…), with what is left free.",
|
|
228
|
-
"es": "VRAM por GPU como una barra apilada por proceso (ollama, vllm, python…), con lo que queda libre."
|
|
267
|
+
"es": "VRAM por GPU como una barra apilada por proceso (ollama, vllm, python…), con lo que queda libre.",
|
|
268
|
+
"de": "VRAM pro GPU als nach Prozessen gestapelter Balken (ollama, vllm, python…), mit dem, was frei bleibt.",
|
|
269
|
+
"zh-Hant": "每張 GPU 的顯示記憶體以依處理程序堆疊的長條呈現(ollama、vllm、python…),並標出剩餘空間。",
|
|
270
|
+
"zh-Hans": "每块 GPU 的显存以按进程堆叠的条形显示(ollama、vllm、python…),并标出剩余空间。"
|
|
229
271
|
},
|
|
230
272
|
"icon": "cpu",
|
|
231
273
|
"category": "system",
|
|
@@ -267,7 +309,10 @@
|
|
|
267
309
|
"x-ui": {
|
|
268
310
|
"label": {
|
|
269
311
|
"en": "Amber temperature",
|
|
270
|
-
"es": "Temperatura ámbar"
|
|
312
|
+
"es": "Temperatura ámbar",
|
|
313
|
+
"de": "Temperatur gelb ab",
|
|
314
|
+
"zh-Hant": "溫度琥珀色門檻",
|
|
315
|
+
"zh-Hans": "温度琥珀色阈值"
|
|
271
316
|
},
|
|
272
317
|
"unit": "°C"
|
|
273
318
|
},
|
|
@@ -282,11 +327,17 @@
|
|
|
282
327
|
"x-ui": {
|
|
283
328
|
"label": {
|
|
284
329
|
"en": "Red temperature",
|
|
285
|
-
"es": "Temperatura roja"
|
|
330
|
+
"es": "Temperatura roja",
|
|
331
|
+
"de": "Temperatur rot ab",
|
|
332
|
+
"zh-Hant": "溫度紅色門檻",
|
|
333
|
+
"zh-Hans": "温度红色阈值"
|
|
286
334
|
},
|
|
287
335
|
"help": {
|
|
288
336
|
"en": "Of the core (the hotspot or memory sensor when there is no core one). The widget keeps the tile while a GPU is past it.",
|
|
289
|
-
"es": "Del núcleo (o del sensor de hotspot o de memoria si no hay del núcleo). El widget se queda la tesela mientras una GPU la pase."
|
|
337
|
+
"es": "Del núcleo (o del sensor de hotspot o de memoria si no hay del núcleo). El widget se queda la tesela mientras una GPU la pase.",
|
|
338
|
+
"de": "Des Kerns (Hotspot- oder Speichersensor, wenn es keinen Kernsensor gibt). Das Widget behält die Kachel, solange eine GPU darüber liegt.",
|
|
339
|
+
"zh-Hant": "指核心溫度(沒有核心感測器時改用熱點或記憶體感測器)。只要有 GPU 超過此值,小工具就會持續佔用方格。",
|
|
340
|
+
"zh-Hans": "指核心温度(没有核心传感器时改用热点或显存传感器)。只要有 GPU 超过此值,小组件就会持续占用格子。"
|
|
290
341
|
},
|
|
291
342
|
"unit": "°C"
|
|
292
343
|
},
|
|
@@ -300,7 +351,10 @@
|
|
|
300
351
|
"x-ui": {
|
|
301
352
|
"label": {
|
|
302
353
|
"en": "Amber VRAM from",
|
|
303
|
-
"es": "VRAM ámbar desde"
|
|
354
|
+
"es": "VRAM ámbar desde",
|
|
355
|
+
"de": "VRAM gelb ab",
|
|
356
|
+
"zh-Hant": "顯示記憶體琥珀色門檻",
|
|
357
|
+
"zh-Hans": "显存琥珀色阈值"
|
|
304
358
|
},
|
|
305
359
|
"unit": "%",
|
|
306
360
|
"slider": true
|
|
@@ -315,7 +369,10 @@
|
|
|
315
369
|
"x-ui": {
|
|
316
370
|
"label": {
|
|
317
371
|
"en": "Red VRAM from",
|
|
318
|
-
"es": "VRAM roja desde"
|
|
372
|
+
"es": "VRAM roja desde",
|
|
373
|
+
"de": "VRAM rot ab",
|
|
374
|
+
"zh-Hant": "顯示記憶體紅色門檻",
|
|
375
|
+
"zh-Hans": "显存红色阈值"
|
|
319
376
|
},
|
|
320
377
|
"unit": "%",
|
|
321
378
|
"slider": true
|
|
@@ -331,11 +388,17 @@
|
|
|
331
388
|
"x-ui": {
|
|
332
389
|
"label": {
|
|
333
390
|
"en": "GPUs",
|
|
334
|
-
"es": "GPU"
|
|
391
|
+
"es": "GPU",
|
|
392
|
+
"de": "GPUs",
|
|
393
|
+
"zh-Hant": "GPU",
|
|
394
|
+
"zh-Hans": "GPU"
|
|
335
395
|
},
|
|
336
396
|
"help": {
|
|
337
397
|
"en": "Empty: all. Indexes or model names, comma-separated: * matches anything, a leading ! leaves out (0, 1, *4090*, !*A6000*).",
|
|
338
|
-
"es": "Vacío: todas. Índices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*)."
|
|
398
|
+
"es": "Vacío: todas. Índices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*).",
|
|
399
|
+
"de": "Leer: alle. Indizes oder Modellnamen, durch Kommas getrennt: * steht für beliebigen Text, ein vorangestelltes ! schließt aus (0, 1, *4090*, !*A6000*).",
|
|
400
|
+
"zh-Hant": "留空:全部。以逗號分隔的索引或型號:* 符合任何內容,開頭加 ! 表示排除(0, 1, *4090*, !*A6000*)。",
|
|
401
|
+
"zh-Hans": "留空:全部。以逗号分隔的索引或型号:* 匹配任意内容,开头加 ! 表示排除(0, 1, *4090*, !*A6000*)。"
|
|
339
402
|
},
|
|
340
403
|
"widget": "filter"
|
|
341
404
|
},
|
|
@@ -356,11 +419,17 @@
|
|
|
356
419
|
"x-ui": {
|
|
357
420
|
"label": {
|
|
358
421
|
"en": "Processes per bar",
|
|
359
|
-
"es": "Procesos por barra"
|
|
422
|
+
"es": "Procesos por barra",
|
|
423
|
+
"de": "Prozesse pro Balken",
|
|
424
|
+
"zh-Hant": "每條長條的處理程序數",
|
|
425
|
+
"zh-Hans": "每条的进程数"
|
|
360
426
|
},
|
|
361
427
|
"help": {
|
|
362
428
|
"en": "The rest is grouped as \"other\".",
|
|
363
|
-
"es": "El resto se agrupa como «otros»."
|
|
429
|
+
"es": "El resto se agrupa como «otros».",
|
|
430
|
+
"de": "Der Rest wird als „andere“ zusammengefasst.",
|
|
431
|
+
"zh-Hant": "其餘歸為「其他」。",
|
|
432
|
+
"zh-Hans": "其余归为“其他”。"
|
|
364
433
|
}
|
|
365
434
|
},
|
|
366
435
|
"type": "integer",
|
|
@@ -377,11 +446,17 @@
|
|
|
377
446
|
"type": "gpu/history",
|
|
378
447
|
"name": {
|
|
379
448
|
"en": "GPU history",
|
|
380
|
-
"es": "Historial de GPU"
|
|
449
|
+
"es": "Historial de GPU",
|
|
450
|
+
"de": "GPU-Verlauf",
|
|
451
|
+
"zh-Hant": "GPU 歷史",
|
|
452
|
+
"zh-Hans": "GPU 历史"
|
|
381
453
|
},
|
|
382
454
|
"description": {
|
|
383
455
|
"en": "Temperature line over load area for the last minutes, per GPU, with the red temperature dashed.",
|
|
384
|
-
"es": "Línea de temperatura sobre área de carga de los últimos minutos, por GPU, con la temperatura roja discontinua."
|
|
456
|
+
"es": "Línea de temperatura sobre área de carga de los últimos minutos, por GPU, con la temperatura roja discontinua.",
|
|
457
|
+
"de": "Temperaturlinie über der Lastfläche der letzten Minuten, pro GPU, mit der roten Temperaturschwelle gestrichelt.",
|
|
458
|
+
"zh-Hant": "每張 GPU 最近幾分鐘的溫度折線疊在負載面積圖上,紅色溫度門檻以虛線標示。",
|
|
459
|
+
"zh-Hans": "每块 GPU 最近几分钟的温度折线叠加在负载面积图上,红色温度阈值以虚线标示。"
|
|
385
460
|
},
|
|
386
461
|
"icon": "chart",
|
|
387
462
|
"category": "system",
|
|
@@ -423,7 +498,10 @@
|
|
|
423
498
|
"x-ui": {
|
|
424
499
|
"label": {
|
|
425
500
|
"en": "Amber temperature",
|
|
426
|
-
"es": "Temperatura ámbar"
|
|
501
|
+
"es": "Temperatura ámbar",
|
|
502
|
+
"de": "Temperatur gelb ab",
|
|
503
|
+
"zh-Hant": "溫度琥珀色門檻",
|
|
504
|
+
"zh-Hans": "温度琥珀色阈值"
|
|
427
505
|
},
|
|
428
506
|
"unit": "°C"
|
|
429
507
|
},
|
|
@@ -438,11 +516,17 @@
|
|
|
438
516
|
"x-ui": {
|
|
439
517
|
"label": {
|
|
440
518
|
"en": "Red temperature",
|
|
441
|
-
"es": "Temperatura roja"
|
|
519
|
+
"es": "Temperatura roja",
|
|
520
|
+
"de": "Temperatur rot ab",
|
|
521
|
+
"zh-Hant": "溫度紅色門檻",
|
|
522
|
+
"zh-Hans": "温度红色阈值"
|
|
442
523
|
},
|
|
443
524
|
"help": {
|
|
444
525
|
"en": "Of the core (the hotspot or memory sensor when there is no core one). The widget keeps the tile while a GPU is past it.",
|
|
445
|
-
"es": "Del núcleo (o del sensor de hotspot o de memoria si no hay del núcleo). El widget se queda la tesela mientras una GPU la pase."
|
|
526
|
+
"es": "Del núcleo (o del sensor de hotspot o de memoria si no hay del núcleo). El widget se queda la tesela mientras una GPU la pase.",
|
|
527
|
+
"de": "Des Kerns (Hotspot- oder Speichersensor, wenn es keinen Kernsensor gibt). Das Widget behält die Kachel, solange eine GPU darüber liegt.",
|
|
528
|
+
"zh-Hant": "指核心溫度(沒有核心感測器時改用熱點或記憶體感測器)。只要有 GPU 超過此值,小工具就會持續佔用方格。",
|
|
529
|
+
"zh-Hans": "指核心温度(没有核心传感器时改用热点或显存传感器)。只要有 GPU 超过此值,小组件就会持续占用格子。"
|
|
446
530
|
},
|
|
447
531
|
"unit": "°C"
|
|
448
532
|
},
|
|
@@ -456,7 +540,10 @@
|
|
|
456
540
|
"x-ui": {
|
|
457
541
|
"label": {
|
|
458
542
|
"en": "Amber VRAM from",
|
|
459
|
-
"es": "VRAM ámbar desde"
|
|
543
|
+
"es": "VRAM ámbar desde",
|
|
544
|
+
"de": "VRAM gelb ab",
|
|
545
|
+
"zh-Hant": "顯示記憶體琥珀色門檻",
|
|
546
|
+
"zh-Hans": "显存琥珀色阈值"
|
|
460
547
|
},
|
|
461
548
|
"unit": "%",
|
|
462
549
|
"slider": true
|
|
@@ -471,7 +558,10 @@
|
|
|
471
558
|
"x-ui": {
|
|
472
559
|
"label": {
|
|
473
560
|
"en": "Red VRAM from",
|
|
474
|
-
"es": "VRAM roja desde"
|
|
561
|
+
"es": "VRAM roja desde",
|
|
562
|
+
"de": "VRAM rot ab",
|
|
563
|
+
"zh-Hant": "顯示記憶體紅色門檻",
|
|
564
|
+
"zh-Hans": "显存红色阈值"
|
|
475
565
|
},
|
|
476
566
|
"unit": "%",
|
|
477
567
|
"slider": true
|
|
@@ -487,11 +577,17 @@
|
|
|
487
577
|
"x-ui": {
|
|
488
578
|
"label": {
|
|
489
579
|
"en": "GPUs",
|
|
490
|
-
"es": "GPU"
|
|
580
|
+
"es": "GPU",
|
|
581
|
+
"de": "GPUs",
|
|
582
|
+
"zh-Hant": "GPU",
|
|
583
|
+
"zh-Hans": "GPU"
|
|
491
584
|
},
|
|
492
585
|
"help": {
|
|
493
586
|
"en": "Empty: all. Indexes or model names, comma-separated: * matches anything, a leading ! leaves out (0, 1, *4090*, !*A6000*).",
|
|
494
|
-
"es": "Vacío: todas. Índices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*)."
|
|
587
|
+
"es": "Vacío: todas. Índices o modelos separados por comas: * vale por cualquier cosa y un ! delante excluye (0, 1, *4090*, !*A6000*).",
|
|
588
|
+
"de": "Leer: alle. Indizes oder Modellnamen, durch Kommas getrennt: * steht für beliebigen Text, ein vorangestelltes ! schließt aus (0, 1, *4090*, !*A6000*).",
|
|
589
|
+
"zh-Hant": "留空:全部。以逗號分隔的索引或型號:* 符合任何內容,開頭加 ! 表示排除(0, 1, *4090*, !*A6000*)。",
|
|
590
|
+
"zh-Hans": "留空:全部。以逗号分隔的索引或型号:* 匹配任意内容,开头加 ! 表示排除(0, 1, *4090*, !*A6000*)。"
|
|
495
591
|
},
|
|
496
592
|
"widget": "filter"
|
|
497
593
|
},
|
|
@@ -512,11 +608,17 @@
|
|
|
512
608
|
"x-ui": {
|
|
513
609
|
"label": {
|
|
514
610
|
"en": "Time shown",
|
|
515
|
-
"es": "Tiempo mostrado"
|
|
611
|
+
"es": "Tiempo mostrado",
|
|
612
|
+
"de": "Angezeigter Zeitraum",
|
|
613
|
+
"zh-Hant": "顯示時長",
|
|
614
|
+
"zh-Hans": "显示时长"
|
|
516
615
|
},
|
|
517
616
|
"help": {
|
|
518
617
|
"en": "Up to the history kept by the source.",
|
|
519
|
-
"es": "Hasta el historial que guarda la fuente."
|
|
618
|
+
"es": "Hasta el historial que guarda la fuente.",
|
|
619
|
+
"de": "Bis zum Verlauf, den die Datenquelle aufbewahrt.",
|
|
620
|
+
"zh-Hant": "最多為資料來源保留的歷史長度。",
|
|
621
|
+
"zh-Hans": "最多为数据源保留的历史长度。"
|
|
520
622
|
},
|
|
521
623
|
"unit": "ms"
|
|
522
624
|
},
|
|
@@ -536,11 +638,17 @@
|
|
|
536
638
|
"type": "gpu/devices",
|
|
537
639
|
"name": {
|
|
538
640
|
"en": "GPUs",
|
|
539
|
-
"es": "GPU"
|
|
641
|
+
"es": "GPU",
|
|
642
|
+
"de": "GPUs",
|
|
643
|
+
"zh-Hant": "GPU",
|
|
644
|
+
"zh-Hans": "GPU"
|
|
540
645
|
},
|
|
541
646
|
"description": {
|
|
542
647
|
"en": "Temperature, load, VRAM (and who holds it), power, fan and clocks per GPU, from this machine, another over ssh, or a Prometheus exporter.",
|
|
543
|
-
"es": "Temperatura, carga, VRAM (y quién la ocupa), potencia, ventilador y relojes por GPU, de esta máquina, de otra por ssh o de un exporter de Prometheus."
|
|
648
|
+
"es": "Temperatura, carga, VRAM (y quién la ocupa), potencia, ventilador y relojes por GPU, de esta máquina, de otra por ssh o de un exporter de Prometheus.",
|
|
649
|
+
"de": "Temperatur, Last, VRAM (und wer ihn belegt), Leistung, Lüfter und Takt pro GPU, von diesem Rechner, einem anderen über ssh oder einem Prometheus-Exporter.",
|
|
650
|
+
"zh-Hant": "每張 GPU 的溫度、負載、顯示記憶體(及其佔用者)、功率、風扇與時脈,來源可為本機、透過 ssh 連線的另一台機器或 Prometheus exporter。",
|
|
651
|
+
"zh-Hans": "每块 GPU 的温度、负载、显存(及其占用者)、功率、风扇和频率,可来自本机、通过 ssh 连接的另一台机器或 Prometheus exporter。"
|
|
544
652
|
},
|
|
545
653
|
"polled": true,
|
|
546
654
|
"intervalMs": 5000,
|
|
@@ -564,22 +672,34 @@
|
|
|
564
672
|
"x-ui": {
|
|
565
673
|
"label": {
|
|
566
674
|
"en": "Back end",
|
|
567
|
-
"es": "Origen"
|
|
675
|
+
"es": "Origen",
|
|
676
|
+
"de": "Backend",
|
|
677
|
+
"zh-Hant": "後端",
|
|
678
|
+
"zh-Hans": "后端"
|
|
568
679
|
},
|
|
569
680
|
"help": {
|
|
570
681
|
"en": "auto tries the metrics URL (if set), nvidia-smi, rocm-smi / amd-smi and sysfs, in that order.",
|
|
571
|
-
"es": "auto prueba la URL de métricas (si hay), nvidia-smi, rocm-smi / amd-smi y sysfs, por ese orden."
|
|
682
|
+
"es": "auto prueba la URL de métricas (si hay), nvidia-smi, rocm-smi / amd-smi y sysfs, por ese orden.",
|
|
683
|
+
"de": "Automatisch probiert die Metrik-URL (falls eingetragen), nvidia-smi, rocm-smi / amd-smi und sysfs, in dieser Reihenfolge.",
|
|
684
|
+
"zh-Hant": "auto 會依序嘗試指標 URL(若有設定)、nvidia-smi、rocm-smi / amd-smi 及 sysfs。",
|
|
685
|
+
"zh-Hans": "auto 会依次尝试指标 URL(如已设置)、nvidia-smi、rocm-smi / amd-smi 和 sysfs。"
|
|
572
686
|
},
|
|
573
687
|
"labels": {
|
|
574
688
|
"auto": {
|
|
575
689
|
"en": "Automatic",
|
|
576
|
-
"es": "Automático"
|
|
690
|
+
"es": "Automático",
|
|
691
|
+
"de": "Automatisch",
|
|
692
|
+
"zh-Hant": "自動",
|
|
693
|
+
"zh-Hans": "自动"
|
|
577
694
|
},
|
|
578
695
|
"nvidia": "NVIDIA (nvidia-smi)",
|
|
579
696
|
"amd": "AMD (rocm-smi, amd-smi, sysfs)",
|
|
580
697
|
"intel": {
|
|
581
698
|
"en": "Intel (sysfs, best effort)",
|
|
582
|
-
"es": "Intel (sysfs, lo que se pueda)"
|
|
699
|
+
"es": "Intel (sysfs, lo que se pueda)",
|
|
700
|
+
"de": "Intel (sysfs, ohne Gewähr)",
|
|
701
|
+
"zh-Hant": "Intel(sysfs,盡力而為)",
|
|
702
|
+
"zh-Hans": "Intel(sysfs,尽力而为)"
|
|
583
703
|
},
|
|
584
704
|
"prometheus": "Prometheus (DCGM / nvidia_gpu_exporter)"
|
|
585
705
|
}
|
|
@@ -600,11 +720,17 @@
|
|
|
600
720
|
"x-ui": {
|
|
601
721
|
"label": {
|
|
602
722
|
"en": "Read over ssh",
|
|
603
|
-
"es": "Leer por ssh"
|
|
723
|
+
"es": "Leer por ssh",
|
|
724
|
+
"de": "Über ssh lesen",
|
|
725
|
+
"zh-Hant": "透過 ssh 讀取",
|
|
726
|
+
"zh-Hans": "通过 ssh 读取"
|
|
604
727
|
},
|
|
605
728
|
"help": {
|
|
606
729
|
"en": "Runs nvidia-smi / rocm-smi on that host with ssh -o BatchMode=yes: needs key login. Empty = this machine.",
|
|
607
|
-
"es": "Ejecuta nvidia-smi / rocm-smi en ese host con ssh -o BatchMode=yes: necesita acceso por clave. Vacío = esta máquina."
|
|
730
|
+
"es": "Ejecuta nvidia-smi / rocm-smi en ese host con ssh -o BatchMode=yes: necesita acceso por clave. Vacío = esta máquina.",
|
|
731
|
+
"de": "Führt nvidia-smi / rocm-smi auf diesem Host mit ssh -o BatchMode=yes aus: braucht Anmeldung per Schlüssel. Leer = dieser Rechner.",
|
|
732
|
+
"zh-Hant": "以 ssh -o BatchMode=yes 在該主機上執行 nvidia-smi / rocm-smi:需要金鑰登入。留空 = 本機。",
|
|
733
|
+
"zh-Hans": "用 ssh -o BatchMode=yes 在该主机上运行 nvidia-smi / rocm-smi:需要密钥登录。留空 = 本机。"
|
|
608
734
|
},
|
|
609
735
|
"placeholder": "user@gpubox"
|
|
610
736
|
},
|
|
@@ -618,11 +744,17 @@
|
|
|
618
744
|
"x-ui": {
|
|
619
745
|
"label": {
|
|
620
746
|
"en": "Metrics URL",
|
|
621
|
-
"es": "URL de métricas"
|
|
747
|
+
"es": "URL de métricas",
|
|
748
|
+
"de": "Metrik-URL",
|
|
749
|
+
"zh-Hant": "指標 URL",
|
|
750
|
+
"zh-Hans": "指标 URL"
|
|
622
751
|
},
|
|
623
752
|
"help": {
|
|
624
753
|
"en": "DCGM exporter (port 9400) or nvidia_gpu_exporter (port 9835).",
|
|
625
|
-
"es": "DCGM exporter (puerto 9400) o nvidia_gpu_exporter (puerto 9835)."
|
|
754
|
+
"es": "DCGM exporter (puerto 9400) o nvidia_gpu_exporter (puerto 9835).",
|
|
755
|
+
"de": "DCGM-Exporter (Port 9400) oder nvidia_gpu_exporter (Port 9835).",
|
|
756
|
+
"zh-Hant": "DCGM exporter(連接埠 9400)或 nvidia_gpu_exporter(連接埠 9835)。",
|
|
757
|
+
"zh-Hans": "DCGM exporter(端口 9400)或 nvidia_gpu_exporter(端口 9835)。"
|
|
626
758
|
},
|
|
627
759
|
"secret": true,
|
|
628
760
|
"placeholder": "http://gpubox:9400/metrics",
|
|
@@ -639,11 +771,17 @@
|
|
|
639
771
|
"x-ui": {
|
|
640
772
|
"label": {
|
|
641
773
|
"en": "Metrics bearer token",
|
|
642
|
-
"es": "Token bearer de las métricas"
|
|
774
|
+
"es": "Token bearer de las métricas",
|
|
775
|
+
"de": "Bearer-Token für Metriken",
|
|
776
|
+
"zh-Hant": "指標 Bearer 權杖",
|
|
777
|
+
"zh-Hans": "指标 Bearer 令牌"
|
|
643
778
|
},
|
|
644
779
|
"help": {
|
|
645
780
|
"en": "Only if the metrics URL is behind auth.",
|
|
646
|
-
"es": "Solo si la URL de métricas pide autenticación."
|
|
781
|
+
"es": "Solo si la URL de métricas pide autenticación.",
|
|
782
|
+
"de": "Nur wenn die Metrik-URL eine Anmeldung verlangt.",
|
|
783
|
+
"zh-Hant": "僅在指標 URL 需要驗證時填寫。",
|
|
784
|
+
"zh-Hans": "仅当指标 URL 需要认证时填写。"
|
|
647
785
|
},
|
|
648
786
|
"advanced": true,
|
|
649
787
|
"secret": true
|
|
@@ -658,11 +796,17 @@
|
|
|
658
796
|
"x-ui": {
|
|
659
797
|
"label": {
|
|
660
798
|
"en": "Host label",
|
|
661
|
-
"es": "Nombre del host"
|
|
799
|
+
"es": "Nombre del host",
|
|
800
|
+
"de": "Host-Bezeichnung",
|
|
801
|
+
"zh-Hant": "主機標籤",
|
|
802
|
+
"zh-Hans": "主机标签"
|
|
662
803
|
},
|
|
663
804
|
"help": {
|
|
664
805
|
"en": "Shown above the GPUs. Defaults to the ssh host.",
|
|
665
|
-
"es": "Se muestra encima de las GPU. Por defecto, el host de ssh."
|
|
806
|
+
"es": "Se muestra encima de las GPU. Por defecto, el host de ssh.",
|
|
807
|
+
"de": "Wird über den GPUs angezeigt. Standard ist der ssh-Host.",
|
|
808
|
+
"zh-Hant": "顯示在 GPU 上方。預設為 ssh 主機。",
|
|
809
|
+
"zh-Hans": "显示在 GPU 上方。默认为 ssh 主机。"
|
|
666
810
|
},
|
|
667
811
|
"placeholder": "gpubox"
|
|
668
812
|
},
|
|
@@ -675,11 +819,17 @@
|
|
|
675
819
|
"x-ui": {
|
|
676
820
|
"label": {
|
|
677
821
|
"en": "Per-process VRAM",
|
|
678
|
-
"es": "VRAM por proceso"
|
|
822
|
+
"es": "VRAM por proceso",
|
|
823
|
+
"de": "VRAM pro Prozess",
|
|
824
|
+
"zh-Hant": "各處理程序的顯示記憶體",
|
|
825
|
+
"zh-Hans": "各进程的显存"
|
|
679
826
|
},
|
|
680
827
|
"help": {
|
|
681
828
|
"en": "One more nvidia-smi call per reading.",
|
|
682
|
-
"es": "Una llamada más a nvidia-smi por lectura."
|
|
829
|
+
"es": "Una llamada más a nvidia-smi por lectura.",
|
|
830
|
+
"de": "Ein zusätzlicher nvidia-smi-Aufruf pro Abfrage.",
|
|
831
|
+
"zh-Hant": "每次讀取多呼叫一次 nvidia-smi。",
|
|
832
|
+
"zh-Hans": "每次读取多调用一次 nvidia-smi。"
|
|
683
833
|
}
|
|
684
834
|
},
|
|
685
835
|
"type": "boolean"
|
|
@@ -691,11 +841,17 @@
|
|
|
691
841
|
"x-ui": {
|
|
692
842
|
"label": {
|
|
693
843
|
"en": "History kept",
|
|
694
|
-
"es": "Historial guardado"
|
|
844
|
+
"es": "Historial guardado",
|
|
845
|
+
"de": "Aufbewahrter Verlauf",
|
|
846
|
+
"zh-Hant": "歷史保留時長",
|
|
847
|
+
"zh-Hans": "历史保留时长"
|
|
695
848
|
},
|
|
696
849
|
"help": {
|
|
697
850
|
"en": "How far back GPU history can look.",
|
|
698
|
-
"es": "Hasta dónde puede mirar atrás el historial de GPU."
|
|
851
|
+
"es": "Hasta dónde puede mirar atrás el historial de GPU.",
|
|
852
|
+
"de": "Wie weit der GPU-Verlauf zurückreichen kann.",
|
|
853
|
+
"zh-Hant": "GPU 歷史最多可回溯多久。",
|
|
854
|
+
"zh-Hans": "GPU 历史最多可回溯多久。"
|
|
699
855
|
},
|
|
700
856
|
"unit": "ms"
|
|
701
857
|
},
|
|
@@ -708,5 +864,9 @@
|
|
|
708
864
|
}
|
|
709
865
|
],
|
|
710
866
|
"interludes": [],
|
|
711
|
-
"templates": []
|
|
867
|
+
"templates": [],
|
|
868
|
+
"support": {
|
|
869
|
+
"issues": "https://github.com/kiosko-lcd/kiosko-plugin-gpu/issues",
|
|
870
|
+
"docs": "https://github.com/kiosko-lcd/kiosko-plugin-gpu#readme"
|
|
871
|
+
}
|
|
712
872
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kiosko-plugin-gpu",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "GPU monitor for local AI boxes: temperature, load, VRAM by process and history, from nvidia-smi, rocm-smi, sysfs, Prometheus (DCGM) or over ssh.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"plugin": "./dist/index.js",
|
|
31
31
|
"id": "gpu",
|
|
32
32
|
"sdk": "^0.2.0",
|
|
33
|
+
"languages": [
|
|
34
|
+
"en",
|
|
35
|
+
"es",
|
|
36
|
+
"de",
|
|
37
|
+
"zh-Hant",
|
|
38
|
+
"zh-Hans"
|
|
39
|
+
],
|
|
33
40
|
"manifest": "./kiosko-manifest.json"
|
|
34
41
|
},
|
|
35
42
|
"files": [
|