internal/

directory
v2.0.0-beta.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent is PID 1 of the donor and receiver containers.
Package agent is PID 1 of the donor and receiver containers.
Package cli is the warmctl command line.
Package cli is the warmctl command line.
Package config reads warmctl's host settings: where short image names resolve, which mirrors and cache to try first.
Package config reads warmctl's host settings: where short image names resolve, which mirrors and cache to try first.
Package criu drives CRIU around a process tree: freeze it with pidfds, dump it with link remaps and an empty plugin directory (GPU state is cuda-checkpoint's business, never CRIU's), restore it left stopped in a fresh PID namespace, thaw it.
Package criu drives CRIU around a process tree: freeze it with pidfds, dump it with link remaps and an empty plugin directory (GPU state is cuda-checkpoint's business, never CRIU's), restore it left stopped in a fresh PID namespace, thaw it.
Package cuda finds the processes of a tree that hold CUDA state and moves that state with NVIDIA's cuda-checkpoint: lock, checkpoint to host memory before the CRIU dump; restore onto the receiver's GPUs and unlock after.
Package cuda finds the processes of a tree that hold CUDA state and moves that state with NVIDIA's cuda-checkpoint: lock, checkpoint to host memory before the CRIU dump; restore onto the receiver's GPUs and unlock after.
Package docker drives the local Docker Engine over its unix socket with the handful of calls a snapshot and a restore make: ensure an image by digest, create a container from a Spec, start, wait, stop, remove, inspect, read logs, list by label.
Package docker drives the local Docker Engine over its unix socket with the handful of calls a snapshot and a restore make: ensure an image by digest, create a container from a Spec, start, wait, stop, remove, inspect, read logs, list by label.
Package gateway is the host's public endpoint of a restored engine: a TCP listener that forwards the inference routes, and only those, to the agent's inference socket.
Package gateway is the host's public endpoint of a restored engine: a TCP listener that forwards the inference routes, and only those, to the agent's inference socket.
Package host reads the facts a snapshot depends on from the machine: the GPUs (NVML), their topology, the driver and kernel, and holds an exclusive lease on the GPUs a run uses.
Package host reads the facts a snapshot depends on from the machine: the GPUs (NVML), their topology, the driver and kernel, and holds an exclusive lease on the GPUs a run uses.
Package interpose runs an engine under NVIDIA's cuInterpose, which lets cross-process CUDA memory (legacy IPC, VMM exports, multicast) survive a CUDA checkpoint.
Package interpose runs an engine under NVIDIA's cuInterpose, which lets cross-process CUDA memory (legacy IPC, VMM exports, multicast) survive a CUDA checkpoint.
Package manifest defines manifest.json, the one description of a snapshot.
Package manifest defines manifest.json, the one description of a snapshot.
Package oci moves snapshots through an OCI registry.
Package oci moves snapshots through an OCI registry.
Package process runs bounded external tools without shell interpretation.
Package process runs bounded external tools without shell interpretation.
Package profile loads model profiles and the hardware table from YAML and turns a profile into the effective vLLM launch: argv, environment, graph capture sizes, warmup grid, canary policy and resources.
Package profile loads model profiles and the hardware table from YAML and turns a profile into the effective vLLM launch: argv, environment, graph capture sizes, warmup grid, canary policy and resources.
Package pyext materializes the embedded vLLM worker extension on the host, where containers mount it read-only at /opt/warmctl/adapter.
Package pyext materializes the embedded vLLM worker extension on the host, where containers mount it read-only at /opt/warmctl/adapter.
Package restore brings a snapshot back to serving: a receiver container installs the archived trees, CRIU restores the process tree stopped, the agent thaws it and puts its CUDA state on this host's GPUs, the engine reloads its weights pool and checks it, and the host gateway opens.
Package restore brings a snapshot back to serving: a receiver container installs the archived trees, CRIU restores the process tree stopped, the agent thaws it and puts its CUDA state on this host's GPUs, the engine reloads its weights pool and checks it, and the host gateway opens.
Package run holds what snapshot and restore share: the progress log, the run's container with its agent and engine, and the staging of files.
Package run holds what snapshot and restore share: the progress log, the run's container with its agent and engine, and the staging of files.
Package runtimefs archives the filesystem trees a process snapshot depends on: /workspace (compile and JIT caches, mapped .so files), /tmp and /dev/shm (what the engine wrote after the image), taken after the CRIU dump so the link_remap files CRIU leaves next to deleted-but-open files are ordinary members.
Package runtimefs archives the filesystem trees a process snapshot depends on: /workspace (compile and JIT caches, mapped .so files), /tmp and /dev/shm (what the engine wrote after the image), taken after the CRIU dump so the link_remap files CRIU leaves next to deleted-but-open files are ordinary members.
Package snapshot bakes a snapshot: it starts the engine in a donor container, warms it up, records a canary, exports the weights pool, puts the engine to sleep, checkpoints CUDA, dumps the process tree with CRIU, archives the trees it wrote and publishes everything with one manifest.
Package snapshot bakes a snapshot: it starts the engine in a donor container, warms it up, records a canary, exports the weights pool, puts the engine to sleep, checkpoints CUDA, dumps the process tree with CRIU, archives the trees it wrote and publishes everything with one manifest.
Package store keeps snapshot blobs content-addressed under <state>/blobs/sha256/<digest>.
Package store keeps snapshot blobs content-addressed under <state>/blobs/sha256/<digest>.
Package vllm drives a vLLM API server through the agent's inference socket: lifecycle (health, sleep, wake), the worker RPC that reaches warmctl's extension, and token-ID completions for warmup and canaries.
Package vllm drives a vLLM API server through the agent's inference socket: lifecycle (health, sleep, wake), the worker RPC that reaches warmctl's extension, and token-ID completions for warmup and canaries.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL