- Benchmarks: BetterBench 0.6.1 (pinned by checksum) runs against a running deployment, one at a time; quick/full/custom passes, phase selection, live step and output, cancel, run again, compare runs side by side. - Report page after launch80's bench.betterbench.v1: headline tiles, "Read these first" caveats (quick, sample gate, max_tokens truncation, batched streams, failures, skipped depths, prefix-cache hits), charts, full tables with daggered under-sampled cells, method text. All figures come from BetterBench's own report functions. - Publish to launch80 as a double opt-in: L80 dry run builds the exact payload for inspection, an explicit confirmation publishes that file (L80 CLI 0.4.0 pinned by checksum, L80_TOKEN worker-only). Endpoint and host never leave. - GPUs: runtime accelerator (CPU, NVIDIA, /dev/dri, ROCm) with presets for the official CUDA/Vulkan/Intel/ROCm builds; NVIDIA GPUs probed via nvidia-smi in a short-lived container; per-deployment GPU picking, -ngl, split mode, tensor split, MoE offload, vLLM tensor parallel and GPU memory share. - llama.cpp --cache-ram option (1 GiB for new deployments) and a memory estimate that counts it and the KV cache: the 8 GiB default made containers thrash at their memory limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
849 B
TypeScript
20 lines
849 B
TypeScript
import type { Metadata } from "next";
|
|
import { notFound } from "next/navigation";
|
|
import { listBenchmarks } from "@/lib/benchmarks";
|
|
import { getDeployment } from "@/lib/deployments";
|
|
import { DeploymentDetail } from "./deployment-detail";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export async function generateMetadata({ params }: PageProps<"/deployments/[id]">): Promise<Metadata> {
|
|
const d = await getDeployment((await params).id);
|
|
return { title: d ? d.name : "Deployment" };
|
|
}
|
|
|
|
export default async function DeploymentPage({ params }: PageProps<"/deployments/[id]">) {
|
|
const { id } = await params;
|
|
const [d, runs] = await Promise.all([getDeployment(id), listBenchmarks({ deploymentId: id })]);
|
|
if (!d) notFound();
|
|
return <DeploymentDetail initial={JSON.parse(JSON.stringify(d))} benchmarks={JSON.parse(JSON.stringify(runs))} />;
|
|
}
|