Stage 1 of the candle-native pivot. Replaces the external-process harness model (mistralrs over HTTP, llamacpp placeholder) with an in-process Harness trait whose sole implementation is candle. The trait keeps its shape so future engines slot in additively, but start/stop default to no-ops and HarnessConfig drops endpoint and systemd_unit since no harness needs external supervision. Behaviour is unchanged on the wire: load_model returns a "not implemented yet (Stage 2)" error and list_models is empty. The gateway-side proxy, poller, and router are untouched. CLAUDE.md Phase 11 (llama.cpp) and Phase 12 (mistral.rs COPR) are marked superseded; the staged plan lives in ~/.claude/plans/create-a-more-aggressive-calm-naur.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
30 lines
646 B
TOML
30 lines
646 B
TOML
# models.example.toml — model catalogue
|
|
#
|
|
# Copy to /etc/cortex/models.toml and adjust for your environment.
|
|
# Describes how to serve each model. Cortex matches these profiles
|
|
# against discovered neuron topologies for placement decisions.
|
|
|
|
[[models]]
|
|
id = "your-org/large-model"
|
|
harness = "candle"
|
|
quant = "Q4_K_M"
|
|
vram_mb = 19000
|
|
min_devices = 2
|
|
min_device_vram_mb = 10000
|
|
pinned_on = ["gpu-large"]
|
|
|
|
[[models]]
|
|
id = "your-org/medium-model"
|
|
harness = "candle"
|
|
quant = "Q6_K"
|
|
vram_mb = 12000
|
|
min_devices = 1
|
|
pinned_on = ["gpu-medium"]
|
|
|
|
[[models]]
|
|
id = "your-org/embedding-model"
|
|
harness = "candle"
|
|
quant = "Q8_0"
|
|
vram_mb = 8000
|
|
min_devices = 1
|