Inductor
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 2
- IBM Spyre's torch.compile backend moves to PyTorch Inductor
A PyTorch Blog post says torch-spyre, the PyTorch stack for IBM's Spyre accelerator, moved its torch.compile backend from sendnn — a compilation stack built from scratch — to backend=inductor, an open-source backend built by extending PyTorch's own Inductor. It says most of Inductor carried over untouched, with work concentrated where Spyre diverges from GPU assumptions: 128-byte stick-granularity data movement, a scratchpad-only hierarchy of 2 MB per core with no shared cache, and static core allocation. The authors say the resulting compiler is roughly 7x smaller than what it replaced, and cite a 27% drop in median kernel time for a single-core softmax and 29–69% kernel-time cuts from matmul tiling and layout.
PyTorch Blog · 🔥 0 - torch-spyre brings IBM Spyre in as a native PyTorch device
IBM's torch-spyre team published a PyTorch blog post describing how it made Spyre, IBM's dataflow AI accelerator for inference, a native PyTorch device. The integration uses PrivateUse1 registration to give Spyre a device identity named "spyre", then maps PyTorch's allocator, stream, event and Inductor compiler abstractions onto Spyre runtime constraints such as ordered queues of typed operations, separate compute and data-movement pipelines, and ahead-of-time compiled programs with fixed layouts. IBM says this gives one path for eager and compiled execution, keeps tensors resident on device="spyre", and cuts launch overhead; no performance or benchmark figures are given, and the source text is truncated near the end.
PyTorch Blog · 🔥 0
Experience and discussion from the community
Share my Inductor experienceAsk about Inductor
Nobody has shared their experience with Inductor yet.