Guides¶
One page per question that cuts across the examples.
Compute and data¶
- Choose a machine and pricing: GPU and CPU selectors, on-demand or spot, restarts, and preemption.
- Storage and files: mount buckets, size the disk and
/dev/shm, and send small files. - Secrets and private images: MysteryBox secrets as env variables, private registries, and endpoint tokens.
Execution and recovery¶
- Reload, cancel, and retry safely: come back to a job by id, cancel it, and retry a create without making two.
- Progress, logs, and diagnostics: what the calls print, how to quiet them, and where the logs are.
- Async and notebooks: sync calls in notebooks, and the awaited twins for async code.
Automation and configuration¶
- Run in CI: a service account and
ns.configure, without a CLI login. - YAML and the CLI: keep recipes in YAML, and print the
nebius aicommand for any recipe.
To submit many jobs and wait for all of them, see the batch example.