You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto-detects AMI (Amazon Linux 2023, including GPU variants)
Actual: launching a GPU instance type without --ami fails immediately:
$ spawn launch g6-test --instance-type g6.4xlarge --region us-east-1 --command 'echo hi' -o json
failed to get AMI from SSM: operation error SSM: GetParameter, https response error StatusCode: 400, ... ParameterNotFound:
Same for g6e.2xlarge, g7e.2xlarge. CPU types (c8i/c8a/c8g.24xlarge) auto-detect fine in the same account/region.
Cause (guess): the SSM parameter path spawn queries for the auto-AMI doesn't have a GPU/NVIDIA variant for these types — there is no /aws/service/ami-amazon-linux-latest/*nvidia* param, and AL2023 doesn't publish a GPU AMI via that path. GPU instances need e.g. the Deep Learning Base OSS Nvidia Driver GPU AMI (Amazon Linux 2023) (found via ec2 describe-images --owners amazon, not the AL2023 SSM path).
Ask: either (a) resolve a GPU-capable AMI (DLAMI / AL2023-NVIDIA) when the instance type is a GPU family and auto-AMI is used, or (b) if that's out of scope, fail with a clear message ('GPU instance types require --ami; auto-detect only supports CPU AL2023') and update the help text so it doesn't promise GPU-variant auto-detection.
Workaround (in use): pass --ami <gpu-ami-id> explicitly for GPU cells. Fine, just not what the help advertises.
Activity
GPU cells: pin NVIDIA-driver AMI (spawn auto-AMI fails for GPU, #384)
fix(ami): GPU auto-AMI + GPU-family detection (#384)
fix(ami): resolve instance arch from EC2, not a Graviton allow-list (#…