George Hotz | Programming | tinygrad: LLVM backend | github.com/geohot/tinygrad/tree/llvm | llvmlite
Date of stream 15 Oct 2022.
Live-stream chat added as Subtitles/CC - English (Twitch Chat).
Stream title: tinygrad: LLVM backend
Source files:
- https://github.com/geohot/tinygrad/tree/llvm
- https://github.com/numba/llvmlite
Follow for notifications:
- https://twitch.tv/georgehotz
Support George:
- https://twitch.tv/subs/georgehotz
Programming playlist:
- https://www.youtube.com/playlist?list=PLzFUMGbVxlQs5s-LNAyKgcq5SL28ZLLKC
Chapters:
00:00:00 intro
00:01:00 LLVM=1, no ShapeTracker yet, ethernet wire
00:02:30 defcon sux
00:03:28 llvmlite, event's to replace defcon, Chaos Computer Club (CC…
Watch on YouTube ↗
(saves to browser)
Chapters (37)
intro
1:00
LLVM=1, no ShapeTracker yet, ethernet wire
2:30
defcon sux
3:28
llvmlite, event's to replace defcon, Chaos Computer Club (CCC)
4:05
code for implementing llvm backend, LLVM buffer, processing_op
5:15
tinygrad low level operations
7:14
add and sub could be the same op, could merge some
8:15
4 core ops of tinygrad, matrix multiply, matmul, derivative of convolution
9:36
why isn't tinygrad fast? memory access patterns
10:10
ShapeTracker, segfault
11:25
writing test_add_forward
12:00
LLVM, memory, single thread system
12:25
why it's not working, null pointer
14:00
object has no attribute address
18:26
segfault, cfunctype m1 ctypes
22:18
checking llvmlite version
23:13
cfunctiontype calling
25:20
as_array requires a shape argument
25:38
stupid argtypes
27:45
doing an ADD, a MUL and an NOOP
28:40
the first argument is the return type
29:30
nejintejag get's VIP
30:17
MUL should be OK, this NOOP doesn't work
31:20
shapetracked objects, shape, stride, offset
31:56
test_mul fails, strides 0's
32:08
what to implement today, memory might not be contiguous
32:53
break, more coffee
34:40
ShapeTracker object has not attribute shape_strides
35:08
question about Shape tracker
35:40
working on idx
37:40
rewriting expr, expr junk code
38:14
idx_to_llvm, idx_deref
41:58
don't use print statements for debugging
45:24
llvmlite fadd fmul, fneg
46:55
easy implement sub op
48:19
RELU not implemented
48:30
segfault
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
DeepCamp AI