Lightlines
Catalogue
Sign in
By pytorch

at-dispatch-v2

pytorch

Move PyTorch dispatch macros to the v2 API.

kernel development

What it does

Converts legacy PyTorch AT_DISPATCH macros to the AT_DISPATCH_V2 format.

When to use it

Use when converting dispatch macros or porting ATen kernels to the new dispatch API.

How to use it

Give it a project containing legacy AT_DISPATCH macros; it edits the code, shows the converted file, and explains the changes.

What you provide

  • An existing project

Access · 0

No additional actions listed in the analysis.

What you need · 0

No setup requirements listed in the analysis.


About this skill

Visibility
Public
Repository
pytorch/pytorch
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
1