~/talk

What's inside the box? Building a deep learning framework from scratch.

Talkat PyCon DE & PyData 2025 · on Friday, 2025-04-25· at 13:05· Dynamicum· [machine-learning, software-architecture]
github:OKUA1
slides:none on file

Builds a minimalist deep learning framework in Python in under 90 minutes that uses a NumPy backend, implements elementwise ops, matrix multiply, ReLU, reduction, a Tensor container with autograd engine, Module/Parameter bookkeeping and a simple SGD optimizer. Trains a small MLP on synthetic data (1,024 samples, 10 features) and shows loss decreasing, notes no GPU/primitives or speed optimizations and provides a template plus solutions repo.

AI-written summary · about

  1. 0:00Building a DL framework
  2. 1:34Why build from scratch
  3. 19:26Setting up the project and prerequisites
  4. 29:09Implementing multiplication
  5. 40:45Tensor class and autograd
  6. 50:15Module class for layers
  7. 1:00:23Training loop and loss
  8. 1:16:40Training and troubleshooting
  9. 1:17:22Primitives and backends
  10. 1:18:47Q&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.