本文へスキップ
Kitbay
スキル

add-op-overload

NOASSERTION2026年11月11日 更新105,390GitHubスター

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

スキルの内容

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.

できること

ドキュメントに記載なし