Workloads¶
A workload is the basic unit scheduled by the Run:ai Scheduler: a Kubernetes job (pods plus the resources they request).
- It belongs to a project and uses the project's GPU/CPU quota.
- It can be created from the web interface, the CLI (
runai), the API or from YAML.
Types¶
| Type | Used for |
|---|---|
| Workspace | an interactive environment for experiments and development (Jupyter, VS Code) |
| Training | standard or distributed training; GPU-intensive tasks |
| Inference | serving a model through an API, with autoscaling |
| Via YAML | other types, submitted as standard Kubernetes YAML |
Lifecycle¶
| Status | Meaning |
|---|---|
| Creating | the workload is being registered |
| Pending | waiting for resources (a free GPU in the project's quota) |
| Initializing | the image is being pulled and the data mounted |
| Running | running |
| Completed / Failed | finished, successfully or with an error |
Monitoring¶
The workload page has three useful tabs:
- Metrics: GPU, CPU and memory usage;
- Logs: the program's output; the first place to look for an error;
- Event history: what the platform did (scheduling, image pull, restarts).
If a workload stays in Pending for a long time or ends up Failed, see Troubleshooting.