- 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>
50 lines
2.1 KiB
Bash
50 lines
2.1 KiB
Bash
# ---------------------------------------------------------------------------
|
|
# Required
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# URL you open Kaname at in the browser. Your OIDC redirect URI is
|
|
# <AUTH_URL>/api/auth/callback/pocket-id
|
|
AUTH_URL=http://localhost:3000
|
|
# Random secret for session cookies: `openssl rand -base64 33`
|
|
AUTH_SECRET=
|
|
|
|
# OIDC provider (e.g. Pocket ID): authorization code flow with PKCE
|
|
OIDC_ISSUER=https://auth.example.com
|
|
OIDC_CLIENT_ID=
|
|
OIDC_CLIENT_SECRET=
|
|
# Optional, comma-separated: only members of these groups (`groups` claim) can log in.
|
|
OIDC_ALLOWED_GROUPS=
|
|
|
|
# Hugging Face token: read-only is enough. Needed for gated/private repos, recommended anyway
|
|
# (higher rate limits). Stays on the server; never sent to the browser or written to logs.
|
|
HF_TOKEN=
|
|
|
|
# Optional: launch80.com publish token (comes with the launch80 Supporter role). Lets you publish a
|
|
# benchmark run as a public launch80 page, after a preview and an explicit confirmation. Stays on
|
|
# the server; never sent to the browser or written to logs.
|
|
L80_TOKEN=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Folders on the Docker host (deploy/compose.yaml); both must be owned by uid 1000
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# SQLite database, shared by web and worker. Must be on local disk, not NFS.
|
|
KANAME_DATA_DIR=./data
|
|
# Downloaded models. Can be a NAS share mounted on the host, e.g. /mnt/nas/models.
|
|
KANAME_MODELS_DIR=./models
|
|
# Host port of the web UI
|
|
WEB_PORT=3000
|
|
# Image tag to run, e.g. 0.4.0 (default: latest)
|
|
KANAME_VERSION=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Optional tuning
|
|
# ---------------------------------------------------------------------------
|
|
|
|
MAX_CONCURRENT_DOWNLOADS=1
|
|
# How often the worker checks every model on the Hub (still there? newer commit?); 0 disables it
|
|
UPDATE_CHECK_INTERVAL_HOURS=12
|
|
# 1 (default): hf downloads over plain HTTP, so progress can be measured from bytes on disk.
|
|
# 0: use Xet (chunk-level dedup on updates), but progress only advances in large jumps.
|
|
HF_HUB_DISABLE_XET=1
|