The deployment module lets your team serve open models from the built-in model library and fine-tune them with LoRA training jobs — entirely on your infrastructure with no data leaving your environment.

Deployer modes

Configure the deployer in gateway.yaml:

Model library

Browse the built-in model library to see what’s available for deployment:

Deployment lifecycle

1

Create a deployment

Select a model from the library and create a deployment. ManyLayers provisions the necessary infrastructure resources in your cluster or dstack environment.
2

Automatic registration

ManyLayers polls deployment status every reconcile_interval. Once the model is healthy, it is automatically registered in the gateway catalog and becomes available for routing.
3

Cold start handling

If a model has scaled to zero, the first incoming request triggers a wake. ManyLayers waits up to cold_start_timeout before returning 504.
4

Scale

Adjust replicas at any time via POST /admin/deployments/{id}/scale.

Deployment management API