Deploy Isolated Model Worker
Treat deployment as an explicit external effect.
- Record accelerator, memory, model, context, concurrency, privacy, and latency requirements.
- Produce a worker manifest and environment template without credentials or machine-specific paths.
- Pin dependencies in an isolated environment; never force-upgrade the host environment.
- Expose versioned health, readiness, warmup, inference, embedding, and reranking contracts only as required.
- Bind to the narrowest interface, authenticate callers, bound payloads/timeouts/concurrency, and redact logs.
- Start through the platform service manager when possible. If detached execution is approved, record PID, command hash, logs, and stop procedure.
- Verify cold start, warm start, resource pressure, cancellation, model unload, and fallback behavior.
- Preserve a rollback plan that restores the prior worker endpoint and dependency set.
Do not download models, install packages, open ports, or start processes without explicit approval.