~/talk

PolyJuice: Detecting Mis-Compilation Bugs in Tensor Compilers with Equality Saturation(…)

Talkat OOPSLA 2024 · 2024-10-20..10-25· [testing, machine-learning]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
name:Yu Jiang
links:none on file
slides:none on file

PolyJuice builds equivalent tensor-graph variants via equality saturation and selects the most simplified and most complex extracts to force different compilation passes, then cross-checks compiled outputs. It applies NSmith for graph generation, uses egg for e-graphs, and targets seven compilers including PyTorch Inductor, TVM, TensorRT, XLA, OnnxRuntime, EinNet, Hidet. Evaluation finds 84 non-crash mis-compilation bugs with 49 confirmed and 20 fixed, and reports <2% runtime overhead.

AI-written summary · about

  1. 0:00PolyJuice introduction
  2. 2:33Non-crash mis-compilation bugs
  3. 4:01Challenge in rewriting tensor programs
  4. 6:56PolyJuice workflow with equality saturation
  5. 9:31Rewrite rules implementation
  6. 10:14Experimental results and performance
  7. 11:19TVM bug case study
  8. 13:33Summary and open-source
  9. 14:40Q&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.