Amazon Web Services has added quota management to AWS Batch, letting administrators split GPU capacity into shares that lend and borrow idle capacity for SageMaker Training jobs. AWS says the feature responds to customers who run training for many teams and want shared capacity handled automatically.
Administrators divide compute into quota shares organized by team, project, or workload. Each share has capacity limits and a sharing strategy. Idle capacity can be held in reserve until jobs arrive, lent to other shares with waiting work, or both lent when idle and borrowed when the share has jobs that can use extra capacity.
A quota share works as a virtual queue nested inside a job queue. AWS Batch gives priority to shares that are under their limits. When jobs arrive in a share that has lent out capacity, AWS Batch preempts, or stops, the borrowing jobs and returns the resources. Administrators do not have to find and end those jobs themselves.
Administrators can also turn on priority-based preemption inside a share. It stops lower-priority jobs that are scheduled, starting, or running, so higher-priority jobs at the front of the queue start sooner. AWS says users can configure the shares through the SageMaker Python SDK.