Skip to content

A collection of sample programs, notebooks, and tools which highlight the power of the MAX platform

License

Notifications You must be signed in to change notification settings

katelyncaldwell/max

Repository files navigation

MAX code examples

This is a collection of sample programs, notebooks, and tools which highlight the power of the MAX platform. This includes:

  1. inference: These examples download a pre-trained model and showcase how to run it with the MAX inference engine. For certain models, deploying to Triton is also available.

  2. notebooks: Includes Jupyter notebooks for an interactive learning experience.

  3. tools: This demonstrates benchmarking and visualization tooling that's available to use with MAX.

Getting Started

  1. Install the MAX SDK.

  2. Git clone the repository of MAX samples using the command below:

git clone https://github.com/modularml/max.git

Running

Option 1: Example console

Run the console and follow the prompt to choose which example to run (excludes notebooks)

python3 -m venv venv && source venv/bin/activate
python3 examples/console.py

which opens up

Option 2: Individual example

Follow the instructions in the README for each example, notebook or tool you want to run.

License

The Mojo examples and notebooks in this repository are licensed under the Apache License v2.0 with LLVM Exceptions (see the LLVM License).

Contributing

Thanks for your interest in contributing to this repository! We are not accepting pull requests at this time.

About

A collection of sample programs, notebooks, and tools which highlight the power of the MAX platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published