~/talk

Zero Code Change Acceleration: familiar interfaces and high performance

Talkat PyCon DE & PyData 2025 · on Wednesday, 2025-04-23· at 17:50· Ferrum· [machine-learning, web-performance]
name:Tim Head
links:none on file
slides:none on file

Demonstrates keeping standard pandas/scikit-learn code while switching implementations under the hood: an import-hook that replaces modules with wrappers that choose between scikit-learn and NVIDIA QML at fit time, plus rewrites using the array API compatibility so PyTorch tensors sit on the GPU. Requires one magic cell or two top-line imports, accelerates some workloads 10–20×, covers a growing subset of algorithms (metrics easy, estimators harder) and is available experimentally since 2023.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Python REPL drives fast iteration
  3. 3:00Consistent data science APIs
  4. 4:26Cost of slow analysis
  5. 5:48Zero code change strategies
  6. 6:51Modifying import with QML.XL
  7. 8:18Python import system
  8. 9:24Finder and loader design
  9. 11:50Performance gains with QML.XL
  10. 12:54scikit-learn GPU rewrite
  11. 13:58scikit-learn's GPU stance
  12. 15:24Multiple array APIs challenge
  13. 16:29Array API standard
  14. 17:53scikit-learn Array API progress
  15. 19:00Familiar APIs vs performance
  16. 20:30Q&A on array conversion
  17. 23:25Final Q&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.