How-tos Python#
These recipes use the Python APIs. Each mixed-language recipe has a separate C++ counterpart linked from its introduction.
Getting started
Model building and I/O
Testing and benchmarking
Custom runtime and operators
- How to use a custom kernel
- Persistent input/output feedback
- Quantizes tensors into encoded values
- GPTQModel checkpoint compatibility
- Exact GGUF-family block payloads
- Tune kernel thresholds
- How to use a custom optim shape inference function
- How to register a built-in kernel, test case, shape inference, light op or peak memory function
Graph rewrites and utilities