Skip to content
Kitbay
Skill

add-op-overload

NOASSERTIONUpdated on Nov 11, 2026105,390GitHub stars

A contributor checklist in the PyTorch repository for adding a new overload, or a new keyword variant, to an existing ATen operator.

What the skill teaches

A contributor checklist in the PyTorch repository for adding a new overload, or a new keyword variant, to an existing ATen operator. Because editing the operator schema forces a near-full rebuild, it asks the agent to finish every C++ and code-generation change before the first build: the schema and out variant, overload-resolution pitfalls with literal zeros, autograd derivatives, autocast lists, vmap and conjugation tables. It then covers Python-side registrations that can silently swallow the new overload (meta functions, decompositions, Inductor lowerings, DTensor sharding), expect files and docs, and ends with a validation list spanning eager mode, autocast, export, torch.compile and vmap.

Capabilities

Not stated in its documentation