PyTorch Conference Europe 2026

How To Write C++ Extensions in 2026 - Jane Xu, Meta & Mikayla Gawarecki, Meta

24:07 · 07 Apr 2026 – 08 Apr 2026 · YouTube

About this talk

This talk covers the creation of C++ custom operation extensions for PyTorch in 2026, presented by Jane Xu and Mikayla Gawarecki from Meta. The speakers discuss how to simplify the shipping process by using a single wheel that is compatible with multiple CPython and libtorch versions. They introduce tools and APIs such as py_limited_api, torch::stable::Tensor, and TORCH_TARGET_VERSION, sharing insights from their experience with recent advancements in features like FA3, xformers, and torchaudio. This session aims to provide strategies for streamlining the development of custom kernel extensions.