torch-spyre
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 4
- AI agents help integrate SGLang with IBM Spyre in under a week
A two-person team used AI coding agents to integrate SGLang with IBM's Spyre accelerator in less than a week, producing an approximately 1,500-line plugin based on existing PyTorch support and SGLang extension points. The PyTorch Blog reports that SGLang reached about 3.6 times the throughput of a reference PyTorch inference implementation using torch-spyre, matched vLLM on the tested workloads for Granite 3.3 8B and Gemma 4 26B A4B, and retained RadixCache prefix sharing without Spyre-specific changes. The plugin is available as open source alongside upstream SGLang.
PyTorch Blog · 🔥 0 - PyTorch open-sources IBM Spyre Dataflow Scheduler v1
According to the PyTorch Blog, version 1 of the open-source Dataflow Scheduler converts KTIR programs into dataflow pipelines and lowers them through DataflowIR into SpyreCode for IBM’s Spyre accelerator. It supports multi-core elementwise operations with broadcast and reduction dimensions and has been validated end to end on representative transformer operations. Matrix multiplication support and cost-model-driven performance optimization are still underway.
PyTorch Blog · 🔥 0 - 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 torch-spyre experienceAsk about torch-spyre
Nobody has shared their experience with torch-spyre yet.