What problem does it solve?
This Skill provides a practical, production-oriented workflow for running GPU-intensive machine learning training and inference without managing servers, enabling teams to deploy models as scalable APIs and run transient batch jobs with pay-per-second billing.
Core Features & Use Cases
- Serverless GPU access across a broad range of hardware for cost-effective inference and training at scale.
- Python-native application definition and container image management for rapid iteration and reproducible environments.
- Persistent volumes, secrets management, and scheduling primitives to support model caching, secure credential access, and recurring jobs.
- Multi-GPU and distributed training patterns, dynamic batching, and cold-start mitigation for latency-sensitive production workloads.
- Use Case: Expose a PyTorch model as a REST API that scales from zero to hundreds of GPUs, while using a shared volume for model artifacts and secrets for credentials.
Quick Start
Deploy a GPU-backed Modal app that loads a PyTorch model on an A100, mounts a persistent volume for model weights, and exposes a REST predict endpoint.