Tidy the dashboard and the forms around it
- Numeric column headers are right-aligned like their values; the stylesheet only aligned the cells, so "REQUESTS" sat nowhere near its numbers in every table that has them. - Ranked bars are an HTML grid instead of a fixed-width SVG: the value had 96 units and "34.2k tok 114 req" did not fit, so the figure a reader came for was the one cut off. Labels ellipsise in CSS and give their full text on hover. - Mean latency reads as 5 ms, 8.8 s or 1m 51s rather than 110695 ms. - The "What the cluster is doing" charts sat between the Models heading and the models table; they now come before it. - A fleet without GPUs shows its CPU capacity — nodes ready, memory, disk free for weights — instead of "No GPUs have been reported", and a node with no GPUs shows "—" rather than 0/0. - The profile's forms are a form's width rather than the page's, and the quotas page's price warning is a boxed banner rather than a line of red text. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5e1494f76d
commit
c1926be869
8 files changed
+118
-66
No files matched your search
@@ -33,7 +33,15 @@
|
||||
<td class="num">{{if .Unhealthy}}<span class="bad">{{.Unhealthy}}</span>{{else}}—{{end}}</td>
|
||||
<td class="meter"><span style="width:{{pct .Used .Total}}%"></span><em>{{pct .Used .Total}}%</em></td>
|
||||
</tr>{{end}}</table>
|
||||
{{else}}<p class="empty">No GPUs have been reported.</p>{{end}}
|
||||
{{else if .CPU.Nodes}}
|
||||
{{/* No GPUs is not no capacity: a CPU fleet still has memory and disk,
|
||||
which is what decides what it can hold. */}}
|
||||
<div class="capacity-cpu">
|
||||
<div><b>{{.CPU.Ready}}/{{.CPU.Nodes}}</b> <span>nodes ready · CPU only</span></div>
|
||||
<div><b>{{.CPU.MemoryGB}} GB</b> <span>memory</span></div>
|
||||
{{if .CPU.DiskTotal}}<div><b>{{.CPU.DiskFreeGB}} of {{.CPU.DiskTotal}} GB</b> <span>free for weights</span></div>{{end}}
|
||||
</div>
|
||||
{{else}}<p class="empty">No nodes have registered.</p>{{end}}
|
||||
|
||||
{{if .Summary.Fabrics}}
|
||||
<h2>Fabrics</h2>
|
||||
@@ -84,7 +92,7 @@ for a model that needs this one.</p>
|
||||
<td class="num">{{.Requests}}</td>
|
||||
<td class="num">{{compact .Tokens}}</td>
|
||||
<td class="num">{{if .Errors}}<span class="bad">{{.Errors}}</span>{{else}}—{{end}}</td>
|
||||
<td class="num">{{printf "%.0f" .AvgLatency}} ms</td>
|
||||
<td class="num">{{latency .AvgLatency}}</td>
|
||||
</tr>{{end}}</table>
|
||||
<p class="note">Counted by the model that actually answered, which differs from the one
|
||||
requested whenever a fallback served it.</p>
|
||||
@@ -97,7 +105,7 @@ requested whenever a fallback served it.</p>
|
||||
<td><code>{{.ID}}</code>{{if .MgmtAddr}} <span class="note">{{.MgmtAddr}}</span>{{end}}
|
||||
<a class="note" href="{{if $.OnAdminListener}}/nodes/{{.ID}}/logs{{else}}/admin/nodes/{{.ID}}/logs{{end}}">logs</a></td>
|
||||
<td class="state state-{{.State}}">{{.State}}</td>
|
||||
<td class="num">{{.GPUFree}}/{{.GPUTotal}}</td>
|
||||
<td class="num">{{if .GPUTotal}}{{.GPUFree}}/{{.GPUTotal}}{{else}}—{{end}}</td>
|
||||
<td class="num">{{if .MemoryGB}}{{.MemoryGB}}G{{else}}—{{end}}</td>
|
||||
{{/* Free out of total, because the first is meaningless without the
|
||||
second, and an em dash where nothing was reported: an agent that
|
||||
@@ -115,7 +123,6 @@ requested whenever a fallback served it.</p>
|
||||
{{end}}</table>
|
||||
{{else}}<p class="empty">No agents have registered.</p>{{end}}
|
||||
|
||||
<h2>Models</h2>
|
||||
{{with .Fleet}}
|
||||
<h2>What the cluster is doing <span class="opt">last {{.Window}}</span></h2>
|
||||
{{if .Err}}
|
||||
@@ -138,6 +145,8 @@ requested whenever a fallback served it.</p>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
<h2>Models</h2>
|
||||
|
||||
{{if .Models}}
|
||||
<table><tr><th>Model</th><th>Aliases</th><th class="num">Ready</th><th class="num">Wanted</th><th>Profiles</th><th>Fallbacks</th></tr>
|
||||
{{range .Models}}<tr>
|
||||
|
||||
Reference in new issue
Block a user