Intel/AMD GPU telemetry in benchmark runs (hwmon power/temperature, amdgpu sysfs, Intel VRAM/utilization from DRM fdinfo via a minimal host-PID probe container), temperature for all GPUs, VRAM estimate for NVIDIA and Intel/AMD in the deployment form, /dev/dri group IDs added to Intel/AMD runtime containers, Intel llama.cpp presets seeded on first detection, ZES_ENABLE_SYSMAN=1 for the SYCL preset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee6c623e2a
commit
e007a35143
16 files changed
+781
-98
No files matched your search
@@ -38,6 +38,8 @@ type Row = {
|
||||
cpu: number | null;
|
||||
ram: number | null;
|
||||
vram: number | null;
|
||||
power: number | null;
|
||||
temp: number | null;
|
||||
};
|
||||
|
||||
function rowsOf(data: SweepData): Row[] {
|
||||
@@ -55,7 +57,9 @@ function rowsOf(data: SweepData): Row[] {
|
||||
peak: h.peak?.tps ?? null,
|
||||
cpu: c?.cpuAvg ?? null,
|
||||
ram: c?.memPeakBytes ?? null,
|
||||
vram: g.length ? g.reduce((s, x) => s + x.vramPeakMb, 0) : null,
|
||||
vram: g.some((x) => x.vramPeakMb != null) ? g.reduce((s, x) => s + (x.vramPeakMb ?? 0), 0) : null,
|
||||
power: g.some((x) => x.powerAvgW != null) ? g.reduce((s, x) => s + (x.powerAvgW ?? 0), 0) : null,
|
||||
temp: g.some((x) => x.tempPeakC != null) ? Math.max(...g.map((x) => x.tempPeakC ?? -Infinity)) : null,
|
||||
};
|
||||
});
|
||||
}
|
||||
@@ -121,6 +125,8 @@ export function SweepDetail({ initial }: { initial: SweepData }) {
|
||||
cpu: best(rows, "cpu", false),
|
||||
ram: best(rows, "ram", false),
|
||||
vram: best(rows, "vram", false),
|
||||
power: best(rows, "power", false),
|
||||
temp: best(rows, "temp", false),
|
||||
};
|
||||
const cell = (v: number | null, b: number | null, fmt: (x: number) => string) => (
|
||||
<td className={cn("px-3 py-2 text-right tabular-nums", v != null && v === b && "font-semibold")}>{v != null ? fmt(v) : "—"}</td>
|
||||
@@ -226,6 +232,8 @@ export function SweepDetail({ initial }: { initial: SweepData }) {
|
||||
<th className="px-3 py-2 text-right font-medium">CPU cores</th>
|
||||
<th className="px-3 py-2 text-right font-medium">Peak RAM</th>
|
||||
<th className="px-3 py-2 text-right font-medium">Peak VRAM</th>
|
||||
<th className="px-3 py-2 text-right font-medium">GPU power</th>
|
||||
<th className="px-3 py-2 text-right font-medium">Peak temp</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -257,6 +265,8 @@ export function SweepDetail({ initial }: { initial: SweepData }) {
|
||||
{cell(r.cpu, bestOf.cpu, (x) => x.toFixed(2))}
|
||||
{cell(r.ram, bestOf.ram, (x) => formatBytes(x))}
|
||||
{cell(r.vram, bestOf.vram, (x) => `${(x / 1024).toFixed(1)} GiB`)}
|
||||
{cell(r.power, bestOf.power, (x) => `${Math.round(x)} W`)}
|
||||
{cell(r.temp, bestOf.temp, (x) => `${Math.round(x)} °C`)}
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
|
||||
Reference in new issue
Block a user