~/talk

Numba, a JIT compiler for fast numerical code

Talkat EuroPython 2015 · 2015-07-20..07-26· [python, machine-learning]
links:none on file
slides:none on file

Numba is a JIT that compiles Python bytecode to native code via LLVM 3.6 and targets x86/x86_64 CPUs and NVidia GPUs via Cuda; it specializes on Numpy arrays, offers a vectorized decorator and ufunc generation, and can drop the GIL for parallel threads. Limitations include a restricted Python subset (no recursion, no class compilation, no object-array support) and no persistent cache yet; a benchmark animation reports about 100× speedup over plain Python in a grid update example.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Specialized Tailored for number crunching
  3. 1:10Multiple targets
  4. 2:45Numba architecture
  5. 4:25Compilation pipeline
  6. 6:30Numba types
  7. 8:06Supported Python syntax Supported constructs
  8. 9:04Supported Python features
  9. 9:47Supported Python modules Standard library
  10. 10:39Supported Numpy features
  11. 11:54Limitations
  12. 12:55Semantic changes
  13. 16:05Using Numba: @vectorize
  14. 18:36@jit example: Ising models
  15. 19:22Ising model: code
  16. 20:43CUDA support
  17. 22:20CUDA example
  18. 23:56Installing Numba
~/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.