Skip to content

User Guide

Page Contents
Writing a Spec what an op's spec contains, and how to read and write one
Adding an Op the four steps from a spec to status: implemented
Using torch.compile what an op looks like inside a compiled graph, and the conventions a caller keeps to
Timing Benchmarks how the numbers on the Benchmarks pages are measured
Adding a Backend taking over the ops on a class of devices with your own kernels