The v0.17.0 tag was cut on a tree where package.json was still 0.16.0,
so the Release workflow's version-match check aborted before building.
Bump the version and move the Unreleased changelog entry to [0.17.0]
so tag and package.json agree.
The runtime stage copied the whole production node_modules (495 MB, with
shadcn's CLI tree, the SWC compiler and sharp) and all of .next (163 MB, 119 MB
of it Turbopack's build cache). The image is now 427 MB instead of 1.04 GB:
- Next.js standalone output (NEXT_OUTPUT=standalone, set by the Dockerfile; a
local `next build`/`next start` is unchanged): server.js with only the traced
node_modules (39 MB). images.unoptimized (nothing uses next/image) keeps sharp
and libvips out of the server's trace; /_next/image answers 404.
- build:worker bundles drizzle-orm, zod and ulid into dist/*.mjs and keeps only
@libsql/client and libsql external; the standalone node_modules has both.
- npm's cache and .next/cache are BuildKit cache mounts: reused by the next
build on the same machine (Next build 30 s -> 12 s after a code change), never
in a layer.
- Release archives (BetterBench, both L80 tarballs) are fetched in their own
stage; only the L80 binary is copied, BetterBench is installed from a bind
mount.
- shadcn and tw-animate-css (CSS imports, build time only) move to
devDependencies; package-lock.json regenerated with npm 11 (the image's npm).
Verified by building the image and running web, worker and sandbox from it:
pages and /api/live answer, the worker migrates, takes the lease and finds hf,
BetterBench and L80, all three healthchecks pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EooZ9biu7kFNB4eDJrwQc5
- Dot-matrix "Creation of Adam" page banners behind a floating menu,
glass cards and tables, library header with live stats, table toolbar
with pagination, Cmd/Ctrl+K search across models, endpoints, runs,
tags, settings and actions.
- Remove single files from a model (selection + disk, via a worker job).
- Containers start as root to prepare folders and drop to PUID:PGID;
AUTH_SECRET is generated when unset; sandbox runs as nobody;
KANAME_IMAGE and image docs in the README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings -> Downloads lets you scan the models folder every 2 minutes
(default, as before), hourly, daily, weekly, monthly at a chosen local
time, or only manually, with a Scan now button and the last/next scan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kaname keeps two jobs: the model downloader and benchmarks. Benchmarks
now run against endpoints (any OpenAI-compatible server added by URL,
with an optional server-side API key and hand-written hardware notes)
instead of deployments Kaname started itself.
Removed: runtimes, deployments, sweeps, resource telemetry, hardware
detection, the /api/v1 API with tokens and guardrails, and all Docker
access. The quality eval's coding tests run in a network-less sandbox
container that shares only an exchange folder with the worker.
The previous state is kept in branch backup / tag backup-0.14.3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Xet holds downloaded data in memory and writes the file in large, late
chunks, so on-disk sizes showed little or no progress. For Xet runs,
force hf's progress bars on (TQDM_POSITION=-1), read its running byte
count and keep the bars out of the job log.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A progress sample that missed a partial file showed 0 B while hf kept
downloading. Walk the download cache tolerating vanished folders and
never let a file's progress go backwards within a run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
huggingface_hub 2.1.1 refuses files over MAX_HTTP_DOWNLOAD_SIZE (50 GB)
without Xet; Kaname disables Xet by default for steady progress, so such
downloads failed. A download that includes a file over the limit now
runs hf with Xet enabled and says so in the job log.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A deterministic quality eval as a run type next to BetterBench: tool
calling (12 requests), coding (8 Python functions checked by unit tests
in a locked-down sandbox container) and long-context retrieval (needle at
3 depths in 3 lengths up to the context). Versioned eval set in
src/evals/v1, score stored per run, shown on the run page, in compare
views, the benchmark list and sweep tables (optional eval per variant);
API kind "eval", quality in run/sweep/compare answers; skill updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scopes deployments:read/write and benchmarks:read/run; /api/v1 endpoints
for runtimes, deployments (create with dry run, edit, start, stop, delete
own ones), benchmark runs, A/B, sweeps and comparisons; ?wait= on all
status endpoints. Guardrails: approval, agent deployments at once, one
GPU job at a time, time limits, sweep variants, runtime and argument
allowlists, host port range, memory/CPU caps, protected deployments with
a VRAM check. Requested-by filters, approval bars, per-token activity log,
scope editing, docs/agent/SKILL-tuning.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Every run records GPUs (PCIe link under load and maximum, ReBAR, P2P),
runtime image/tag/digest and the engine version the server reports,
model, quant, KV cache, context and concurrency, plus a whitelisted
system summary and a description. Shown on the run page, compare and
sweep views; passed to BetterBench as notes and to the launch80 preview
as sections. Settings -> Hardware for manual values.
Also: scripts/intel-probe.sh (read-only diagnostics for Intel hosts),
and --quick is no longer passed together with --passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Model URLs are the repo path (case-insensitive, canonical redirect);
/models/<id> redirects
- Header with avatar, org/name + copy, task/format/arch/language/license
pills, user tags, cross-links to the Hub (files @ sha, commits, community,
base model) and tabs: rendered model card at the pinned commit, files, jobs
- Sidebar: download card, local copy, model tree with related local models
- Metadata gains author avatar and base relation (refetched once)
- Proxy matcher excludes only exact /login and /api/auth/ paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Rename the app to Kaname
- Hub metadata per model (base models, architecture, license, Hub tags),
backfilled by the worker for existing models
- Library search across repo/author/family/quant/tags and multi-select
facet filters (author, family, quant, tag, status) kept in the URL
- Custom tags (model page editor, on add, click-to-filter)
- README rewritten around a quick install, with banner and screenshots
- deploy/compose.yaml: models in a host folder (KANAME_MODELS_DIR)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- docker-entrypoint.sh: `web` (default) or `worker`; both apply pending
migrations under a flock on /data, so no start-order dependency
- docker-healthcheck.sh baked into the image for both roles
- deploy/compose.yaml reduced to image, role, env file, volumes, port
- dist/migrate.mjs bundled alongside the worker
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Worker queue with per-model exclusivity and MAX_CONCURRENT_DOWNLOADS,
spawns `hf download --revision <sha> --local-dir ... --include <exact paths>`
with HF_TOKEN via env only
- Progress from bytes on disk (final + .incomplete files matched by etag),
per job and per file, with speed and ETA; post-download size/etag check
- Job logs (sanitized), cancel, graceful interrupt on shutdown,
partial-file cleanup (hf 2.1.1 does not resume partials)
- Single-worker DB lease, free-space check
- SSE live updates for library, model and job pages
- Dockerfile + compose.yaml (web, worker, data/models volumes)
- HF_HUB_DISABLE_XET default on for measurable progress
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Hub API client: resolve revision to SHA, paginated recursive file tree,
gated-access probe, readable error mapping
- Add-model page with quant quick-select, fnmatch-compatible include/exclude
globs, selection summary and free-space hint
- Models stored pinned to the reviewed SHA with full file list and selection rule
- Library list, model detail page, remove (never-downloaded models only)
- Worker reports MODELS_DIR free space; unit tests for selection logic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>