Skip to content

ARM GPU AMI for AWSBatch/ECS for G5G instance type

1

I am interested in running GPU-enabled jobs on AWSBatch (with ECS) using ARM-based G5G instances for the potential cost savings when compared to G5 (x86) instances, however it seems there is no ECS AMI for GPU-enabled ARM instances provided by AWS, and running Batch ECS jobs on G5G instances with a GPU resource requirement will result in an error. Is this AMI something that may be available in the future from AWS? Right now this would require building and maintaining a custom AMI.

4 Answers
1

This topic has also been touched on here: https://github.com/orgs/aws-samples/projects/55/views/1?pane=issue&itemId=44122312

We would love to hear from you, thank you for using AWS Batch!

AWS

answered 2 months ago

EXPERT

reviewed 2 months ago

EXPERT

reviewed 2 months ago

0

You're correct that AWS Batch currently has limited support for ARM-based GPU instances like G5g. While AWS Batch supports GPU jobs using NVIDIA GPUs from various instance families, the G5g instance family (which uses ARM64 architecture) is only supported for GPU jobs when using custom AMIs that you provide to AWS Batch, along with EC2 user data to access the GPUs through customized code and configurations.

At this time, there isn't a pre-built AWS-provided ECS GPU-optimized AMI specifically for ARM-based GPU instances like G5g. To use G5g instances for GPU workloads on AWS Batch with ECS, you would indeed need to build and maintain your own custom AMI that includes the necessary ARM-compatible GPU drivers and configurations.

I cannot provide information about future AWS product roadmaps or whether AWS plans to release an official ARM GPU-optimized AMI for ECS. For the most current information about upcoming features or to express interest in this capability, I'd recommend reaching out through AWS Support channels or your AWS account team, as they can better communicate customer needs to the relevant product teams.

In the meantime, if you want to use G5g instances, you'll need to create a custom AMI with the appropriate ARM-compatible GPU drivers and runtime configurations to enable GPU access for your containerized workloads.
Sources
Run GPU jobs - AWS Batch

answered 2 months ago

EXPERT

reviewed 2 months ago

0

We have a AWS DLAMI (Deep Learning AMI) for G5g (ARM64 based Graviton + GPU) instance which should serve as a base image here. Please refer to the following page for where to get the G5g DLAMI from and how to use it. https://docs.aws.amazon.com/dlami/latest/devguide/tutorial-arm64-pytorch.html

AWS

answered a month ago

0

Comment added to https://github.com/aws-samples/aws-batch-with-ffmpeg/issues/14

We have a AWS DLAMI (Deep Learning AMI) for G5g (ARM64 based Graviton + GPU) instance which should serve as a base image here. Please refer to the following page for where to get the G5g DLAMI from and how to use it. https://docs.aws.amazon.com/dlami/latest/devguide/tutorial-arm64-pytorch.html

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.