We’re trying out a new format for explained examples: packaged recipes that you can download with a single Magic command, each with detailed walkthroughs and defined tasks to try. Among the initial set of recipes are a series of GPU programming ones:
- GPU Functions in Mojo
- Custom Operations: An Introduction
- Custom Operations: Optimizing Matrix Multiplication
- Custom Operations: Applications in AI Models
All of the individual examples we have in these recipes are also present in the MAX GitHub repository, so you may have seen them before, but we’ve written new detailed explanations for what each example shows and the programming concepts involved. They also use a new Magic command that we’ve rolled out in 0.7.2, allowing you to initialize a local directory from a template stored in a GitHub repository. Right now, it’s focused on the max-recipes repository, but if people find this to be a useful function we can definitely expand it beyond this use case.
Try these out, read through the documentation, and let us know what you think of the recipe format and content!