dml_util.runners.batch#
Implementation of a Lambda function that runs a job on AWS Batch.
Environment variables: - CPU_QUEUE: The name of the CPU job queue. - GPU_QUEUE: The name of the GPU job queue. - BATCH_TASK_ROLE_ARN: The ARN of the IAM role for Batch tasks.
Classes
|
- class dml_util.runners.batch.BatchRunner(config, input)[source]#
Bases:
LambdaRunner
- Parameters:
config (EnvConfig)
input (InputConfig)
- property client#
Return the AWS Batch client.