+ {setup.shared + .filter((x) => x.value) + .map((x) => `${x.label}: ${x.value}`) + .join(" · ")} +
+ )}| Variant | State | + {setup.columns.map((c) => ( ++ {c.label} + | + ))}Decode t/s | TTFT ms | Prefill t/s | @@ -200,7 +229,7 @@ export function SweepDetail({ initial }: { initial: SweepData }) {
|---|---|---|---|---|---|
| {r.v.runId ? ( @@ -216,6 +245,11 @@ export function SweepDetail({ initial }: { initial: SweepData }) { {r.v.state === "benchmarking" && r.run?.phase ? ` · ${r.run.phase}` : ""} {(r.v.error || r.run?.error) && r.v.state === "failed" ? ` · ${(r.v.error ?? r.run?.error ?? "").slice(0, 60)}` : ""} | + {setup.columns.map((c) => ( ++ {setup.value(i, c.key) ?? "–"} + | + ))} {cell(r.decode, bestOf.decode, (x) => x.toFixed(1))} {cell(r.ttft, bestOf.ttft, (x) => x.toFixed(0))} {cell(r.prefill, bestOf.prefill, (x) => x.toFixed(0))} diff --git a/src/app/(app)/deployments/[id]/benchmark-card.tsx b/src/app/(app)/deployments/[id]/benchmark-card.tsx index 37594c6..ba3df8a 100644 --- a/src/app/(app)/deployments/[id]/benchmark-card.tsx +++ b/src/app/(app)/deployments/[id]/benchmark-card.tsx @@ -34,6 +34,7 @@ export function BenchmarkCard({ deploymentId, modelId, running, initial }: { dep const [passes, setPasses] = useState("10"); const [phases, setPhases] = useState