Spot capacity, failures and stragglers
The cluster can grow, but only in whole gangs
In the cloud, the cluster can grow. An autoscaler adds nodes when admitted jobs can't be placed, and removes nodes that sit empty. That's one more reason to pack.
GPU capacity isn't infinite. OpenAI's engineers said in February 2024, about serving ChatGPT, that there were no more GPUs to buy or rent, and so none to autoscale into (1 source). Most ML clusters run on reserved capacity sized to the guaranteed quotas, with on-demand and spot capacity on top for bursts.
A gang needs all its nodes at once. Adding 7 of the 8 nodes a job needs helps nobody. Kueue can hold a job's admission until the cluster autoscaler has provisioned its capacity. Its docs note that this best-effort scale-up doesn't always guarantee strict all-or-nothing scale-up in every environment.
The editor holds nodes_to_add(needed, empty, available), which asks the cloud for nodes before a gang starts. Run it: with only 5 nodes available it still adds 5, though the gang needs 7 more.