Lucy Zhang 60016b822e Small fixes for VLLM example (#1347)
* small cleanups

* small cleanups
2025-08-29 13:23:58 -04:00
2025-04-15 21:47:22 -07:00
2025-08-06 16:37:42 -07:00
2025-08-28 15:00:02 -04:00
2025-08-06 16:25:22 -07:00
2025-06-10 11:11:19 -07:00

Modal Examples

This is a collection of examples for Modal. Use these examples to learn Modal and build your own robust and scalable applications.

Usage

First, sign up for a free account at modal.com and follow the setup instructions to install the modal package and set your API key.

The examples are organized into several folders based on their category. You can generally run the files in any folder much like you run ordinary Python programs, with a command like:

modal run 01_getting_started/hello_world.py

Although these scripts are run on your local machine, they'll communicate with Modal and run in our cloud, spawning serverless containers on demand.

Examples

These examples are continuously tested for correctness against Python 3.11.

License

The MIT license.

Languages
Python 93.9%
JavaScript 2.6%
HTML 1.7%
TypeScript 1.2%
Jupyter Notebook 0.3%
Other 0.2%