task.toml. Harbor applies CPU and memory using enforcement policies; storage, GPU, and TPU requests are passed through when the provider supports them.
Task fields
All fields are optional. Omitted fields use the provider’s default sizing.
Separate verifier sandboxes can set their own values under
[verifier.environment].
Enforcement policies
CPU and memory each get an independent policy. Set them via--cpus / --memory, or cpu_enforcement_policy / memory_enforcement_policy in job or trial config.
- CLI
- Config
- CLI
- Config
Provider support
Harbor validates policies at the start of a job. Unsupported combinations fail before trials run.limit and guarantee require limit support; request and guarantee require request support.
Storage, GPUs, and TPUs do not have enforcement policies. Harbor passes their declared values to providers that support them.

