User Guide
Getting started
Development guide
Getting the code, setting up the dev image or a local environment, running the
tests, and opening a PR.
Specs and ops
Reading and writing the manifest
How the system uses a spec, the concepts a spec is described in, and how to
write one.
Adding a new op
The six steps from a spec to status: implemented.
Op base class developer guide
What the Op base class does for every op, what a subclass declares to it, and the
steps construction and a call go through inside it.
Kernels and hardware
How an op selects a kernel
How an op selects a kernel, how to add a kernel, and how a backend joins.
Adding a hardware backend
Serving the ops on one class of devices with your own kernels.
Bringing an op into torch.compile
What an op looks like inside a compiled graph, and the conventions a caller
follows.
How a benchmark is timed
How the numbers on the Benchmarks pages are measured.
Writing benchmarks
Checking and timing an op against other implementations over its manifest cases.
Back to top