What problem does it solve?
This Skill addresses the challenge of running GPU-intensive ML workloads without the need for infrastructure management, allowing users to deploy ML models as auto-scaling APIs or run batch jobs with automatic scaling.
Core Features & Use Cases
- Serverless GPUs: Access on-demand GPUs like T4, L4, A10G, L40S, A100, H100, H200, B200.
- Python-native: Define infrastructure in Python code.
- Auto-scaling: Scale to zero or 100+ GPUs instantly.
- Sub-second cold starts: Rust-based infrastructure for fast container launches.
- Container caching: Image layers cached for rapid iteration.
- Web endpoints: Deploy functions as REST APIs with zero-downtime updates.
- Use Case: Ideal for running complex ML models that require significant computational resources, such as deep learning inference or large-scale data processing tasks.
Quick Start
Install the Modal CLI and authenticate with your account. Then, run the following command to deploy a new ML model:
modal run my_model.py