This is a collection of sample programs, notebooks, and tools which highlight the power of the MAX platform. This includes:
-
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.
-
notebooks: Includes Jupyter notebooks for an interactive learning experience.
-
tools: This demonstrates benchmarking and visualization tooling that's available to use with MAX.
-
Install the MAX SDK.
-
Git clone the repository of MAX samples using the command below:
git clone https://github.com/modularml/max.git
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
Follow the instructions in the README for each example, notebook or tool you want to run.
The Mojo examples and notebooks in this repository are licensed under the Apache License v2.0 with LLVM Exceptions (see the LLVM License).
Thanks for your interest in contributing to this repository! We are not accepting pull requests at this time.