modal-serverless-gpu

Deploy Python functions as auto-scaling serverless GPU REST APIs.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/zangjeicy/Hermes --skill modal-serverless-gpu-zangjeicy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: modal-serverless-gpu
Source: https://github.com/zangjeicy/Hermes/tree/main/optional-skills/mlops/modal
Command: npx skills add https://github.com/zangjeicy/Hermes --skill modal-serverless-gpu-zangjeicy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires modal, and includes references (resource) components.

What problem does it solve?

This Skill solves the complexity of managing GPU infrastructure by providing a serverless platform to run, scale, and deploy machine learning workloads without manual server configuration.

Core Features & Use Cases

  • Serverless GPU Execution: Access on-demand GPUs like T4, A100, and H100 with pay-per-second pricing.
  • Auto-scaling APIs: Deploy Python functions as REST APIs that automatically scale to zero when idle.
  • Use Case: Use this Skill to deploy a heavy LLM inference endpoint that scales from zero to hundreds of GPUs during traffic spikes and shuts down completely when no requests are active.

Quick Start

Use the modal-serverless-gpu skill to deploy the current python script as a serverless web endpoint.

Frequently Asked Questions about modal-serverless-gpu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy machine learning models to serverless GPUs without managing servers?▼

You can deploy machine learning models to serverless GPUs by wrapping Python functions as REST API endpoints. This approach provides on-demand compute allocation for training and inference, automatically scaling to zero when idle without manual server configuration.

Can I use serverless GPU deployment for LLM inference endpoints that scale during traffic spikes?▼

Yes, serverless GPU deployment supports LLM inference endpoints that scale from zero to hundreds of GPUs during traffic spikes. The platform uses pay-per-second pricing and shuts down compute resources completely when no requests are active.

What NVIDIA GPU architectures are available for serverless machine learning workloads?▼

Serverless machine learning workloads support various NVIDIA GPU architectures including T4, A100, and H100. These on-demand GPUs facilitate cost-efficient resource management for training, inference, and batch processing tasks.

How do I convert a Python script into an auto-scaling API endpoint?▼

To convert a Python script into an auto-scaling API endpoint, use the serverless interface to deploy it as a web endpoint. The platform handles infrastructure-free deployment, automatically allocating GPU compute resources based on incoming request volume.

Does serverless GPU deployment require manual server configuration for batch processing tasks?▼

No, serverless GPU deployment does not require manual server configuration for batch processing tasks. The platform provides infrastructure-free deployment with automatic scaling and on-demand compute allocation across multiple NVIDIA GPU architectures.

When should I not use serverless GPUs for machine learning workloads?▼

Serverless GPUs are not ideal for continuous, always-on machine learning workloads due to the scale-to-zero mechanism. If your inference or training tasks require persistent uptime without cold starts, traditional dedicated GPU infrastructure may be more suitable.