DeploymentSpec
New files declare the stable v1 file contract:main are resolved and persisted as immutable Hugging Face commits
before provisioning.
runtime.workload; see Custom OCI workloads. Mutable image tags and
underspecified probes are rejected before provisioning.
compute.mode defaults to elastic; elastic replica bounds default to 1..1. Serverless requires
min_replicas: 0 and defaults max_replicas to one when omitted. Revisions are immutable; changing
a field creates a candidate. provider.adapter persists the exact implementation when more than one
profile can serve a cloud/runtime pair; it is optional for an unambiguous default. Current executable
elastic defaults include configured AWS EC2 and GCP Compute, while other provider-product profiles
remain registered but deferred until their exact combination is qualified. AWS and GCP require an
explicit provider.region. Cost is omitted unless a trustworthy provider measurement exists.