AWS Lambda GPU
by Amazon · App or service · Text & code
Runs functions on cloud GPUs triggered by events, so queued model jobs and inference run serverlessly inside an AWS account.
Works for queued GPU inference inside AWS; slow to scale, no streaming, rough tooling
Latest · Nov 22Lambda Event Functions on Managed Instances can now run on EC2 G-series GPUs (G4dn, G5, G6, G6f, Gr6, Gr6f, G6e) as container images; generally available.
Who says what
Early daysAmazon, and Steef-Jan Wiggers reporting the launch
Event Functions now run on G-series GPUs at the EC2 On-Demand rate plus a 9.75% fee and $0.20 per million requests, billing while any environment is kept warm. Up to 48 invocations share one model copy, and the vLLM and SGLang images need no handler code.
Classmethod, xbill and Yan Cui, who deployed it
Classmethod got only G-family instances accepted (37 of 81 types), saw PyTorch run about 66 times faster on an L4 than on CPU, and found no Terraform support and zero GPU quota on fresh accounts. xbill waited 484 seconds for a version to go active and couldn't stream replies, and Yan Cui says new instances take tens of seconds to launch, a poor fit for traffic spikes.
What would settle it. A cold-start test under bursty load, and whether AWS brings GPUs to Web Functions for streamed replies.
Evidence
- Nov 22Priced at EC2 On-Demand rate plus a 9.75 percent management fee and $0.20 per million requests; no duration charge, so instances bill while minimum environment count is above zero.ReportedSteef-Jan Wiggersvia
InfoQ - Nov 22Up to 48 concurrent invocations per environment share a single copy of the model in GPU memory; scaling follows GPU utilization, CPU utilization and concurrency.ReportedSteef-Jan Wiggersvia
InfoQ - Nov 22Seekable OCI lazy loading can cut environment start time by up to 70 percent; publishing a version downloads weights and warms the engine before the first event.ReportedSteef-Jan Wiggersvia
InfoQ - Nov 22Five GPU base images: CUDA only, CuPy, PyTorch, vLLM and SGLang. The vLLM and SGLang images need no handler code; MODEL_ID points to Hugging Face, ModelScope, S3 or a local path.ReportedSteef-Jan Wiggersvia
InfoQ - Nov 22Limits: container images up to 32 GB, 32 GB ephemeral storage, 2 to 32 GB memory, 3 to 48 GB accelerator memory, 15,000 vCPUs per capacity provider, timeout up to 90 minutes for async invocations.ReportedSteef-Jan Wiggersvia
InfoQ
Show all 12
- Nov 22AWS's Daniel Abib says rival serverless GPU services often sit outside your AWS environment, with no native event sources, identity or networking.Maker's claimDaniel Abibvia
InfoQ - Nov 22Of 81 accelerated instance types tried in us-east-1, 37 were accepted, all G-family; P-family, G7, Inferentia, Trainium, g5g and zip packages were refused.Hands-on testClassmethodvia
InfoQ - Nov 22A PyTorch benchmark ran about 66 times faster on the L4 than on the instance's CPU. Terraform and Cloud Control did not yet support AcceleratorConfig, and fresh accounts have zero GPU vCPU quota.Hands-on testClassmethodvia
InfoQ - Nov 22
- Nov 22
- Nov 22
- Nov 22Managed Instances support only Event Functions, so GPU does not yet reach Web Functions; AWS has not said whether it will.ReportedSteef-Jan Wiggersvia
InfoQ