Pular para o conteúdo
Kitbay
Skill

add-op-overload

NOASSERTIONAtualizado em 11 de nov. de 2026105.390Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

Não informado na documentação