AWS Lambda Now Runs GPU Inference with 48 Concurrent Invocations Sharing One Model per GPU
AWS Lambda now runs Event Functions on EC2 G-series GPU instances through Lambda Managed Instances, with up to 48 concurrent invocations sharing one model per GPU, vLLM and SGLang base images that need no handler code, and 90-minute asynchronous timeouts. Billing is the instance price plus a 9.75 percent fee; first hands-on tests report an eight-minute publish and no response streaming. By…
Amazon Web Services (AWS) has expanded its serverless computing capabilities with the introduction of GPU support for AWS Lambda functions. This development allows event-driven functions running on Lambda Managed Instances to leverage the processing power of NVIDIA GPU-accelerated instances, enabling faster and more efficient inference for machine learning models.
To utilize this feature, developers create an OCI image containing their GPU-accelerated model and specify it in their Lambda function configuration. Lambda handles the provisioning, scaling, and integration of these functions, eliminating the need for manual management of GPU drivers, CUDA versions, or clusters.
A key aspect of this new capability is the ability to run up to 48 concurrent invocations of a single GPU-accelerated model within a single execution environment. This sharing of resources allows for efficient utilization of GPU memory, up to 48 GB per environment, while automatically scaling based on GPU, CPU, and concurrency utilization.
AWS provides five pre-built GPU base images, including support for popular deep learning frameworks such as PyTorch, vLLM, and SGLang. These images can be customized by pointing the function to a Hugging Face or ModelScope repository, an S3 prefix, or a local path containing the desired model weights.
The pricing for this GPU-accelerated Lambda feature is based on the EC2 On-Demand rate, with an additional 9.75% management fee and a standard $0.20 per million requests charge. This pricing structure remains consistent with the company's Managed Instances offering.
AWS's addition of GPU support to Lambda Managed Instances is positioned as a simpler and more streamlined alternative to running GPU-accelerated workloads outside of the AWS environment. By providing a native event-driven integration, the service aims to streamline the deployment and management of GPU-accelerated machine learning models, enabling developers to focus on their core application logic while AWS handles the underlying infrastructure.
Rewritten by urgent.news; may contain errors — check the original.
Source: infoq.com
Read the original at infoq.com →
More from InfoQ on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up