Re: [PATCH 6/8] terraform: Add tier-based GPU selection for Lambda Labs

"Chuck Lever" <[email protected]> Tue, 16 Dec 2025 13:05:38 -0500
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>

On Sat, Dec 6, 2025, at 11:56 AM, Luis Chamberlain wrote:
> Add support for tier-based GPU instance selection for Lambda Labs, similar
> to the existing DataCrunch implementation. This allows users to specify
> a maximum GPU tier and the system will automatically select the highest
> available GPU within that tier.
> 
> The implementation adds capacity checking and tier selection scripts that
> query the Lambda Labs API to find available instances. Single GPU tier
> groups fall back from GH200 to H100 to A100 to A6000 to A10. Multi-GPU
> tier groups fall back from 8x B200 to 8x H100 to 8x A100 to 8x V100.
> 
> New Kconfig options provide tier-based selections like H100_OR_LESS and
> 8X_H100_OR_LESS. The terraform ansible tasks detect these wildcard types
> and invoke the tier selection script to find available capacity before
> provisioning.
> 
> Defconfigs are provided for common tier combinations to simplify usage.
> Users can now run commands like make defconfig-lambdalabs-h100-or-less
> to get the best available single GPU up to H100 tier.
> 
> Generated-by: Claude AI
> Signed-off-by: Luis Chamberlain <[email protected]>

Merged into origin/main.


---
Chuck Lever