Benchmarks: paired A/B runs, sweeps, resource usage
- A/B with betterbench ab between two deployments of the same model, with verdict, confidence interval and caveats. - Sweeps vary one or two deployment settings, deploy, benchmark and remove each variant, and compare them in one table. - Every run records CPU, RAM, VRAM, GPU utilization and power. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9e167a44f6
commit
b623b16a6d
37 files changed
+4314
-214
No files matched your search
@@ -62,6 +62,10 @@ async function selfDetect(c: DockerClient): Promise<Pick<DockerHostInfo, "networ
|
||||
// --- GPUs ---------------------------------------------------------------------
|
||||
|
||||
const GPU_PROBE_MS = 60 * 60_000;
|
||||
let ownImage: string | null = null;
|
||||
|
||||
/** The worker's own image (from the last host check); probe containers run from it. */
|
||||
export const workerImage = () => ownImage;
|
||||
let gpuCache: { at: number; gpus: HostGpu[]; error: string | null } | null = null;
|
||||
|
||||
/** nvidia-smi's CSV (index, uuid, name, memory.total MiB, driver) → GPUs. */
|
||||
@@ -146,6 +150,7 @@ export async function refreshDockerInfo(instanceId: string): Promise<void> {
|
||||
try {
|
||||
const [v, i] = await Promise.all([c.version(), c.info()]);
|
||||
const self = await selfDetect(c);
|
||||
ownImage = self.image;
|
||||
info = {
|
||||
connected: true,
|
||||
error: null,
|
||||
|
||||
Reference in new issue
Block a user