Files
leleka/deploy/README.md
T

16 lines
1.2 KiB
Markdown

# Deployment
Linux CI builds a statically linked musl CLI/control-plane preview and publishes it as a prerelease artifact on version tags. This is not yet a complete GPU runtime: the C++/CUDA engine is not linked into that executable. The host must have a compatible NVIDIA driver already installed (CUDA 13.0 GA baseline: 580.65.06 or newer). The `strata-next doctor` command checks the installed version. Model weights belong on an external volume. A complete GPU deployment image has not been built yet.
For a local static CLI image smoke test, build `deploy/Dockerfile.static-cli` with a Linux/musl target. The final image is `scratch` plus the CLI binary. It is a packaging test, not the deployment image for inference.
## Worker recovery
The Rust supervisor defaults to three lifetime restarts after a post-READY
worker failure, with 2/4/8-second backoff. Configure `engine.max_restarts` or
`STRATA_MAX_WORKER_RESTARTS` from 0 to 3; zero disables recovery. Failed and
queued generations are not replayed. Readiness stays false until the new
worker handshake completes. A startup failure or an exhausted budget leaves
the service unhealthy for inference until an operator restarts it; `/health`
remains available. See [the API contract](../docs/api-contract.md).