George Hotz | Programming | a tiny tour through tinygrad (noob lesson) | github.com/geohot/tinygrad
Date of stream 3 Jul 2022.
Live-stream chat added as Subtitles/CC - English (Twitch Chat).
Stream title: a tiny tour through tinygrad (noob lesson)
Source files:
- https://github.com/geohot/tinygrad
Follow for notifications:
- https://twitch.tv/georgehotz
Support George:
- https://twitch.tv/subs/georgehotz
Programming playlist:
- https://www.youtube.com/playlist?list=PLzFUMGbVxlQs5s-LNAyKgcq5SL28ZLLKC
Compute computer
- Ubuntu 20.04.4 LTS
- AMD Ryzen 9 5950X
- 64GB RAM
- AMD Radeon RX 6900 XT
Streaming computer
- Apple MacBook M1
- LG UltraFine 5K
- Blue Yeti
- Apple Magic Keyboard
- HHKB
- tmux & Vim & Visual Studio Code with Vim Key Bindings and other
https://github.com/geohot/configuration
Chapters:
00:00:00 intro
00:00:41 drug test, drinks, to shower or not to
00:04:40 sub only chat, tinygrad lazy
00:05:10 tour of tinygrad, Tensor
00:06:20 graph
00:07:30 print underlying buffer if it's realized
00:09:20 lazy mode, two armies of haters
00:10:20 multiplying two matrices and graph
00:11:00 GPU support, dashes - not a contiguous tensor
00:11:35 tinygrad codebase, three backends CPU, GPU and Torch
00:11:50 lazy mode
00:13:00 tinygrad is a tensor library, tensor is a list of numbers
00:14:20 benefit of laziness
00:16:10 stream lag, dirty hoodie
00:16:48 ImageNet inference, stream lag, GPU=1
00:19:47 tinygrad definition, 992 lines
00:20:25 tensor class, karpathy, micrograd,
00:23:15 backends, openpilot model
00:24:05 automatic differentiation engine, bad bug
00:26:05 let's fix that bug
00:29:15 hlops, tests
00:31:50 fun thing in tinygrad
00:32:25 pad2d, matmul
00:35:40 transpose, flatten, sum
00:36:40 softmax, dropout, pools, conv, unary
00:37:05 binary ops
00:38:20 tinygrad is one of the best things I have ever written
00:39:25 div, short break
00:40:30 neural networks ops
00:41:45 linear
00:43:10 sequential, reduce
00:44:40 an instantiation of the function in the context
00:45:45 mlops, cleanup, unary ops
00:47:50 good tests, more cleanup
00:53:20 the derivative
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from george hotz archive · george hotz archive · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
comma ai Driving to self racing cars with openpilot
george hotz archive
comma ai Still driving
george hotz archive
comma ai was live
george hotz archive
comma ai Going home
george hotz archive
comma ai We go to the airport
george hotz archive
comma ai Reversing Prius with cabana + panda telethon!
george hotz archive
comma ai panda manufacturing!
george hotz archive
comma ai Self driving to Best Buy
george hotz archive
comma ai shilling for giraffe!
george hotz archive
comma ai Toyota Prius Driving!!!
george hotz archive
comma ai Late night civic driving
george hotz archive
comma ai Toyota giraffe shilling
george hotz archive
comma ai Live car hacking with panda this time or bust!
george hotz archive
comma ai Product launch question time
george hotz archive
comma ai Driving with the RAV4, launching Tuesday!
george hotz archive
comma ai giraffe ship o' clock
george hotz archive
comma ai openpilot 0.3.9
george hotz archive
comma ai EON assembly!
george hotz archive
comma ai Going through the GM investor deck
george hotz archive
comma ai I love my EON
george hotz archive
comma ai RAV4 driving
george hotz archive
comma ai Shilling at the holiday party
george hotz archive
comma ai EON shipping party
george hotz archive
comma ai EON unboxing!
george hotz archive
comma ai The very straight roads of Nevada
george hotz archive
comma ai Starting our trip with openpilot 0.4
george hotz archive
comma ai Little EON on the prairie
george hotz archive
comma ai The urban sprawl of Colorado
george hotz archive
comma ai Onward to Omaha
george hotz archive
comma ai nothing, nowhere
george hotz archive
comma ai shop.comma.ai Buy things!!!
george hotz archive
comma ai The youth are woke
george hotz archive
comma ai Photo shoot!
george hotz archive
comma ai Product announcements are LIT!
george hotz archive
comma ai Breaking down hype of CES
george hotz archive
comma ai Salt Lakes Everywhere!
george hotz archive
comma ai This is the last one
george hotz archive
comma ai Corolla port o’clock!
george hotz archive
comma ai Presentation where it’s like you are in Omaha with us
george hotz archive
comma ai Asking the scopies the banned question
george hotz archive
comma ai Driving in the Corolla!
george hotz archive
comma ai We got new products! shop.comma.ai
george hotz archive
comma ai Sunday w scopies!
george hotz archive
comma ai Our first Lexus, the Lexus RX!
george hotz archive
comma ai Scopie saturday!
george hotz archive
comma ai Panda!
george hotz archive
comma ai Scopie Sunday! *NOT CLICKBAIT*
george hotz archive
comma ai comma Tree!
george hotz archive
comma ai Scopie Saturday
george hotz archive
comma ai Ok scopie Friday
george hotz archive
comma ai comma pedal!
george hotz archive
comma ai okay this time comma pedal!
george hotz archive
comma ai Why aren’t car companies good
george hotz archive
comma ai How can driving be better
george hotz archive
comma ai Scopie Sunday
george hotz archive
comma ai comma got a new car!
george hotz archive
comma ai Mapping Sunday!
george hotz archive
comma ai Let’s go buy a car
george hotz archive
comma ai Ok I take back all the bad things I said about Ford
george hotz archive
comma ai comma smays are in stock!
george hotz archive
Related AI Lessons
⚡
⚡
⚡
⚡
Cx Dev Log — 2026-05-07
Dev.to · COMMENTERTHE9
Andromeda Paradox through the lens of Ghidan Bloch Sphere
Medium · Data Science
Why the Quantum Revolution Might Be a Civilizational Illusion
Medium · Deep Learning
A Practical Guide to scikit-learn: The Swiss Army Knife of Machine Learning in Python
Medium · Machine Learning
Chapters (35)
intro
0:41
drug test, drinks, to shower or not to
4:40
sub only chat, tinygrad lazy
5:10
tour of tinygrad, Tensor
6:20
graph
7:30
print underlying buffer if it's realized
9:20
lazy mode, two armies of haters
10:20
multiplying two matrices and graph
11:00
GPU support, dashes - not a contiguous tensor
11:35
tinygrad codebase, three backends CPU, GPU and Torch
11:50
lazy mode
13:00
tinygrad is a tensor library, tensor is a list of numbers
14:20
benefit of laziness
16:10
stream lag, dirty hoodie
16:48
ImageNet inference, stream lag, GPU=1
19:47
tinygrad definition, 992 lines
20:25
tensor class, karpathy, micrograd,
23:15
backends, openpilot model
24:05
automatic differentiation engine, bad bug
26:05
let's fix that bug
29:15
hlops, tests
31:50
fun thing in tinygrad
32:25
pad2d, matmul
35:40
transpose, flatten, sum
36:40
softmax, dropout, pools, conv, unary
37:05
binary ops
38:20
tinygrad is one of the best things I have ever written
39:25
div, short break
40:30
neural networks ops
41:45
linear
43:10
sequential, reduce
44:40
an instantiation of the function in the context
45:45
mlops, cleanup, unary ops
47:50
good tests, more cleanup
53:20
the derivative
🎓
Tutor Explanation
DeepCamp AI