plain-carpenter-99052
10/28/2025, 5:43 PM@batch(memory=512, cpu=1, gpu=1) the job associated remains in RUNNABLE state indefinitely :
⢠I have double-checked that compute ressources are sufficient
⢠I have an ECS Cluster with a g4dn.xlarge instance attached to it and launched by the Auto Scalling Group that Metaflow or Batch launched.
⢠I use the AMI ami-02124cf261ef1e336 so I have cuda installed
My CloudTrails shows a RunTask event that fails with response element :
"responseElements": {
"tasks": [],
"failures": [
{
"arn": "arn:aws:ecs:eu-west-3:*******:container-instance/62da090445a44320811473cd2c0e4055",
"reason": "RESOURCE:GPU"
}
It can't understand why, it's like my Batch couldn't see the GPU ressource attached to my EC2 and there is no log to help...
When I launch the same step without gpu=1 it works perfectly well.crooked-jordan-29960
10/28/2025, 5:51 PMg4dn.xlarge EC2 independent of Metaflow / Batch Compute Environment? For quotas, you can verify under Service Quotas/AWS services/Amazon Elastic Compute Cloud (Amazon EC2)/Running On-Demand G instances.flaky-plumber-70709
10/28/2025, 5:54 PMflaky-plumber-70709
10/28/2025, 5:55 PMplain-carpenter-99052
10/29/2025, 10:20 AM/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id but it did not work in my environment, I used aws ssm get-parameter --name /aws/service/ecs/optimized-ami/amazon-linux-2/gpu/recommended insteadcrooked-jordan-29960
10/29/2025, 2:37 PM