~/talk

Speed up Python with hardware accelerators

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [machine-learning, web-performance]
links:none on file
slides:none on file

Benchmarks compare plain Python loops to NumPy, Numba and TensorFlow with concrete timings: 100x100 matrix multiply and pairwise-distance tests show orders-of-magnitude speedups; scipy.spatial.cdist is unexpectedly fast on CPU; a Monte Carlo integrator and a PDF interpolation pipeline (1M points) reach almost 100× versus C++ LHAPDF when using TensorFlow on GPU; examples and code live on the GitLab repo and the rule is vectorize and offload independent high-count work to Numba JIT or GPU.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Python performance basics
  3. 10:55Python slowness causes
  4. 11:17Matrix multiplication example
  5. 12:42Numba and TensorFlow acceleration
  6. 15:30Pairwise distance benchmark
  7. 16:57Monte Carlo integration
  8. 18:23Complex interpolation case
  9. 21:36MadFlow tool comparison
  10. 23:26Quantum computing acceleration
  11. 24:48Conclusions and recommendations
  12. 25:31Q&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.