amazon-ecs-developer-guide icon indicating copy to clipboard operation
amazon-ecs-developer-guide copied to clipboard

Allocate GPU with new ECS console

Open biyer19 opened this issue 4 years ago • 1 comments

For tasks hosted on Amazon EC2, how do you specify the GPUs that should be allocated for the task/container?

biyer19 avatar Jan 12 '22 20:01 biyer19

At the current time, you can use the Amazon ECS "classic" console to add GPU requirements for your containers. When registering a new task definition, when you add your container definitions, underneath the "Environment" section there is a field for GPUs. This functionality hasn't been added to the ECS new console experience yet. You can find more details on https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html#ecs-gpu-specifying

joelbrandenburg avatar Mar 17 '22 17:03 joelbrandenburg