~/talk

Hacking Dask: Diving Into Dask;s Internals

Talkat PyCon US 2021 · 2021-05-14..05-15· [python, machine-learning]
slides:none on file

Shows Dask internals with runnable specifics: task graphs are created and optimized (fuse, inline, cull), the distributed scheduler and workers run via LocalCluster and client, diagnostics and a saved performance report HTML capture task streams, and a scheduler and worker plugin APIs let code run at lifecycle events (example: pip-install plugin). Demonstrations include a 16.2 GB array completed on 16 GB laptop and a loop sped from ~5.5s to 1.77s using delayed/futures, proving the techniques work.

AI-written summary · about

  1. 0:00Start
  2. 0:37Overview
  3. 0:54Overview Notebook
  4. 2:15Why Would You Want To Use Desk
  5. 3:59Das Collections
  6. 5:29Task Graphs
  7. 7:23Desk Arrays
  8. 11:53Blocked Algorithms
  9. 15:15Das Data Frame
  10. 20:55Schedulers
  11. 21:32Single Machine Schedulers
  12. 22:50Swap between the Different Schedulers
  13. 23:14Set the Default Scheduler
  14. 26:31Futures Interface
  15. 30:49Custom Operations
  16. 32:07Block Computations
  17. 33:46Task Graph
  18. 35:19Map Blocks
  19. 38:21Special Arguments
  20. 38:40Output
  21. 46:23Diagnostic Dashboards
  22. 49:33Map Partitions
  23. 58:48Reduction
  24. 1:01:15Group by Aggregation
  25. 1:04:43Graph Optimizations
  26. 1:11:49Fuse Function
  27. 1:13:40Graph Chain
  28. 1:26:49Distributed Scheduler
  29. 1:27:50Distributed Cluster Overview
  30. 1:28:06Scheduler
  31. 1:30:44Client Process
  32. 1:34:14Client Restart Method
  33. 1:36:01Deploying Das Clusters
  34. 1:41:18Create a Cluster
  35. 1:41:57Cluster Api
  36. 1:47:06Inspecting the State of the Cluster
  37. 1:48:40Spin Up a Local Cluster
  38. 1:50:35Performance Report
  39. 1:51:18Performance Report
  40. 1:54:59Scheduler Python Object
~/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.