Zum Inhalt springen
Kitbay
Skill

add-op-overload

NOASSERTIONAktualisiert am 11. Nov. 2026105.390GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

In der Dokumentation nicht angegeben