What problem does it solve?
This Skill solves the challenge of running ML workloads with on-demand GPU access, eliminating the need for infrastructure management and allowing for the deployment of ML models as auto-scaling APIs or running batch jobs with automatic scaling.
Core Features & Use Cases
- Serverless GPUs: Access a variety of GPUs like T4, L4, A10G, L40S, A100, H100, H200, B200 without managing infrastructure.
- Python-native: Define infrastructure in Python code for ease of use.
- Auto-scaling: Scale to zero or up to 100+ GPUs instantly, with sub-second cold starts.
- Container Caching: Rapid iteration with image layers cached for performance.
- Web Endpoints: Deploy functions as REST APIs with zero-downtime updates.
- Use Case: Ideal for prototyping ML applications quickly, running scheduled jobs, and processing batch jobs with pay-per-second GPU pricing.
Quick Start
Install the Modal client with pip install modal and authenticate with modal setup. To deploy a function, run modal deploy my_function.py.