~/talk

Accelerating Complex-Valued Tensors With Torch.compile

Talkat PyTorch Conference Europe 2026 · 2026-04-07..04-08· [machine-learning]
links:none on file
slides:none on file

Provides a working subclass storing real and imaginary parts that lets torch.compile succeed on complex dtypes today on PyTorch nightly, plus an open PR to Inductor to thread the subclass through compilation. Matmul performance forces keeping real/imag separate during kernels and reinterleaving at boundaries, which breaks view/mutation correctness unless views are disallowed or a second interleaved subclass is used. FFTs require backend support, and a planned JIT kernels on demand approach aims to avoid binary size blowup.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Complex tensors in PyTorch
  3. 3:09Current solution and subclass
  4. 4:57Performance challenges
  5. 7:29View semantics and correctness
  6. 8:56FFT operations and backend
  7. 10:00Binary size and complex32
  8. 11:06Future JIT plans
  9. 12:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.