Cookbook
More than fifty complete inferlets you can run, read, and copy.
Every recipe below is a complete inferlet in the Pie repository. Clone the repository to run any recipe by name, or copy its source as a starting point for your own inferlet:
git clone https://github.com/pie-project/pie && cd pie/examples
pie run top-a-sampling-py -- --prompt "Once upon a time" --a 0.2The colored dot marks which layer of the stack the recipe uses: ● uses the Program layer, and ● uses Invent primitives such as multi-lane passes, custom attention masks, or device loops. The language tags link to each implementation on GitHub.