What problem does it solve?
Modal serverless GPU eliminates the friction of provisioning and maintaining GPU infrastructure so you can run ML training, inference, and batch workloads on demand.
Core Features & Use Cases
- Serverless GPU execution: Run GPU-intensive functions without managing servers, enabling scale-to-zero and pay-per-use.
- Deploy ML as endpoints: Package inference logic as web APIs (FastAPI/ASGI) for low-latency requests and production use.
- Production-friendly orchestration: Use volumes, secrets, scheduling, batching, concurrency controls, and container lifecycle hooks to support real workloads end-to-end.
Use Case Examples:
- Host a text generation inference API that loads the model once per container and serves requests.
- Run nightly scheduled training or data-processing jobs that scale up when needed and stay idle otherwise.
- Batch-process large datasets with dynamic batching for better GPU utilization and lower cost.
Quick Start
Use the modal-serverless-gpu skill to deploy a GPU inference function by creating a Modal app, selecting a GPU (for example T4 or A10G), defining the model image dependencies, and then running the script to generate an accessible endpoint.