WEBVTT

1
00:00:00.060 --> 00:00:17.740
[on-hold music] Hey, everyone. Welcome to the Latent Space Podcast. This is Swyx, writer and editor of Latent Space, and Alessio is taking over, uh, with the intros.

2
00:00:17.900 --> 00:00:28.520
Alessio's partner and CTO in residence at Bessemer Partners. Hey, everyone. Today, we have GeoHot on the podcast, AKA George Hotz for the human name. Everybody knows George, so I'm not gonna do a big intro.

3
00:00:28.620 --> 00:00:39.780
A couple of things that people might have missed. So you traded the first-ever unlocked iPhone for a Nissan 350Z and three new iPhones. You were then one of the first people to break into the PS3 around arbitrary code.

4
00:00:40.340 --> 00:00:46.520
Uh, you got sued by Sony. You wrote a rap song to fight against that, which is still live on, on YouTube, which we're gonna have on the show notes.

5
00:00:47.140 --> 00:00:57.160
Did not go to Tesla to build vision, and instead you started Com AI, which was an amazing engineering feat in itself until you got a cease and desist from the government to not put these things on the street.

6
00:00:57.680 --> 00:01:03.560
Turned that into a, a research-only project. Wait, you know they're out there. Yeah, yeah. No, no, no, no. Yeah. [laughs] They're out there, but like in a...

7
00:01:03.580 --> 00:01:11.720
You know, you market them as a research kind of like no warranty. Because I use the word dev kit? That's not about the government. That's nothing to do with the government. We offer a great one-year warranty.

8
00:01:12.460 --> 00:01:24.180
The truth about that is it's gatekeeping. What's the difference between a dev kit and not a get dev kit? Nothing. Just the question of do you think it's for you? And if you think it's for you, buy it.

9
00:01:24.460 --> 00:01:32.160
It's a consumer product. We call it a dev kit. If you have a problem with that, it's not for you. That's great insight. I was going through your blog post to get to today.

10
00:01:32.200 --> 00:01:34.860
You, you've wrote this post about the, the hero's journey. Mm-hmm.

11
00:01:34.940 --> 00:01:48.080
And you linked this thing called The Portal Story, which is kind of this set of stories and movies and books about people living this arbitrary life, and then they run into this magic portals, kind of takes them into a new, very exciting life and dimension.

12
00:01:48.680 --> 00:01:57.440
When you wrote that post, you talked about Tinygrad, which is one of the projects you're working on today, and you mentioned this is more of a hobby, something that is not gonna change the course of history.

13
00:01:57.720 --> 00:02:06.620
Obviously, you're now going full speed into it. [laughs] So we would love to learn more about what was the portal that you ran in to get here. Well, what you realize is...

14
00:02:07.760 --> 00:02:14.340
You know what made me realize that I absolutely had to do the company? Seeing Sam Altman go in front of Congress. Why? What are the odds that they nationalize Nvidia?

15
00:02:14.580 --> 00:02:26.620
You know, what are the odds that large organizations in the government, but of course I repeat myself, decide to try to clamp down on accessibility of ML compute? I wanna make sure that can't happen structurally. Mm-hmm.

16
00:02:26.660 --> 00:02:33.980
So that's why I realized that it's really important that I do this. And actually, from a more practical perspective, I'm working with Nvidia and Qualcomm to buy chips.

17
00:02:34.340 --> 00:02:36.940
Nvidia has the best training chips, Qualcomm has the best inference chips.

18
00:02:37.320 --> 00:02:48.200
Uh, working with these companies is really difficult, so I'd like to start another organization that, uh, eventually in the limit either works with people to make chips or makes chips itself and makes them available to anybody.

19
00:02:48.820 --> 00:02:59.520
You share kinda three core thesis to, to Tinygrad. Maybe we can dive into each of them. So xla, Primetorch, those are the complex instruction system. Tinygrad is the restricted instruction system.

20
00:02:59.580 --> 00:03:08.200
So you're kind of focused on, again, Tinygrad being small, not being overcomplicated, and trying to get as close to like the DSP as possible in a way where it's add more.

21
00:03:08.520 --> 00:03:19.740
Well, it's a very, uh, clear analogy from how processors developed. So a lot of processors back in the day were CISC, complex instruction set, System 360 and then x86. Mm-hmm. Then this isn't how things stayed.

22
00:03:20.100 --> 00:03:31.280
Uh, they went to now the most common processor is Arm, and people are excited about RISC-V, right? No one's excited about-- RISC-V is even less complex than Arm. Mm. Um, no one is excited about CISC processors anymore.

23
00:03:31.360 --> 00:03:39.700
They're excited about reduced instruction set processors. So Tinygrad is, we are going to make a RISC op set for all ML models.

24
00:03:39.840 --> 00:03:50.300
And yeah, it can run all ML models with basically twenty-five instead of the two fifty of XLA or Primetorch. So about 10X less complex. Yeah. You talk a lot about existing AI chips.

25
00:03:50.520 --> 00:03:59.420
You said if you can write a fast ML framework for GPUs, you just cannot write one for your own chip, so that's another one of your core insights. I don't know if you wanna expand on that. Yeah.

26
00:03:59.460 --> 00:04:07.060
I mean, your chip is worse, right? There's no way the chip that you're gonna tape out, especially on the first try, is going to be easier to use than an AMD GPU. Mm-hmm. Right?

27
00:04:07.380 --> 00:04:19.279
And yet there's no good stack for AMD GPUs, so why do you think you can make one for your chip? You can't, right? There's one other company, aside from Nvidia, who's r- succeeded at all at making training chips.

28
00:04:19.579 --> 00:04:32.800
What company? AMD? Intel? No, no, no. I- I've never trained... Who's trained a model on AMD or Intel? Cerebras. Cerebras, uh, I'm talking about you might know some startups who trained models on these chips. Uh- Oh, TPU.

29
00:04:33.280 --> 00:04:42.680
Exactly, TPUs. Yeah, yeah. Yeah. Right? So Midjourney is trained on TPU, right? Yeah. Like, a lot of startups do actually train on TPUs. Uh, and they're the only other successful training chip aside from Nvidia.

30
00:04:43.220 --> 00:04:47.740
But what's unique about Google is that they also wrote their own ML framework, right? Mm-hmm.

31
00:04:47.780 --> 00:04:53.600
And if you can't write your own ML framework that is performant on Nvidia, there's no way you're gonna make it performant on your, on your stuff.

32
00:04:53.600 --> 00:05:02.660
And they started from TensorFlow, and then they, then they made the chip after. Yeah. That's- Exactly. Yeah. Exactly, and you have to do it in that direction. Otherwise, you're gonna end up, you know... Uh, Cerebras?

33
00:05:02.720 --> 00:05:10.340
What? Those things a million... Uh, has anyone... I've, I've never seen a Cerebras. No one's ever like, "Oh, I trained my model on a Cerebras." Most people are like, "I trained my model on GPUs."

34
00:05:10.780 --> 00:05:19.700
Some people, twenty percent, are like, "I trained my model on TPUs." And then the third one, which is the one that surprised me the most, is true incompleteness is harmful- Mm-hmm...and should be avoided.

35
00:05:20.260 --> 00:05:33.320
It made sense once I read it, but maybe tell us a bit more about how you got there. Okay, so CPUs devote tons of their silicon and power to things like reorder buffers- Mm-hmm...

36
00:05:33.420 --> 00:05:43.420
and speculative execution and branch predictors. And the reason that you need all these things is because at compile time, you can't understand how the code's going to run. This is Rice's theorem.

37
00:05:43.460 --> 00:05:51.300
This is the halting problem- Mm-hmm... and its limit. And this is not like, oh, the halting problem is, is theoretical. No, no, no, no. It's actually very real. [laughs] Does this branch get taken or not?

38
00:05:51.760 --> 00:06:00.320
Well, it depends on X. Where does X come from? Yeah, forget it, right? But no branches depend on X in a neural net. Every branch is a static loop. Mm-hmm.

39
00:06:00.340 --> 00:06:07.496
Like, if you're doing a matrix multiply, it's a static loop over the inner dimension. And neural networks are even better. No loads even depend on X. Mm-hmm. Right?

40
00:06:07.716 --> 00:06:15.656
So with a GPU shader, right, you're like, your load might depend on which texture you're actually loading into RAM, but with a neural network, your load is, well, I load that way. Why?

41
00:06:15.676 --> 00:06:23.176
Well, 'cause I load that way the other million times I ran the same net. Every single time you run the net, you do the exact same set of loads, stores, and arithmetic.

42
00:06:23.216 --> 00:06:35.256
The only thing that changes is the data, and this gives you a very powerful ability to optimize that you can't do with, uh, CPU-style things which have branches, and even GPU-style things which have loads and stores.

43
00:06:35.796 --> 00:06:41.056
Well, GPUs, if you want GPU-style stuff, you have, like load based on X, you now need a cache hierarchy. Mm-hmm.

44
00:06:41.136 --> 00:06:47.176
And not a explicit cache hierarchy, an implicit cache hierarchy with eviction policies that are hard-coded into the CPU.

45
00:06:47.236 --> 00:06:54.536
Like, you start doing all this stuff, and you're never gonna get, like, theoretically good performance. Again, I don't think there's 100X.

46
00:06:54.616 --> 00:07:00.736
You know, some startups will talk about 100X, and they'll talk about absolutely ridiculous things like clockless computing or analog computing. Mm-hmm. Okay.

47
00:07:01.216 --> 00:07:11.196
Here, analog computing just won't work, and clockless computing- [laughs]... sure, it might work in theory, but your EDA tools are... Maybe, uh, AIs will be able to design ch- clockless chips, but not humans.

48
00:07:11.696 --> 00:07:17.376
But what actually is practical is changing cache hierarchies- Mm-hmm... and removing branch predictors and removing warp schedulers, right?

49
00:07:17.656 --> 00:07:24.536
GPUs spend tons of power on warp scheduling because we have to hide the latency from the memory. We don't have to hide the latency if everything's statically scheduled. Yeah.

50
00:07:24.976 --> 00:07:29.056
Why do you think people are still hanging on to Turing complete? Well, 'cause it's really easy.

51
00:07:29.456 --> 00:07:37.676
Turing complete is just really easy to just, ooh, you know, it'd just be so nice if I could do like a, like a if statement here, and actually branch the code, right? Mm-hmm.

52
00:07:37.836 --> 00:07:46.396
So i- it requires a lot more thought to do it without Turing completeness. And would this be qualitatively different than TPUs? So TPUs are a lot closer. Yeah.

53
00:07:46.496 --> 00:07:58.396
TPUs are a lot closer to what I'm talking about than, like, CUDA. Okay, so what is CUDA? Well, CUDA is a C-like language which compiles to an LLVM-like IR, which compiles to PTX, which compiles to SAS- Mm-hmm...

54
00:07:58.416 --> 00:08:07.956
which are all Turing complete. TPUs are much more like this, yeah. Their memory is pretty, uh, statically managed. They have a V- I did some reverse engineering on the TPU. It's published in, in Tinygrad.

55
00:08:08.376 --> 00:08:17.516
Uh, it has, like, a VLIW instruction, uh, and it runs them. So it's similar. I think the TPUs have a few problems. I think systolic arrays are the wrong choice. I think they have systolic arrays- Mm-hmm...

56
00:08:17.556 --> 00:08:24.376
because that was the guy's PhD. Right. And of course, Amazon makes- So could, could you summarize systolic arrays for those? Systolic arrays are just, um, okay, so basically you have, like...

57
00:08:24.996 --> 00:08:33.276
This is a way to do matrix multiplication. Uh, think of a grid of mul-adds, and then the grid can multiply and then shift, multiply, then shift, multiply, then shift. Mm-hmm.

58
00:08:33.296 --> 00:08:46.696
And they are very power efficient, but it becomes hard to schedule a lot of stuff on them if you're not doing, like, perfectly sized dense matrix multiplies, which you can argue, well, design your models to use perfectly sized dense matrix multiplies.

59
00:08:46.756 --> 00:08:55.776
Sure. Thanks for indulging on these, uh, explanations. I think we need to keep our audience along with us- Yeah... by s- pausing every now and then to explain key terms.

60
00:08:56.016 --> 00:09:04.296
When I say, uh, explain a systolic array, I just immediately get a picture in my head of, like, tilting a matrix and shifting it. It's, like, hard to kind of explain. Yeah. Yeah, yeah. We'll do some- Um-...

61
00:09:04.336 --> 00:09:08.356
obviously, that your, your hand motions... we'll have, we'll have show notes with, uh- And, and we edit, we edit in visuals. Yeah, yeah.

62
00:09:08.396 --> 00:09:16.776
There's some great graphics that just show you, oh, so that's what a systolic array is. But it's a mul-add shift machine that looks kinda different from the ty- typical, like, ALU sorta machine.

63
00:09:16.996 --> 00:09:28.116
I think the right answer is something that looks more like queues that feed into ALUs, and then you can, like, prefetch the loads from the memory, put in a bunch of queues, and then the queues just, like and feeds into another queue over here.

64
00:09:29.096 --> 00:09:36.756
But yeah, uh, but that, that's not even the main problem with TPUs. The main problem with TPUs is that they're closed source. Mm-hmm. Not only is the chip closed source, but all of...

65
00:09:37.136 --> 00:09:45.216
XLA is open source, but the XLA to TPU compiler is a thirty-two megabyte binary blob called Lib TPU on Google's cloud instances. All right? It's all closed source.

66
00:09:45.276 --> 00:09:53.896
It's all hidden stuff and, you know, well, there's a reason Google made it closed source. Amazon made a clone of the TPU. It's called Inferentia, um, or they have some other name for it at training, but- Trainium, yeah.

67
00:09:54.096 --> 00:10:00.356
Trainium, yeah, yeah, yeah. And you go, "Look, it's a clone of the TPU." [laughs] Like, Google software at least kinda works. So those are kinda, like, the three-quarter thesis.

68
00:10:00.576 --> 00:10:09.776
The first thing you're working on, that you've been working on is Tinygrad. And one of the, your Twitch streams, you said it's the, the best thing you've ever written. Yeah, tell us a bit more about that creation.

69
00:10:10.696 --> 00:10:18.776
For a long time, Tinygrad had a hard limit at 1,000 lines of code, and what this would force you to do is really make sure you were not wasting lines.

70
00:10:19.436 --> 00:10:32.516
I got rid of the restriction because it became a little code golfy at the end, but once, like, the core framework of Tinygrad was there in those 1,000 lines, but, like, the core framework, the ideas are expressed with no boilerplate.

71
00:10:33.076 --> 00:10:43.396
If you go read PyTorch, you know, PyTorch I think is actually pretty good code. I think Facebook's pretty good, but there's so much boilerplate. Mm-hmm. Go in PyTorch and try to track down how an ALU actually works.

72
00:10:43.996 --> 00:10:52.976
Just a lot of distractions. Oh, you're gonna be diving down a, a long stack from Python to C to custom libraries to dispatchers to... And then I don't even know how to read TensorFlow.

73
00:10:53.136 --> 00:11:00.876
Like, I don't even know where, where's an ALU in TensorFlow. Mm-hmm. No- nobody knows. Someone at Google knows, maybe. Google as an organism knows. I don't know if anyone individual at Google knows.

74
00:11:00.876 --> 00:11:10.516
[laughs] What are, like, the important ergonomics, like, for a developer as you think about designing the Tinygrad API? So the Tinygrad front end looks very similar to PyTorch.

75
00:11:10.936 --> 00:11:18.176
There's an even higher level front end you can use for Tinygrad, which is just ONNX. Mm-hmm. We have better support for ONNX than Core ML does. Um, and we're going to have...

76
00:11:18.236 --> 00:11:25.996
I think we're gonna pass ONNX Runtime soon too. And, like, people think ONNX Runtime, that's the gold standard for ONNX. No, you can do better. Pass them in what, specifically? Um, test, compliance tests.

77
00:11:26.476 --> 00:11:34.876
So ONNX has a big set of compliance tests that you can check out, and we have them running in Tinygrad, and there are some failures. Um, we're below ONNX Runtime, but we're beyond Core ML.

78
00:11:35.196 --> 00:11:43.296
So, like, that's, like, where we are in ONNX support now, but we will pass, we will pass ONNX Runtime soon, uh, because it becomes very easy to add ops because you don't need to do anything at the lower levels.

79
00:11:43.616 --> 00:11:49.636
You just do it at this very high level, and Tinygrad compiles that to something that's fast using these minimal ops with... You can, like, write...

80
00:11:50.056 --> 00:11:56.576
Most concretely, what, what Tinygrad can do that, like, PyTorch can't really do is if you have something like A times B plus C, right?

81
00:11:57.396 --> 00:12:09.468
If you write that in naive PyTorch, what it's going to do on the GPU is, well, read A, read B in a kernel and then store A times B in memory, and then launch another kernel to do A times B- Plus C.

82
00:12:09.948 --> 00:12:17.448
Okay, gotta do those loads from memory. And now I did a whole extra round trip to memory that I just didn't have to do. Mm-hmm. And you're like, "Yeah, but you can use the Torch JIT, and it corrects this."

83
00:12:17.768 --> 00:12:26.828
Yeah, for that one example, for that one example of mul_acc. But, oh, now you did three multiplies, six multiplies. It won't compile arbitrary code.

84
00:12:27.048 --> 00:12:36.708
And have you looked into, like, the other approaches, like PyTorch Lightning, um, it-- to accelerate PyTorch itself? Well, PyTorch Lightning, my understanding is it's a mostly a framework around PyTorch, right?

85
00:12:36.828 --> 00:12:45.028
PyTorch Lightning is not gonna fix this fundamental problem of I multiply six tensors together, why is it going to memory any more than a single read from each and a single write to the output?

86
00:12:45.268 --> 00:12:53.628
There are lower-level things in PyTorch that are... I'm not exactly sure what Dynamo does, but I know they're generating some Triton stuff, which is gonna generate the kernels on the fly.

87
00:12:54.048 --> 00:13:02.088
But you know, P-PyTorch Lightning is, is at a, is at a higher level of abstraction. So Tinygrad's front-end stuff looks like PyTorch. I made a few tweaks. There's a few things I don't like about PyTorch.

88
00:13:02.168 --> 00:13:10.928
Why is Relu a class? [chuckles] No, really. W-what is the state? As, uh, you, you make a class when there's a state. Everything should just be torch.functional.nn.relu, but just.relu on the tensor.

89
00:13:11.328 --> 00:13:20.848
Also, like, there's things in Torch where you have to do tensor. and not a tensor., right? Mm. It just shows an API that's, like, not perfectly refined.

90
00:13:21.408 --> 00:13:25.268
But when you're doing stuff Tinygrad style, where you don't have lines, well, it has to work this way. Mm.

91
00:13:25.488 --> 00:13:37.128
Because even the lines to express the, well, you can't use the where operator unless-- and the where operator in PyTorch, why is it true case, condition, false case? Ugh, the worst.

92
00:13:37.168 --> 00:13:49.088
That's, like, how Python expresses ifs. It's disgusting, right? Ternary operators are much nicer. It should be, I can do my, like, a less than zero.where a, one, right? Mm-hmm. The very Pandas, uh, like API.

93
00:13:49.248 --> 00:13:59.088
Yeah, yeah, yeah, yeah, yeah. It looks like Torch, NumPy, Pandas. They're all very similar. I tried to take, like, the cleanest subset of them and express them. But like I said, you can also interact with it using Onyx.

94
00:13:59.668 --> 00:14:06.068
I have a rewrite of Stable Diffusion, I have a rewrite of Llama, I have a rewrite of Whisper. You can look at them. They're shorter than the Torch version, and I think they're cleaner. You stream them all. Yeah.

95
00:14:06.348 --> 00:14:16.488
Very nice. Laziness is kinda the other important concept that you're leveraging to do operation fusing. Yeah. You have basically, like, a few different, like, models for... The simplest one is Eager.

96
00:14:16.548 --> 00:14:27.048
As, as soon as the, the, uh, interpreter or... sees a times b, it actually dispatches a times b, right? Then you have graph, like, uh, TensorFlow- Mm...

97
00:14:27.108 --> 00:14:38.428
which will put a times b into a graph, and then will do absolutely nothing until you actually compile the graph at the end. I like this third choice, which is somewhere in the middle, laziness.

98
00:14:39.068 --> 00:14:43.528
Laziness is you don't know when the ops are gonna dispatch, and don't worry about that. You don't have to worry about this as a programmer.

99
00:14:43.828 --> 00:14:50.548
You just write out all your stuff, and then when you actually type.numpy, it'll be ready by the time you, you know, copy the thing back to CPU.

100
00:14:51.088 --> 00:15:01.188
Or you can do.realize, and it will actually, like, force that tensor to be allocated in RAM. Mm-hmm. And if you think about it, PyTorch is kind of lazy in a way, but they didn't extend the paradigm far enough, right?

101
00:15:01.508 --> 00:15:10.328
When I do a times b in PyTorch, it's going to launch a CUDA kernel to do a times b, but it's not gonna wait for that CUDA kernel to complete. So you're getting the worst possible world.

102
00:15:10.388 --> 00:15:19.188
You're getting the same laziness, but you also can't get fusion because- Mm-hmm... PyTorch doesn't know that I'm then gonna do plus C. There's no way for it to be like, "Whoa, whoa, whoa, don't launch that CUDA kernel.

103
00:15:19.228 --> 00:15:27.968
Whoa." Mm-hmm. "Just do this one too," right? Again, PyTorch is working on this and, uh, you know, it's, it's a little bit harder. Like, in Comma, I felt like I was competing against a lot of idiots.

104
00:15:28.488 --> 00:15:35.808
Here, I'm competing against, you know- Smart-... smart, smart, very smart people who've made- Programming language, compiler people. Yeah. Who, who've made some, I think, different trade-offs.

105
00:15:36.128 --> 00:15:44.728
Whereas if you're trying to build something that is just straight-up good on NVIDIA, and we have a lot of people and complexity to throw at it, yeah, PyTorch made a lot of the right choices.

106
00:15:45.208 --> 00:15:53.828
I'm trying to build something that manages complexity. Like, you can always make your software do more. The magic is when you can make your software do more without adding complexity, right?

107
00:15:54.288 --> 00:16:04.628
Because, you know, complex things eventually collapse under their own weight, so it's kind of a... How does fusing actually work? There's this thing called lazy.py, and when you do, like, a times b, that's, uh...

108
00:16:04.668 --> 00:16:15.648
It's put into a graph, but it's a very, uh, local graph. Mm-hmm. There's no global graph optimizations. And even this can change, right? Again, like, the programming model for Tinygrad does not preclude eagerness, right?

109
00:16:15.668 --> 00:16:25.227
Mm-hmm. Laziness is not guaranteed laziness. Hmm. It's just gonna try its best. So you put in a times b, and that's a binary op, right? And then you put in a times b, like, that's a node in the graph.

110
00:16:25.268 --> 00:16:33.908
It's a virtual node 'cause it's not realized yet. Plus c, okay, here's a new node, which takes the c tensor in here and takes the output of a times b. It's like, whoa, wait, there's two binary ops.

111
00:16:34.288 --> 00:16:43.468
Okay, we'll just fuse those together. Mm-hmm. Okay, here I have a kernel. This kernel has a, b, and c as inputs. It does a times b plus c in the local registers and then outputs that to memory.

112
00:16:43.988 --> 00:16:53.408
And you can graph.one in Tinygrad. Another, like, amazing thing that Tinygrad has that I've not seen in any other framework is two things. Graph equals one, which is an environment variable.

113
00:16:53.668 --> 00:17:02.068
It will output a complete graph- Mm-hmm... of all the operations. Um, people are like, "Oh, you can use PyTorch, export it to Onyx, and use Netron." Yeah, you can, but, like, [chuckles] what? Yeah.

114
00:17:02.108 --> 00:17:06.668
Y- that's not what's real. Right, graph.one will show you the actual kernels that were dispatched to the GPU.

115
00:17:07.448 --> 00:17:18.388
You can also type debug equals two, which will print those kernels out in your command line, and it will sh- tell you the exact number of flops and the exact number of memory accesses in each kernel.

116
00:17:18.888 --> 00:17:26.768
So you can immediately see, wait a second, okay, this kernel used this many flops. This was the giga flops. This is how many bytes it read, and this was the gigabytes per second.

117
00:17:27.088 --> 00:17:35.768
And then you can profile without having to, like... Okay, I mean, in theory, in PyTorch, sure, use the NVIDIA Insight Profiler, which- No one does that. No one does, of course- No one does that...

118
00:17:35.808 --> 00:17:41.268
because it's so difficult, right? Like, like, actually, NVIDIA used to, uh, I think CUDA 9 was the last one that had it.

119
00:17:41.488 --> 00:17:50.688
They had a command line one, but now [chuckles] it's like, okay, I'm gonna generate this blob, use this NVIDIA GUI tool to convert it into a Chrome trace, and then load it in Chrome. Yeah. Yeah, no one does it, right?

120
00:17:51.048 --> 00:17:58.548
Um, just type debug equals two in any Tinygrad model, and it will show you all the kernels that it launches and the efficiency of each kernel, basically. Yeah.

121
00:17:58.588 --> 00:18:06.528
This is something that John Carmack has often commented about, is that when you code, you need to build in your instrumentation or observability right into that.

122
00:18:06.748 --> 00:18:16.576
I wonder if whatever John is d- working on, he's adopting this style. And, uh, maybe we can sort of Encourage it by, I don't know, s- naming it and coining it as certain kind of debugging style.

123
00:18:16.796 --> 00:18:23.736
If you would like to start contributing to Tinygrad, I'd be, uh- You should hook up with him. I'd be so happy. What's he- I've, I've cha- chatted with him a few times. I'm not really sure what his company's doing.

124
00:18:23.816 --> 00:18:35.256
But no, I mean, hopefully, like, we get Tinygrad to a point where people actually want to start using it. So Tinygrad right now is uncompetitive on, uh... It's uncompetitive on Nvidia and it's uncompetitive on x86.

125
00:18:35.976 --> 00:18:42.036
Yeah- And specifically, what do you care about when you say uncompetitive? Uh, speed. Okay. Straight up speed. It- it's correct. The correctness is there.

126
00:18:42.076 --> 00:18:50.036
The correctness for both forwards and backwards passes is there, but on Nvidia, it's about 5X slower than PyTorch right now. You're like, "5X, wow, this is, this is unsurmountable." Mm-hmm.

127
00:18:50.476 --> 00:19:00.136
No, there's reasons it's 5X slower, and I can go through how we're gonna make it faster, and it used to be, you know, 100X slower, so you know, we're making progress, but there's one place where it actually is competitive, and that's Qualcomm GPUs.

128
00:19:00.696 --> 00:19:10.056
Uh, so Tinygrad is used to run the model in OpenPilot. Like right now, it's been live in production now for, for six months. Mm-hmm. Um, and Tinygrad is about 2X faster on the GPU than Qualcomm's library.

129
00:19:10.396 --> 00:19:16.796
What about Qualcomm ar- architecture? Oh, what, what makes it doable? Yeah, yeah. Well, because the world has spent how many millions of man-hours- Sure, okay [laughs]... to make Nvidia fast?

130
00:19:17.016 --> 00:19:26.636
And Qualcomm has a team of 10 Qualcomm engineers? Okay, well, who can I beat here? Let's... Like, like, what I propose with- [laughs]... what I propose with Tinygrad is that developer efficiency is much higher.

131
00:19:26.976 --> 00:19:34.376
But even if I have 10X higher developer efficiency, I still lose on Nvidia, right? You know, okay, I didn't put 100,000 man-hours into it, right? Mm-hmm.

132
00:19:34.516 --> 00:19:44.116
If they put a million, like, like, that's what I'm saying, but that's what I'm saying we can get. And we are gonna close this speed gap a lot. Like, I don't support Tensor cores yet. That's a big one- Mm-hmm...

133
00:19:44.136 --> 00:19:53.376
that's just gonna, okay, massively close the gap, and then AMD. I don't even have a benchmark for AMD because I couldn't get it compiled. Mm-hmm. Oh, and I tried. Oh, I tried. I spent a day.

134
00:19:53.736 --> 00:19:57.856
Like, I spent actually a day trying to get PyTorch and I got it built.

135
00:19:57.936 --> 00:20:06.916
I got it kind of working, then when I tried to run a model, like, there's all kinds of weird errors, and the, and the rabbit hole is just so deep on this. I'm like, you know, you can compare the speed.

136
00:20:06.956 --> 00:20:13.196
Right now, you can run Llama, you can run anything you want on AMD. It already all works. Any OpenCL backend works, and it's not terribly slow.

137
00:20:13.376 --> 00:20:22.276
I mean, it's a lot faster than crashing, so it's, uh, infinitely times faster- [laughs]... than PyTorch on AMD. Um, but pretty soon we're gonna start getting close to theoretical maximums on AMD.

138
00:20:22.336 --> 00:20:26.476
That's really where I'm pushing, and I wanna get AMD on MLPerf in a couple months, hopefully. Mm-hmm.

139
00:20:26.716 --> 00:20:41.556
Now that you bring up AMD- Yeah, let's dive into that because when you announced the TinyCorp fundraise, you mentioned one of your first goals is, like, build the framework runtime and driver for, for AMD, and then on, on June 3rd on Twitch, you weren't as excited about AMD anymore.

140
00:20:41.876 --> 00:20:51.596
Maybe let's talk a bit about that and, like, uh, you compared the quality of, like, commit messages from, like, the AMD kernel to, like, the Intel work that people are doing there. What's important to know?

141
00:20:51.936 --> 00:20:56.136
When I said I wanted to w- I wanna write a framework, I didn't never intended on writing a kernel driver. Mm-hmm.

142
00:20:56.156 --> 00:21:06.176
[laughs] I mean, like, I flirted with that idea briefly, but, like, realistically, like there's three parts to it, right? There's, like, the ML framework, there's the driver, and then there's the user space runtime.

143
00:21:06.716 --> 00:21:16.596
I was even down to rewrite the user space runtime. I have a GitHub repo called cuda-io-ctl-sniffer. It's terribly called, but you can actually launch a CUDA kernel without CUDA. Uh, so you don't need CUDA installed.

144
00:21:16.896 --> 00:21:27.156
Just the Nvidia open source driver and this open source repo can launch a CUDA kernel. That's cool. So rewriting the user space runtime is doable. Mm-hmm. Rewriting the kernel driver, I don't even have docs.

145
00:21:27.236 --> 00:21:34.716
I don't have any docs for the GPU. Like, it would just be a massive reverse engineering project. I wasn't complaining about it being slow. I wasn't complaining about PyTorch not compiling.

146
00:21:34.776 --> 00:21:42.156
I was complaining about the thing crashing my entire computer. It panics my kernel, and I have to wait five minutes while it reboots because it's a server motherboard and they take five minutes to reboot.

147
00:21:42.716 --> 00:21:49.516
So I was like, "Look, if you guys do not care enough to get me a decent kernel driver, there's no way I'm wasting my time on this, especially when I can use Intel GPUs."

148
00:21:50.036 --> 00:21:59.356
Intel GPUs have a stable kernel driver, and they have all their hardware documented. You can go and you can find all the register docs on Intel GPUs. So I'm like, "Why don't I just use these?"

149
00:21:59.416 --> 00:22:04.356
Now, there's a downside to them. Their GPU is $350, and you're like, "What a deal, it's $350."

150
00:22:04.416 --> 00:22:10.736
Yeah, well, you get about $350 worth of performance, and if you're paying about four hundred for the PCIe slot to put it in, right? Like between the power and- Mm-hmm...

151
00:22:10.796 --> 00:22:23.256
and all the other stuff, you're like, "Okay, never mind. You gotta use Nvidia or AMD from that perspective." But I sent an email to Lisa Su and she responded. Nice. Oh. And I've had a few calls since. Ooh.

152
00:22:23.296 --> 00:22:31.056
And like, what I tried to do-- First off, like, thank you for responding. It shows me that, like, like if you don't care about your kernel panicking, I, I can't. Like, like this is- Mm-hmm...

153
00:22:31.076 --> 00:22:40.356
just a huge waste of my time, right? I'll find someone who will care. I'm not asking for your seven by seven Winograd convolution when transposed to be fast. Like, I'm not asking for that.

154
00:22:40.416 --> 00:22:50.576
I'm asking literally for- The basics of getting it running... to not die. Oh, and this isn't Tinygrad. This is your demo apps. I ran their demo apps in loops and I got kernel panics. Hmm. I'm like, [laughs]

155
00:22:50.696 --> 00:23:00.656
you know, okay, there's a... But no, uh, Lisa Su reached out, connected with a whole bunch of different people. Uh, they sent me a pre-release version of ROCm five point six.

156
00:23:00.736 --> 00:23:07.996
They told me, "You can't release it," which I'm like, "Guys, why do you, why do you care?" But, um, they say they're gonna release it by the end of the month, and it fixed the kernel panic.

157
00:23:08.376 --> 00:23:14.656
The guy managed to reproduce it, uh, with the two GPUs in the computer, and yeah, sent me a driver and it works.

158
00:23:15.256 --> 00:23:22.916
I had that experience, and then I had another experience where I had two calls with, like, AMD's, like, communication people, and just like, I tried to explain to these people, like, open source culture. Mm-hmm.

159
00:23:22.956 --> 00:23:32.796
Like, it's not open source if you dump the source code on a GitHub repo and then forget about it until the next release. It's not open source if all your issues are from twenty twenty-two.

160
00:23:33.056 --> 00:23:40.076
Like, like, like it's just no one's gonna contribute to that project, right? Sure, it's open source in a very, like, technical sense. To be fair, it's better than nothing.

161
00:23:40.496 --> 00:23:49.356
It's better than nothing, but I fixed a bug in NCCL, and I fixed a... There's a fun fact, by the way. If you have a consumer AMD GPU, they don't support peer-to-peer. Hmm.

162
00:23:49.516 --> 00:23:58.696
And their all-reduce bandwidth is horrendously slow because it's using CUDA kernels to do the copy between the GPUs, and it's putting so many transactions on the PCIe bus that it's really slow. It is, mm-hmm.

163
00:23:58.796 --> 00:24:10.076
But you can use cudaMemcpy, and there's a flag to use cudaMemcpy, but that flag had a bug. I posted, uh, the issue on NCCL. I expected nothing to happen. The Nvidia guy replied to me within an hour.

164
00:24:10.116 --> 00:24:19.036
He's like, "Try this other flag." I'm like, "Okay, I tried the other flag. It still doesn't work, but here's a clean repro." And I spent like three hours writing a very clean repro.

165
00:24:19.608 --> 00:24:27.708
Um, I ended up tracking the issue down myself, but just the fact that somebody responded to me within an hour and cared about fixing the issue- Mm-hmm. Okay, you've shown that it's worth my time. Mm-hmm.

166
00:24:27.728 --> 00:24:36.628
And I will put my time in because, like, let's make this better. Like, I'm here to help. Um, but if you show me that, you know, you're like, "Yeah, the kernel panics, that's just, like, expected." Okay.

167
00:24:36.868 --> 00:24:44.728
[laughs] Well, it sounds like AMD is getting the message. They are, and I just... I don't really think they've had someone explain to them, like, like I s- I was like, "You gotta, like, build in public."

168
00:24:44.908 --> 00:24:52.528
And they're like, "What's an example of building in public?" I'm like, "Go look at PyTorch. Go look at PyTorch." I have, I have two minor things merged into PyTorch because it's very responsive, you know?

169
00:24:53.188 --> 00:25:01.528
So that's kinda like the lowest level of the stack, and then at a slightly higher level, obviously, there's TinyGrad, there's Mojo, there's GGML. Mm-hmm.

170
00:25:01.548 --> 00:25:11.508
How are you thinking about breadth versus, like, depth and, like, where you decided to focus early on? So GGML is very much like a, okay, everyone has M1s, right? Mm-hmm. Actually, I, I was thinking...

171
00:25:11.548 --> 00:25:19.108
In the beginning, I was thinking of something more like GGML focused on the M1s, but GGML showed up and was just like, "We're actually just focusing on the M1s."

172
00:25:19.708 --> 00:25:28.488
And actually, M1 PyTorch is considerably better than AMD PyTorch. M1 PyTorch works. It only gives wrong answers sometimes, and it only crashes sometimes, but, like, some models kinda run.

173
00:25:29.008 --> 00:25:37.728
When I was writing the, uh, metal back end, I was comparing to MPS PyTorch, and I had, like, a discrepancy. Like, TinyGrad checks all its outputs compared to Torch, and I had one where it didn't match.

174
00:25:38.068 --> 00:25:46.328
I'm like, "I've checked the matrix by hand. It matches TinyGrad. I, I don't understand." And then I switched PyTorch back to CPU, and it matched, and I'm like, "Oh."

175
00:25:46.908 --> 00:25:54.428
Well, there's, like, bugs, like, if you, like, transpose the matrix because, like, I think this, like, has to do with, like, multi-views in PyTorch and, like, weird under-the-hood stuff that's not exposed to you.

176
00:25:54.468 --> 00:26:02.648
Like, there, there's bugs and maybe they fixed them, but, like, you know, it seems like there was a lot of momentum, again, because you're getting... How many engineers care about making PyTorch work on M1? Right?

177
00:26:02.828 --> 00:26:10.908
Thousands. Tens of thousands. Yeah. And you have an open development process, and- Yeah... guess what? It's gonna be good. How many engineers care about AMD working, [laughs] PyTorch AMD working?

178
00:26:11.648 --> 00:26:20.708
Well, you got 10 guys that work for AMD [laughs] and then, like, a couple hobbyists. You revealed a, an interesting detail about how you debug. You hand-check the matrix math? No, I don't hand-check it.

179
00:26:20.748 --> 00:26:33.448
One of the best tests in TinyGrad is a file called test-ops.py. Uh-huh. And it's just 100 small examples written in TinyGrad and PyTorch, and it checks- Mm... both the forwards and backwards to make sure they match.

180
00:26:34.188 --> 00:26:41.748
Good test suite. Yeah. Very important. That's, I mean, that's one of them where you, like... I, I really, I put a lot of effort into CI for TinyGrad. I think CI is super important.

181
00:26:41.788 --> 00:26:46.348
Like, I want that green check to mean I can merge this. Yeah. Right? Like, I don't want my tests to...

182
00:26:46.368 --> 00:26:55.108
And if the green check, if you somehow manage to introduce a bug and get the green check, okay, we're fixing the test, top priority. Uh, Mojo, it's closed source. No, I'm not that interested, you know what I mean? Yeah.

183
00:26:55.128 --> 00:26:57.188
Like, like, look, I, I, I like Chris Lattner.

184
00:26:57.248 --> 00:27:05.608
I, I think he's gonna do great things, and I understand the, uh, the, like, kind of the wisdom even in keeping it closed source, but, uh, you know, I'm interested when it's open. Yeah.

185
00:27:05.688 --> 00:27:11.248
You have an interesting design deviation from him 'cause he's decided to be a, well, promised to be- Yes... a superset of Python. Yes.

186
00:27:11.608 --> 00:27:18.428
And you have decided to break, uh, with, with PyTorch APIs, and I think that's, that affects learnability and, and transportability of code.

187
00:27:18.888 --> 00:27:27.308
You know, if the PyTorch thing ends up being, like, a, like, a stumbling block, I could write a perfect PyTorch.

188
00:27:27.688 --> 00:27:36.428
Instead of import PyTorch, uh, instead of, like, yeah, import torch, you type import tinytorch as torch, and if that really becomes the stumbling block, I, I will do that.

189
00:27:36.888 --> 00:27:45.808
No, Chris Lattner went much further than PyTorch. Mm. Replicating the PyTorch API is something I can do with a couple, you know, like, an engineer-month or two. Like a shim. Right? Like a shim, yeah.

190
00:27:46.088 --> 00:27:58.748
Um, replicating Python? [laughs] There's a, there's a, there's a big graveyard of those projects. How's, how's, uh, how's Piston going? How's, oh, Jython? Uh, PyPy? Yeah, you can go back. Yeah, yeah. It's all...

191
00:27:58.828 --> 00:28:09.508
You can go way back. So your core mission is, uh, commoditizing the petaflop, and then your business goal is to sell computers for more than it costs to make, which seems super reasonable. [laughs] What are...

192
00:28:09.528 --> 00:28:19.128
And you're gonna have three TinyBoxes? Red- No, no, no, no, no, no, no, no... green, blue? That was my... Look, you know, a lot of people... Like, I love, you know, leaning into, like, saying I'm giving up, right?

193
00:28:19.188 --> 00:28:25.168
It's great to give up, right? Giving up is this wonderful thing. It's so liberating. Uh-huh. And then, like, you can decide afterward if you really give up or not.

194
00:28:25.308 --> 00:28:34.548
There's very little harm in saying you give up except, like, you know, great, Twitter haters have something to talk about, and all press is good press, kids, so. Just red. Only red. Yeah. TinyBox Red. TinyBox Red.

195
00:28:34.688 --> 00:28:40.908
Unless AMD, you know, upsets me again, and then we're, you know, we're back to- Yeah... we're back to other colors. [laughs] We have other colors to choose from.

196
00:28:41.948 --> 00:28:51.768
When you think about hardware design, what are some of the numbers you look for? So teraflops it's, per second is one, but, like, memory bandwidth is another big limiter. Like, how do you make those trade-offs?

197
00:28:52.648 --> 00:28:55.148
Well, I mean, fundamentally, I'm limited to what GPUs I can buy.

198
00:28:55.428 --> 00:29:06.368
But, uh, yeah, for something that I think a lot of people are going to wanna reasonably do with, um, a coworker of mine described them as luxury AI computers, right? Like, luxury AI computers- Mm-hmm...

199
00:29:06.428 --> 00:29:15.608
for, for people, and that's, like, what we're building, and I think a common thing people are gonna wanna do is run, like, large Llama, right? Or large, like, Falcon or whatever. FP16 Llama. FP16, exactly, exactly.

200
00:29:15.688 --> 00:29:23.548
Um, you know, I, Int8, I think, can work. I think that, like, what GGML is doing to go to, like, Int4, like, this doesn't work. Like, have you done...

201
00:29:23.688 --> 00:29:30.968
And maybe they have, but, like, I, I read what it was, and I was like, "This isn't from any paper. This is just some..." Like, you, you made- Squeezing as much as possible.

202
00:29:31.048 --> 00:29:39.608
Yeah, you made up some quantization standard to make it run fast, and, like, like, maybe it works, but okay, where's, like, the Hellaswag number, right? Where's your, uh- The thesis is right-... BigBench...

203
00:29:39.648 --> 00:29:44.808
that, like- Yeah... if you have hundreds of billions of parameters, that the individual quantization doesn't actually matter that much.

204
00:29:45.028 --> 00:29:53.008
Well, the real way to look at all of that is to just say you wanna compress the weights, right? It's a form of weight compression. Quantization is a form of weight compression, right? Now, this is obviously not lossless.

205
00:29:53.068 --> 00:29:54.088
It's not a lossless compressor, right?

206
00:29:54.128 --> 00:30:03.568
If it's a lossless compressor and you can show that it's correct, then okay, we don't have to have any other conversation, but it's a lossy compressor, and how do you know that your loss isn't actually losing the power of the model?

207
00:30:03.888 --> 00:30:10.268
Maybe Int4 65B Llama is actually the same as FP16 7B Llama, right? Uh, we don't know.

208
00:30:10.588 --> 00:30:19.108
Uh, maybe someone has done this yet, but I looked for it when it, like, first came out and people were talking about it, and I'm like, it's not from a paper, right? The Int8 stuff is from a paper where they...

209
00:30:19.208 --> 00:30:29.028
Like, some of the Int8 stuff is from a paper. Mm-hmm. There's one paper, I think it's, like, Int8, llm.int8, where they actually do all the tests, and they didn't go fully Int8.

210
00:30:29.438 --> 00:30:38.658
They made like 90% of it int8 and kept like 10% of it in FP16 for what they called like the, like outliers or whatever. So I think that this is not quite so easy, and I think being able...

211
00:30:38.878 --> 00:30:46.898
Well, so first off, if you're training, no one's gotten training to work with int8 yet. There's a few papers that vaguely show it, but if you're training, you're gonna need BF16 or, or float16.

212
00:30:47.458 --> 00:30:56.238
So this is why I target that. Now, the thing that you're gonna wanna do is run these large language models out of the box on your hardware in FP16, and that's memory bandwidth. So- Mm.

213
00:30:56.578 --> 00:31:01.737
You need large amounts of memory bandwidth too. Uh, so ask how I trade off memory bandwidth and flops. Well, what GPUs can I buy?

214
00:31:02.138 --> 00:31:11.158
So first of all, you have this hiring process, which is you gotta solve one of the bounties that are open on Tinygrad. There's no, uh, technical interview. One of them is int8 support.

215
00:31:11.198 --> 00:31:22.898
Do you already have some things you wanna test on? We have int8 support. What I'd like to see somebody do is just load the GGML int8 Llama into Tinygrad and then benchmark it against the FP16 one.

216
00:31:23.158 --> 00:31:28.558
Int8 already works in, in Tinygrad. It doesn't actually do the math in int8. It does all the math still in FP32. Mm-hmm.

217
00:31:28.598 --> 00:31:32.918
So int8 can mean you just have your weights in int8, or int8 can mean you actually do your math in int8.

218
00:31:33.238 --> 00:31:45.478
And doing your math in int8, the big, like, gain that people care about is actually having your weights in int8, because weights in int8 mean less memory and less memory bandwidth. Whereas the math, keep it in FP32.

219
00:31:45.838 --> 00:31:55.758
With... On, on M1s, it doesn't matter what data type you're doing in the, for the, in the GPO. I, I'm not even sure it can do int8, but FP16 and FP32 is the same teraflops. So yeah, no, that's one of the bounties.

220
00:31:55.818 --> 00:32:00.598
One of the bounties is get, get int8 Llama running with the int8 weights, and then- Mm-hmm...

221
00:32:00.678 --> 00:32:11.738
actually, what you could even do, if you really wanna test this, just take the FP16 weights, convert them to int8, then convert them back to FP16, then compare the unconverted and converted. Oh, that's a nice hack. Oh.

222
00:32:11.998 --> 00:32:20.978
Right? Yeah. Right? Like, like, like- This should be lossless in the other direction. Yeah. I think FP16, it should be lossless in the other direction. I'm actually not 100% about that. Why not?

223
00:32:21.498 --> 00:32:29.578
Oh, 'cause like, you ever try to like... Like, if you wanna represent... If it was like int16, it's not lossless. Sure. I think all of int8 can be represented in FP16, but I'm not 100% about that.

224
00:32:29.918 --> 00:32:38.318
Just draw up the bytes and [laughs] We just have to do it, right? [laughs] Just literally do it. There, there's only 256 to check, like. But yeah, either way, or I mean, int4 definitely.

225
00:32:38.677 --> 00:32:48.338
So do your int4, convert it back, and now see even with int4 weights and FP32 math, like, okay, how much does your performance degrade of this model? I think, like, the...

226
00:32:48.878 --> 00:32:58.998
You're planning to release the first Tinybox, ship them in like two to six, eight months, something like that. What's top of mind for you in terms of building a team? Who should-- Who are you calling for?

227
00:32:59.738 --> 00:33:08.998
So if the GPU is picked out, and you're like, "Well, I could make that computer with the GPUs." And my answer is, can you? Do you know how hard it is to put six GPUs in a computer?

228
00:33:09.758 --> 00:33:17.298
And people think it's really easy, and it's really easy to put one GPU in a computer. Mm-hmm. Done it. It's really easy to put two GPUs in a computer, but now you wanna put in eight.

229
00:33:17.558 --> 00:33:24.998
Okay, so I'll tell you a few things about these GPUs. They take up four slots. You can buy the nicest Supermicro. You can't put eight of those in there. You need two-slot blowers. Mm.

230
00:33:25.078 --> 00:33:32.258
If you wanna use one of those, those 4U Supermicros, you need two-slot blowers. Right? Or water cooling, right? If, if you're trying to get the four-slot cards in there, you're gonna need some form of water cooling.

231
00:33:32.358 --> 00:33:41.098
There are some, like, Chinese 4090s that are blowers, right? You either need blowers or water cooling if you're trying to get it in those things, right? So you, are you doing water? No, I'm not using that chassis. Okay.

232
00:33:41.338 --> 00:33:48.038
So now you wanna get six GPUs in a computer, so that's a big challenge. And you're like, "Oh, I'll just use, uh, PCIe extenders. I saw it online as Tech Tips. It works great." No, it doesn't.

233
00:33:48.118 --> 00:34:00.118
[laughs] Try PCIe extenders that work at PCIe 4.0, and interconnect bandwidth's super important. They don't work at 3.0. No PCIe extender I've tested, and I've bought 20 of them, uh, works at PCIe 4.0.

234
00:34:00.498 --> 00:34:11.538
So you're gonna need PCIe redrivers. Now, okay, how much is that adding cost, right? Like, these things all get really hard, and then Tinybox, I've even added another constraint to it. I want this thing to be silent.

235
00:34:11.838 --> 00:34:21.418
Not totally silent, but my limit is like 45, maybe 50 dB, but not... Supermicro machine, 60 dB. [laughs] We have a small-- We have a compute cluster at comma.

236
00:34:21.718 --> 00:34:28.718
Oh, you gotta wear, you gotta wear ear protection to go in there, like it's- Yeah, I've seen some videos where you give a tour. Oh, yeah. It's, yeah. It's super- Noisy... super loud. Yeah.

237
00:34:28.778 --> 00:34:34.198
You got all these machines just screaming, all those like... If you have a blower, what is that thing? 10,000 RPM just screaming. Mm-hmm.

238
00:34:34.218 --> 00:34:47.837
Like, I wanna be able to use the normal big GPU fans and make this thing so it can sit under your desk, plug into one outlet of power, right? Six GPUs. Your GPUs are 350 watts each. Can't plug that into a wall outlet.

239
00:34:48.277 --> 00:34:55.598
Okay, so how are you gonna deal with that? Hm, good questions, right? And you're not sharing that. Well, that one, I mean, that one is pretty obvious. You have to limit the power on the GPUs, right?

240
00:34:55.918 --> 00:35:01.738
You have to limit the power on the GPUs. Now, you can limit power on GPUs and still get... You can use like half the power and get 80% of the performance.

241
00:35:02.118 --> 00:35:10.238
This is a known fact about GPUs, but, like, that's one of my design constraints. So when you start to add all these design constraints, good luck building a Tinybox yourself. Mm-hmm.

242
00:35:10.718 --> 00:35:14.998
Obviously, it can be done, but you, you need something that has actually quite a bit of scale and resources to do it.

243
00:35:15.418 --> 00:35:25.678
And you see, like, the under the, the desk as, like, one of the main use cases, kinda like individual developer use or? Yeah. What I also see is more of a, like, an AI hub for your home. Right?

244
00:35:25.758 --> 00:35:34.558
As we start to get, like, home robotics kinda stuff, you don't wanna put the inference on the robot, but you also don't wanna put the inference on the cloud. Well, you don't wanna put it on the robot because...

245
00:35:34.958 --> 00:35:44.558
Okay, it's 1,500 watts, Tinybox. You'll put batteries? [laughs] You'll charge them? [laughs] Bad idea. Just wireless. Wireless is, is.5 milliseconds. Yeah. Right? This is super fast.

246
00:35:45.118 --> 00:35:54.638
Um, you don't wanna go to the cloud for two reasons. One, cloud's far away. Okay, it's not that far away. You can kind of address this. Uh, but two, cloud's also mad expensive.

247
00:35:55.258 --> 00:36:01.218
Like, cloud GPUs are way more expensive- Mm-hmm... than running that GPU at your house, at least any rates you're gonna get. Right?

248
00:36:01.498 --> 00:36:08.338
Maybe if you commit to buy, well, yeah, I'm gonna buy 10,000 GPUs for three years, then maybe the cloud will give you a good rate. But, like, you wanna buy one GPU in the cloud? Ooh.

249
00:36:08.698 --> 00:36:16.678
I mean, okay, you can go to, like, Vast, but, like, if you're a t- going on Azure or AWS, oh, that's expensive. This is like a, like a personal data center instead of a cloud data center.

250
00:36:16.758 --> 00:36:26.058
Uh, we like the term compute cluster, so we can use Nvidia GPUs. [laughs] Yeah. Data center's maybe a little bit dated. It's a compute cluster- Yeah... which is totally legal under the Cuda license agreement.

251
00:36:26.418 --> 00:36:33.518
You talk a lot about the PCIe, uh, connection. Do you think there's any fat there to, to trim? What do you mean? You're limited by bandwidth. Okay. For some things, yes.

252
00:36:33.918 --> 00:36:44.158
Um, so bandwidth is roughly 10x less than what you can get with NVLink A100s, right? NVLink A100s are gonna have... And then you can even get, like, full fabric, and Nvidia really pushes on that stuff.

253
00:36:44.578 --> 00:36:56.934
Um, 600 gigabytes per second, right? And PCIe 4, you're gonna get 60. All right, so you're getting 10X less. That said, why do you need the bandwidth, right? And the answer is you need it for training huge models.

254
00:36:57.434 --> 00:37:05.994
If you're training on a Tiny Box, your limit's gonna be about seven billion. If you're training on big stuff, your limit's gonna be, like, 70 billion, right? Okay, you can hack it to get a bit higher. You can hack it...

255
00:37:06.034 --> 00:37:15.174
Like, GBT hacked it to get a bit higher, but, like, that 65 billion in Llama, like, there's a reason they chose 65 billion, right? And that's what can reasonably fit model parallel on, on, on AGPUs, right?

256
00:37:15.234 --> 00:37:25.314
So yes, you are going to end up training models. The cap's gonna be, like, seven billion. But I actually heard this on your podcast. I don't think that the best chatbot models are going to be the big ones.

257
00:37:25.494 --> 00:37:33.074
I think the best chatbot models are gonna be the ones where you had 1,000 training runs instead of one, and I don't think that the interconnect bandwidth is going to matter that much.

258
00:37:33.554 --> 00:37:41.734
So what are we optimizing for instead of compute optimal? What do you mean compute optimal? You're talking about this, um, the Llama style models- Yeah... where you, you train for, like, 200X. You train longer, yeah.

259
00:37:41.754 --> 00:37:48.094
Yeah, yeah. Yeah, so okay. You can always make your model better by doing one of two things, right? And at Comma, we just have a strict limit on it.

260
00:37:48.394 --> 00:37:54.494
You can always make your model better by training longer, and you can always make your model better by making it bigger. But these aren't the interesting ones, right?

261
00:37:54.754 --> 00:38:02.094
Particularly the making it bigger, because training it longer, fine. You know, you're getting a better set of weights. The inference is the same. The inference is the same whether I trained it for a day or a week.

262
00:38:02.634 --> 00:38:06.514
Okay [laughs] if I... If it's one billion versus 10 billion, well, I 10X'd my inference too, right?

263
00:38:06.594 --> 00:38:15.014
So I think that these big models are kind of, uh, sure, they're great if you're research labs and you're trying to, like, max out this hypothetical thing. The big GI. Which we can talk about later. Yeah, yeah, yeah.

264
00:38:15.014 --> 00:38:23.294
[laughs] But if you're, like, a startup or you're, like, an individual or you're trying to deploy this to the edge anywhere, eh, you don't, you don't need that many weights. Yeah, yeah. Yeah.

265
00:38:23.314 --> 00:38:31.994
You actually don't want that many weights. Optimizing for inference rather than capabilities- Yes... doing benchmarks. Yes. Um, and I think the, the inference thing, right, there's gonna be so much more.

266
00:38:32.294 --> 00:38:39.614
Right now, the ratio between, like, training and inference on clouds, I think it's only still, like, I think it's, like, two or three X, right? It's two or three X more inference, which doesn't make any sense.

267
00:38:39.834 --> 00:38:48.934
Like, there should be way more inference. Yeah. There should be, uh, 10 to 100X more inference in the world than, than training. But then also, like, what is training, right? You start to see these things like Laura.

268
00:38:48.974 --> 00:38:54.194
Like- [laughs]... it's kind of blurring the lines between inference and training, and I think that that blurred line is actually really good.

269
00:38:54.234 --> 00:39:02.434
I'd like to see much more, like, on-device training or on-device fine-tuning of the final layer, um, where we're, we're pushing toward this stuff at Comma, right? Like, why am I shipping a fixed model?

270
00:39:02.734 --> 00:39:11.534
I totally want this model to fine-tune based on, like, how, you know, your left tire is flat, right? [laughs] Every time you cut the same turn because your left tire is flat, well, it should learn that, right?

271
00:39:11.594 --> 00:39:16.654
That's pretty hard. So would Comma pursue parameter-efficient fine-tuning? Yeah. We're looking into stuff like that.

272
00:39:16.694 --> 00:39:21.874
I mean, Comma's already very parameter efficient because we have to, like, run this thing in a car, and you have to, like, cool it and power it. Mm-hmm.

273
00:39:22.174 --> 00:39:32.714
And so this kind of, like, intelligence cluster you have in your home, you see when the person is using third-party model, they load them locally and kinda do the final fine-tuning. It kinda stays within the box.

274
00:39:33.114 --> 00:39:43.654
I think that that's one version of it for the privacy conscious. I also see a world where you can have your Tiny Box in its down cycles mine flop coin, right? [laughs] You know, not all...

275
00:39:43.834 --> 00:39:49.914
Turns out not all crypto is a scam. There, there's one way to tell if crypto is a scam. If they're selling the coin before they make the product, it's a scam. Mm-hmm.

276
00:39:49.974 --> 00:39:55.954
If they have the product and then they sell the coin- The pre-mines, yeah... it's maybe not a scam, right? So yeah, my thought is, like, each Tiny Box would let you...

277
00:39:55.974 --> 00:40:02.334
would have a private key on it, and you have to do it this way. You can't just let anyone join because of civil attacks, right? Mm-hmm. Yep. There's a real problem of, like, how do I ensure your data's correct?

278
00:40:02.754 --> 00:40:08.894
And the way that I ensure your data is correct on the TinyNet is if you ever send wrong data, you're banned from the network for life. You're out? Oh, wow. Yeah, yeah, yeah.

279
00:40:08.934 --> 00:40:18.374
Your, your $15,000 hardware box is banned, so, you know, don't cheat. Obviously, if it messes up, we'll forgive you. Somebody's gonna try to jailbreak your devices. [laughs] There's no jailbreak. There's no jailbreak.

280
00:40:18.374 --> 00:40:23.934
There's no jailbreak. It's just a different network. Well, there's just a private key on each device, right? Yeah, exactly. Okay. Like, if you buy a Tiny Box from the Tiny Corp, I give you a private key.

281
00:40:23.974 --> 00:40:29.914
It's in my backend server, right? You wanna hack my server, that's illegal. Anything you wanna do on the device, the device is yours. My server's mine, right? Like... Yeah.

282
00:40:30.134 --> 00:40:38.714
Have you looked into, like, uh, federated training at all? Okay, there's order of, of magnitude. Uh, federated training, you mean like, uh, over the cloud and stuff? Um- Over the internet? Yeah.

283
00:40:39.014 --> 00:40:46.654
Over the internet, but also on, distributed on a bunch of devices, right? Yeah. I'm, I'm- Which some people are exploring... I'm very bearish on this stuff- Yeah... um, because your interconnect bandwidth, right?

284
00:40:46.934 --> 00:40:59.594
So okay, at the high end, you have your interconnect bandwidth of NVLink, which is 600 megabytes per second, right? The Tiny Box has 60 gigabytes per second, and then your internet has 125 megabytes per second. Mm-hmm.

285
00:40:59.634 --> 00:41:10.754
Right? Not gigabits, 125 megabytes, right? So okay, that's how many orders of magnitude we're talking here? Like, from 60 down to 125. Like, all right, that's over 100, this is over 100X. That's, that's 400X, right?

286
00:41:10.794 --> 00:41:15.994
Yeah. So, like, what you can do is inference, right? Like, there's... For inference, you don't care. Mm-hmm. Right? For inference, I, I...

287
00:41:16.034 --> 00:41:24.734
There's so little bandwidth at the top and the bottom of the model that, like, yeah, you can do federated inference, right? And that's kinda what I'm talking about. There's also interesting things to push into.

288
00:41:24.774 --> 00:41:26.914
Like, you're like, "But okay, what if you wanna run closed source models?"

289
00:41:27.454 --> 00:41:36.494
This stuff gets kind of interesting, like using TPMs on the boxes and stuff, but then someone might jailbreak my device, so, you know, maybe we don't try to do that. Yeah. What's, like, the enterprise use case?

290
00:41:36.534 --> 00:41:39.534
Do you see companies buying a bunch of these and, like, stacking them together?

291
00:41:39.994 --> 00:41:49.414
The Tiny Box is, like, the first version of what we're build- building, but what I really wanna do is be on the absolute edge of flops per dollar and flops per watt. Uh, these are the two numbers that matter.

292
00:41:49.934 --> 00:41:58.594
So the enterprise use case is you wanna train, like, like Comma, right? So Comma just built out a new compute cluster. It's about, uh, a person and a half. A person being 20, uh, petaFLOPS.

293
00:41:58.634 --> 00:42:07.414
A person is, a person is 20 petaFLOPS. It's about 30 petaFLOPS. We built out a little, uh, a little compute cluster and, you know, we, we paid double what you theoretically could per flop, right?

294
00:42:07.474 --> 00:42:16.314
You theoretically could pay half per flop if you designed a bunch of custom stuff. And yeah, I mean, I could see that being, you know, Tiny Corp, bing. Comma's gonna be the first customer.

295
00:42:16.374 --> 00:42:25.934
I'm gonna build a box for Comma, and then I'm gonna show off the box I built for Comma and be like, "Okay, like, do you wanna build... I sell $250,000 training computers" Or, "How much is one H100 box?

296
00:42:26.434 --> 00:42:35.054
It's, uh, it's 400 grand? Okay, I'll build you a 400 grand training computer, and it'll be 10X better than that H100 box." Again, not for every use case. For some, you need the interconnect bandwidth.

297
00:42:35.334 --> 00:42:48.054
But for 90% of most companies' model training use cases, the Tiny Box will be 5X faster for the same price. You mentioned the person of compute. Um, how do we build a human for $20 million? Well, it's a lot cheaper now.

298
00:42:48.314 --> 00:42:58.546
So like I said, we... Comma, Comma spent about, uh, about half a million on our, on our person and a half, so- What are some of the numbers people should think of when they compare compute to like people?

299
00:42:58.626 --> 00:43:05.866
So GPT-4 was 100 person years of training. That's more like on, on the timescale. 20 petaflops is one person.

300
00:43:06.026 --> 00:43:16.426
I think you- right now the math was that for the price of the most expensive thing we built, which is the International Space Station, we could build, uh, one Tampa of- Yeah, yeah. One Tampa of compute... of compute.

301
00:43:16.466 --> 00:43:25.106
Yeah, which is 400,000 people. It's the ultimate currency of com- of, uh, measurement. Yeah, yeah, we could build... So like the biggest training clusters today, I know less about how GPT-4 was trained.

302
00:43:25.206 --> 00:43:35.366
I know some rough numbers on the weights and stuff, but, uh, Llama, the- A trillion parameters? Well, okay, so GPT-4 is 220 billion in each head, and then it's an eight-way mixture model.

303
00:43:35.786 --> 00:43:42.046
So mixture models are what you do when you're out of ideas. So, you know, it's, it's a mixture model. Uh, they just trained the same model eight times, and then they have some little trick.

304
00:43:42.086 --> 00:43:52.046
They actually do 16 inferences. But, um, no, it's not like- So the multimodality is just a vision model kinda glom- glomed on. I mean, the multimodality is like obvious what it is too.

305
00:43:52.066 --> 00:43:59.226
You just put the vision model in the same token space as your language model. Oh, did people think it was something else? No, no, the mixture has nothing to do with the vision or language aspect of it.

306
00:43:59.265 --> 00:44:07.626
It just has to do with, well, okay, we can't really make models bigger than 220 billion parameters. We want it to be better. Well, how can we make it better? Well, we can train it longer

307
00:44:08.626 --> 00:44:16.766
and okay, we actually, we've actually already maxed that out. [laughs] Uh, getting diminishing returns there. Okay. A mixture of experts. Yeah, a mixture of experts. We'll train eight of them, right? All right.

308
00:44:16.786 --> 00:44:23.846
[laughs] So, all right. So, you know, you know... You know, the, the real truth is whenever a start, whenever a company is secretive, it's because they're hiding something that's not that cool.

309
00:44:24.306 --> 00:44:30.166
And people have this wrong idea over and over again that they think they're hiding it 'cause it's really cool. It must be amazing. It's a trillion parameters.

310
00:44:30.506 --> 00:44:36.366
No, it's a little bigger than GPT-3, and they did an eight-way mixture of experts. Like, all right, dude, anyone can spend eight times the money and get that. All right.

311
00:44:36.766 --> 00:44:45.426
Coming back to what I think is actually gonna happen is, yeah, people are gonna train smaller models for longer and fine-tune them and find all these tricks.

312
00:44:45.786 --> 00:44:57.766
OpenAI used to publish stuff on this, you know, uh, when they would publish stuff about how much better the training has gotten given the same am- holding compute constant. It's gotten a lot better, right?

313
00:44:58.206 --> 00:45:06.066
Think compare like batch norm to no batch norm. 'Cause you're finding algorithms like flash attention and- Yeah. Well, flash attention. Yeah. And flash attention's the same compute.

314
00:45:06.166 --> 00:45:14.486
Flash attention's an interesting fact where it's actually the identical compute. It's just a more efficient way to do the compute. But I'm even talking about like, look at the new, uh, embeddings people are using, right?

315
00:45:14.506 --> 00:45:23.046
They used to use these like boring old embeddings. Now like Llama uses that complex one, and now there's like Alibi. I'm not up to date on- Mm-hmm... all the latest stuff, but, uh, those tricks give you so much.

316
00:45:23.406 --> 00:45:29.346
There's been a whole round trip with positional embeddings. I don't know if you've, uh, seen this discussion. I haven't followed exactly.

317
00:45:29.466 --> 00:45:38.746
I mean, you quickly run into the obvious problem with positional embeddings, which is you have to invalidate your KV cache if you run off the context. So that's why I think these new ones, they're playing with them.

318
00:45:38.786 --> 00:45:45.826
But, uh, I, I'm not an expert on like the latest up-to-date language model stuff. What are some of the things, I mean, that people are getting wrong?

319
00:45:45.906 --> 00:45:53.026
So back to autonomous driving, there was like the whole like LiDAR versus vision thing. You know, it's like people don't get into accidents because they cannot see well.

320
00:45:53.086 --> 00:46:03.146
They get into accidents because they get distracted and, and all these things. Do you see similarities today on like the path to AGI? Nothing I say about this is ever gonna compete with how Rich Sutton stated it.

321
00:46:03.646 --> 00:46:10.426
Rich Sutton is writer- The Bitter Lesson. Yeah... of Reinforcement Learning: The Bitter Lesson. Nothing I say is ever gonna compete with... The Bitter Lesson's way better than any way I'm going to phrase this.

322
00:46:10.686 --> 00:46:20.026
Just go read that and then like, I'm sorry it's bitter, but you actually just have to believe it. Like you, over and over again, people make this mistake. They're like, "Oh, we're gonna hand engineer this thing.

323
00:46:20.046 --> 00:46:27.066
We're gonna hand..." No, like stop wasting time. I mean, OpenAI is not taking the bitter lesson. They were leaders in deep learning- Yes... for a long, long, long time.

324
00:46:27.266 --> 00:46:34.046
Well, OpenAI was the absolute leader to the thesis that compute is all you need, right? And there's a question of how long this thesis is going to continue for.

325
00:46:34.406 --> 00:46:43.546
It's a cool thesis, and look, I think I would be lying along with everybody else. I was into language models like way back in the day for the Hutter Prize. I got into AI through the Hutter Prize.

326
00:46:44.206 --> 00:46:51.026
Like 2014, I'm trying to build compressive models of Wikipedia. And I'm like, "Okay, why is this so hard?" Like, what this is, is a language model, right?

327
00:46:51.066 --> 00:47:00.626
And I'm playing with these like, like Bayesian things, and I'm just like, "Oh, but like I get it. I have two data points, and they're like almost the same, but how do I measure that almost," right?

328
00:47:01.006 --> 00:47:10.325
I just like, you know, wrap my head around this, and this was around the time Karpathy released the first like, uh, RNN that generated the Shakespeare stuff, and I'm like, "Okay, I get it," right?

329
00:47:10.726 --> 00:47:16.146
It's neural networks that are compressors. Now, this isn't actually... You can't actually win the Hutter Prize with these things because the Hutter Prize is, is MDL.

330
00:47:16.566 --> 00:47:28.006
It's the model, size of the model plus the size of the encodings, embeddings. So yeah, you can't. I mean, probably now you can 'cause it's gotten so good. But uh, yeah, back in the day, you kinda couldn't.

331
00:47:28.046 --> 00:47:37.946
So I was like, "Okay, cool. This is what it is. I kinda get it." I didn't expect that it would continue to work this well. I thought there'd be real limits to how good autocomplete could get. That's fancy autocomplete.

332
00:47:38.126 --> 00:47:49.006
Mm-hmm. But yeah, it works well. So like, yeah, what is OpenAI getting wrong? Technically, not that much. I don't know. Like if I was a researcher, why would I go work there? Yes.

333
00:47:49.006 --> 00:47:56.846
So- Like, go- Why, why is OpenAI like the Miami Heat? [laughs] No, uh, look, I don't, I don't, I don't... This is, this is my technical stuff. I don't really wanna harp on this.

334
00:47:56.866 --> 00:48:00.266
[laughs] But like why go work at OpenAI when you could go work at Facebook as a researcher?

335
00:48:00.646 --> 00:48:11.346
OpenAI can keep ideologues who, you know, believe ideological stuff, and Facebook can keep every researcher who's like, "Dude, I just wanna build AI and publish it." Yeah. Any other thoughts? Tiny corp, bounties.

336
00:48:11.906 --> 00:48:20.106
You know, I've been thinking a lot about like what it means to hire in today's world. Mm-hmm. Okay. Look, I'm a believer that machines are gonna replace everything in about 20 years.

337
00:48:20.966 --> 00:48:31.586
So, okay, what is that thing that people can still do that computers can't? And this, this is a narrowing list. But like, you know, back in the day, like imagine I was starting a company in 1960.

338
00:48:31.886 --> 00:48:40.226
Oh, and we're gonna have to hire a whole bunch of calculators in the basement to do all the, you know, math to support the calcu- Dude, have you heard about computers? [laughs] Why don't we just buy a few of those?

339
00:48:40.626 --> 00:48:51.246
Oh, wow, man. [laughs] You're right. Um, so like I feel like that's kinda happening again. And I'm thinking about, I will post in my Discord. I'll be like, "Okay, who wants to like..." Okay, I just changed my unary ops.

340
00:48:51.306 --> 00:49:00.742
Used to be log and exp in like E. I changed them to be log2 and exp2. Because hardware has log two and exp two accelerators. Built in. Yeah, and of course you can just change your base.

341
00:49:00.802 --> 00:49:08.982
It's one multiply to, to get it back to E. But, like, I made the primitives log two and exp two, right? I just posted in the Discord, I'm like, "Did someone put this pull request up," right?

342
00:49:09.002 --> 00:49:19.442
And someone eventually did, and I merged it. But I'm like, this is almost to the level where models can do it. We're almost to the point where I can say that to a model and the model can do it. Have you tried? Yeah.

343
00:49:19.522 --> 00:49:26.022
I don't know. I think autocomplete went further than I thought it would- Mm. But I'm also relatively unimpressed with these chatbots.

344
00:49:26.542 --> 00:49:35.942
The problem is, if your loss function is categorical cross-entropy on the internet, your responses will always be mid. Yes. Right? Mode, mode collapse is what I call it. I don't know. Maybe...

345
00:49:35.982 --> 00:49:39.382
And I'm, I'm even talking about mode collapse. You're actually trying to predict the... Like, like, look, I rap.

346
00:49:39.442 --> 00:49:47.722
I'm a, I'm a hobbyist rapper, and, like, when I try to get these things to write rap, the raps sound like the kind of raps you read in the YouTube comments. Yeah, nursery school. Yeah. It's like, all right, great.

347
00:49:47.762 --> 00:49:57.242
You rhyme box with fox. Sick rhyme, bro. You know, and ri- or Drake is rhyming give it up for me with napkins and cutlery, right? Like, like, all right, come on. Really? He's, he's got, like, this thing about orange.

348
00:49:57.262 --> 00:50:04.782
They have-- like, orange is famous so you can't ri- rhyme it. Yeah, yeah, yeah, yeah, yeah. But now of course, you know, four-inch screws and orange juice is in, is in- In GPTs... GPT's training corpus. Yeah.

349
00:50:04.802 --> 00:50:08.742
[laughs] Um, yeah, so I, I think it went further than, like, everyone kinda thought it would.

350
00:50:08.822 --> 00:50:16.542
But the thing that I really wanna see is, like, somebody put 10 LLMs in a room and have them discuss the answer before they give it to me, right? Like, you can actually, like, do this, right?

351
00:50:17.042 --> 00:50:18.722
Um, and I think the coding things have to be the same way.

352
00:50:19.062 --> 00:50:28.822
There is no coder alive, no matter how good you are, that sits down, "Well, I'm going to start at cell A1 and type my program, and then I'm going to press run and it's going to work." No one programs like that.

353
00:50:29.282 --> 00:50:36.502
So why do we expect the models to, right? So, so there's, there's a lot that, like, still needs to be done, but, you know, at the Tiny Corp, I wanna be on the cutting edge of this, too.

354
00:50:36.702 --> 00:50:45.022
I wanna be, like, program generation. I mean, what is Tinygrad? It's a compiler. Generates programs. Generate the fastest program that meets the spec, right? Mm-hmm. Why am I not just having ML do that?

355
00:50:45.122 --> 00:50:56.602
[laughs] So, you know, it's kind of a... You have to exist fluidly with the machines, and I come around on a lot of stuff. I'm like, wait, Tinygrad, Tinycorp should be a remote company, right?

356
00:50:56.642 --> 00:51:03.642
Why, why-- I can't do this in person. Really? Yeah, like- Oh... like, comma makes sense to be in person. Like, comma, sure, yeah, we're getting an office in San Diego.

357
00:51:03.682 --> 00:51:11.182
Like, like, but that was a six-year-old company, right? And it works, and it works for a certain type of people and a certain type of culture, but what's gonna be different this time? Okay, remote. But now it's remote.

358
00:51:11.622 --> 00:51:20.842
And now I'm getting these, like, people who apply and I'm like, I literally have 1,000 applications. I'm not calling you to do a technical screen. I can't really tell anything from a technical screen. Mm.

359
00:51:20.842 --> 00:51:28.622
What am I gonna do, make you code on a whiteboard? Like, bring up a shared notebook document so we could... No, like, that's not gonna work. Okay, so then I move to the next thing.

360
00:51:28.662 --> 00:51:33.822
We do this at comma with s- good success, programming challenges. I've also found them to be, like, completely non-predictive.

361
00:51:34.262 --> 00:51:44.402
I found one thing to actually be predictive, and it's, wait a second, just write code in Tinygrad. It's open source, right? And yeah, um, so you know, I'm, I'm talking to, to a few people who have been contributing.

362
00:51:44.722 --> 00:51:51.722
And like, contribute or, you know, the job's not for you. But you can do it remote and it's, look, it's a chill job. Like, you're not... You're like, "Oh, yeah, well, I work for the Tinycorp."

363
00:51:51.782 --> 00:51:59.682
Like, well, you're writing MIT licensed software. Like, you see what it's doing, right? [laughs] Like, we'll just, let's, I think, think of it maybe more of like a stipend than a salary. And then also some equity.

364
00:51:59.742 --> 00:52:09.522
Look, if, you know, I get rich, we all get rich. How do you think about agents and kinda like thinking of them as people versus, like, job to be done? Sean built this thing called Small Developer.

365
00:52:09.782 --> 00:52:18.002
It's in the same vein- Or-... like, the, the human in the loop with the language model and just, uh, iterating while you write code. I think that's a, that's absolutely where it goes. And there's like a...

366
00:52:18.202 --> 00:52:25.562
It's not, like, one thing. It's like there's small interpreter, there's, like, small debugger. It's kinda like all these different jobs to be done. It's a small world. Yeah.

367
00:52:25.622 --> 00:52:31.902
It's a-- I know, this is like- Tiny, tiny and small worlds... the small podcast. It's like small AI meet Tinycorp. [laughs] So we're all on the same wavelength. How do you think about that?

368
00:52:31.922 --> 00:52:40.962
Do you think people will have a human-like interaction where it's like, "Oh, this is, like, the AI developer," or like is it, "I'm the human being supercharged by the AI tools"?

369
00:52:41.682 --> 00:52:49.102
Oh, I think it's, yeah, much more like I'm the human supercharged by the AI tools. I think that, like, coding is tool complete, right? Like, driving's not tool complete.

370
00:52:49.282 --> 00:52:54.182
We hire people to drive who are, like, below the API line. Mm-hmm. Right? There's an API line in the world, right? Love that. Yes. Yeah, yeah, yeah.

371
00:52:54.202 --> 00:53:00.302
There's an API line in the world and, like, you can think, like, Uber's a really clear example, right? There's the people below the API line and the people above the API line.

372
00:53:00.342 --> 00:53:06.562
And the way you can tell if you're below or above, by the way, is, is your, uh, manager a computer, right? Who's the manager of the Uber driver? Yeah. Well, a computer, right?

373
00:53:06.582 --> 00:53:14.841
Does the machine tell you what to do or do you tell machines what to do? Exactly. Exactly. So coding is tool complete, right? Coding is tool complete. Coding is above the API line.

374
00:53:15.141 --> 00:53:28.102
So it will always be tools supercharging your coding workflow, and it will never be you performing some, like, task like, "Okay, well, I can do everything except for actually starting a Docker container."

375
00:53:28.162 --> 00:53:32.962
Like, it just doesn't make any sense, right? Yeah, so it will always be sort of tools. And you know, look, we see the same stuff with all the...

376
00:53:33.482 --> 00:53:41.022
Like, people are like, "Stable diffusion's gonna replace artists," or whatever. It's like, dude, like- It's gonna create new artists... what, did Photoshop replace artists?

377
00:53:41.022 --> 00:53:50.682
[laughs] Like, what are you talking about, right? Like, oh, da, da, da. You know, a, a real artist finger paint. They can't use brushes. [laughs] Brushes are, you know, brushes are gonna replace all the... Okay.

378
00:53:51.322 --> 00:53:57.462
Like, I j- I just can't. Like, it's, it's all just tools, and the tools are gonna get better and better and better. And then eventually, yes, the tools are going to replace us.

379
00:53:57.942 --> 00:54:05.202
But you know, that's still 20 years away, so you know, I've got a company to run in the meantime. [laughs] So I, I've written about the API line before- Yeah... and I, I, I think that's from Venkatesh.

380
00:54:05.542 --> 00:54:08.982
I don't know if you've, if that's your definition. I don't know. I definitely took it from someone. It's definitely not mine. It's VGR. Uh- Yeah...

381
00:54:09.022 --> 00:54:18.242
yeah, but, uh, I also have speculated a higher line than that, which is the Kanban board. Like, who tells the, the programmers what to do. Hmm. Right? So are you above or below the Kanban board?

382
00:54:18.322 --> 00:54:23.622
[laughs] At d- does-- has that evolved your, your management thinking? Yeah, like, that's sort of what I mean.

383
00:54:23.662 --> 00:54:31.642
Like, it's like a, like I'm gonna just gonna describe the pull request in two sentences and then like, yeah, you know. Yeah. So you are running the Kanban board? Or the bounties or, you know? Yes. Yes. Yeah.

384
00:54:31.662 --> 00:54:39.342
The, the bounties are the Kanban board. Yes. Exactly. And, and that is kind of the, the high level and then like, yeah, we'll get AIs to fill in some and we'll get people to fill in others and...

385
00:54:39.542 --> 00:54:47.502
And that, that's also what it means to be, like, full-time at Tinycorp, right? Would you start... And I, I wrote this up pretty concretely. I'm like, okay, step one is you do bounties for the company. Hmm.

386
00:54:47.602 --> 00:54:54.042
Step two is you propose bounties for the company. Hmm. Right? You don't obviously pay them. We pay them. Hmm. But you propose them. And I'm like, yeah, that's a good bounty.

387
00:54:54.082 --> 00:55:00.842
That, like, helps with the main workflow of the, the company. And step three is you get hired full-time, you get equity, we all, you know, maybe get rich.

388
00:55:01.262 --> 00:55:07.922
What else are you designing differently about the employee experience? You know, some people really like to, like, like, keep a separation, right?

389
00:55:07.962 --> 00:55:13.942
Some people really like to keep a separation between, like employees and management or customers and employees.

390
00:55:14.362 --> 00:55:22.042
Like at Comma, you know, the reason I do the dev kit thing, it's like, dude, you buy a Comma thing, you're an employee of the company. Like, you're just part of the company. It's, it's all the same thing.

391
00:55:22.082 --> 00:55:30.462
There's no, like, secrets, there's no dividing lines, there's no, like... It's all a spectrum for like, you know, down here at the spectrum, like you pay, and then up here at the spectrum, you get paid.

392
00:55:30.662 --> 00:55:40.382
You understand this is the same spectrum of college, right? Like, for undergrad you pay, and then you get up here to like, you know, doing a PhD program, you get paid. Okay. Well, cool. Welcome to the, you know. Mm-hmm.

393
00:55:41.042 --> 00:55:50.362
What about, um, Comma Bodies? You mentioned a lot of this stuff is clearly virtual, but then there's below the API line you actually need. Yeah. Wait, this is a thing that's been announced, Comma Bodies? We sell them.

394
00:55:50.742 --> 00:55:58.142
Oh, shit. I've never seen them. You can buy a thousand bucks on our website. Oh, okay. No, no, no. I, I'm thinking about like the, what Tesla announced with like the humanoid robots. It's the same thing. Yeah.

395
00:55:58.162 --> 00:56:02.722
Yeah, yeah, okay. Except of course, we made the Comma version of it. Yeah. Tesla uses 20 actuators, we use two, right?

396
00:56:02.942 --> 00:56:12.982
Like, how, how do you, how do you build the simplest possible thing that can, like, turn the robotics problem into entirely a software problem? So right now it is literally just a Comma 3 on a pole with two wheels.

397
00:56:14.082 --> 00:56:25.382
Um, it balances, keeps the Comma 3 up there, and like, there's so much you could do with that already, right? Like this should replace... How many security guards could this replace, right?

398
00:56:25.462 --> 00:56:37.562
If this thing could just competently wander around a space and take pictures and, you know, focus in on things, send you a text message when someone's trying to break into your building, you know, like, like this could already do so much.

399
00:56:38.102 --> 00:56:46.422
Of course, but the software's not there yet, right? So how do we turn robotics into a thing where it's very clearly a software problem? You know, the people don't accept that self-driving cars are a software problem.

400
00:56:46.862 --> 00:56:55.522
Like I, I don't, I don't know what to tell you, man. Like, literally just watch the video yourself and then drive with a joystick, right? Can you drive? And we've actually done this test.

401
00:56:55.762 --> 00:57:02.202
We've actually done this test where we've had someone, "Okay, you just watched this video and here's a joystick and you gotta drive the car." And of course, they can drive the car, right?

402
00:57:02.242 --> 00:57:07.322
It takes a little bit of practice to get used to the joystick, but the problem is all the model, right? So, okay, now make the model better.

403
00:57:07.962 --> 00:57:14.642
Our second most popular episode ever was about Segment Anything coming out of, uh, Facebook, which as far as I understand is state-of-the-art in computer vision.

404
00:57:15.121 --> 00:57:24.502
What are you hoping for there that, that you need for Comma? I haven't used Segment Anything. Like the large lo- large YOLOs are not... I've used like large YOLOs and I'm super impressed by them. Yeah.

405
00:57:24.982 --> 00:57:30.242
I gotta check out Segment Anything. I don't think it's a distinct problem, right? Okay. Here's something that I'm interested in. All right.

406
00:57:30.282 --> 00:57:39.022
We have great LLMs, uh, we have great text-to-speech models, and we have great speech-to-text models. Okay, so why can I not, why can I not talk to an LLM? Like and have a normal conversation with it.

407
00:57:39.242 --> 00:57:49.782
You can with a latency of like two seconds every time. Right. [laughs] And then it feels so unnatural. It's this like staccato. Like I don't like the RLHF models. I don't like the tuned versions of them.

408
00:57:50.242 --> 00:57:59.442
You take on the personality of a customer support agent, right? Like, oh, come on. You know, I like Llama more than ChatGPT. ChatGPT's personality just grated on me.

409
00:57:59.762 --> 00:58:06.982
Whereas Llama, like, cool, I read a little bit of pretext paragraph, I can put you in any scenario I want, right? Like, that's interesting to me. So, um,

410
00:58:08.082 --> 00:58:18.602
yeah, I think there is really no, like, distinction between computer vision and language and any of this stuff. It's all eventually gonna be fused into one massive...

411
00:58:19.122 --> 00:58:28.182
So to say computer vision is solved, well, it doesn't make any sense, 'cause what's the output of a computer vision model? Segmentation? Like what a weird task. [laughs] Right? Who cares? OCR. Who cares?

412
00:58:28.222 --> 00:58:37.122
I don't care if you can segment which pixels make up that laptop. I care if you can pick it up. And you're gonna have the local cluster, you're gonna have the body. Yeah. Yeah, yeah.

413
00:58:37.182 --> 00:58:48.742
I think, I think that's kinda where that goes. Maybe we can paint the future of like the year is 2050. Yeah. You've achieved all you want at the Tiny Corp. What is the AI-enabled future like?

414
00:58:48.802 --> 00:58:55.242
Well, Tiny Corp's the second company. Comma was the first. Comma builds the hardware infrastructure. Tiny Corp builds the software infrastructure.

415
00:58:55.482 --> 00:59:04.222
The third company is the first one that's gonna build a real product, and that product is, uh, a, a girlfriend. [laughs] Okay. No, like I'm dead serious, right? Yeah. Like this is the dream product.

416
00:59:04.782 --> 00:59:11.742
This is the absolute dream product. Girlfriend is just the like- Stand-in. Well, no, it's not a stand-in. No, no, no, no, I actually mean it, right?

417
00:59:11.802 --> 00:59:18.002
So I've been wanting to merge with a machine ever since I was like mad little. Like, you know, just like, how do I merge with a machine, right?

418
00:59:18.402 --> 00:59:25.882
And like you can look at like in, like a, maybe the Elon-style way of thinking about it is Neuralink, right? And I'm like, I don't think we need any of this, right? You ever...

419
00:59:26.502 --> 00:59:33.982
Some of your friends, maybe they get into relationships and you start thinking of, you know, them and their partner as the same person. You start thinking of them as like one person.

420
00:59:34.502 --> 00:59:41.882
I mean, they are kinda like merged, right? Like humans can just kinda do this. It's so cool. It's this ability that we already have, right?

421
00:59:41.922 --> 00:59:53.042
So I don't need to put, you know, electrodes in my brain to merge with a machine. I need an AI girlfriend, right? So that's what I mean. Like this is, this is the third product. This is the third company.

422
00:59:53.522 --> 01:00:03.522
And yeah, in 2050, I mean like, ah, it's, it's so hard. I just like, maybe I can imagine like 2035. I don't even know 2050, but like yeah, 2035, like yeah, that'd be really great.

423
01:00:03.762 --> 01:00:11.142
In terms of merging, like isn't it, shouldn't you work on brain upload rather than AI, AI girlfriend? I don't need brain upload, right? I, I don't need brain upload either.

424
01:00:11.182 --> 01:00:20.562
Like there is, there is thousands of hours of me on YouTube, right? Yes. If you, my... How much of my brain's already uploaded? That's only the stuff that you voice. Yeah, it's not that different.

425
01:00:20.682 --> 01:00:29.642
[laughs] It's not that different, right? You really think a, a model with, you know, an exaflop of compute couldn't extract everything that's really going on in my brain? I'm a pretty open person, right?

426
01:00:29.682 --> 01:00:38.802
Like, I'm not running a complex filter. Humans can't run that complex of a filter. Like humans just can't. Like this is actually a cool quirk of, of, of, uh, biology. It's like, well, humans like can't lie that well.

427
01:00:39.462 --> 01:00:49.102
So is it good or bad to put all of your stream of consciousness out there? I mean, I think it's good. Yeah, I mean- I don't know... he's streaming every day. [laughs] I wanna, I wanna live, I wanna live forever.

428
01:00:49.262 --> 01:00:58.562
Like- Yeah... that's- We, we said off, off mic that we, we may be the first immortals, right? Yeah. This is how you live forever. It's a question of, okay, how many weights do I have, right?

429
01:00:58.622 --> 01:01:06.302
Okay, let's say I have a trillion weights. Let's talk about terabyte, uh, 100 terabytes here. Like it's not really 100 terabytes, right? Because it's Kolmogorov complexity. How much redundancy is there in the weights?

430
01:01:06.582 --> 01:01:15.006
So like maximally compressed, how big is the weight file for my brain?... quantize it whatever you want. [laughs] Quant- quantization is, is a poor man's compression.

431
01:01:15.586 --> 01:01:25.606
I think we're only talking really here about, like, maybe a couple gigabytes, right? And then if you have, like, a couple gigabytes of true information of yourself up there, cool, man.

432
01:01:25.966 --> 01:01:28.446
Like, what does it mean for me to live forever? Like, that's me.

433
01:01:29.046 --> 01:01:38.586
No, I think that's good, and I think there's a bit of, like, a professionalization of social media where, like, a lot of people only have what's, like, PC out there, you know? And I feel like you're gonna get...

434
01:01:38.686 --> 01:01:47.026
Going back to the ChatGPT thing, right? You're gonna train a model on, like, everything that's public about a lot of people, and it's like- Then no one's gonna run their model and they're gonna die.

435
01:01:47.146 --> 01:01:49.046
[laughs] Don't let me see on social media.

436
01:01:49.066 --> 01:01:56.286
[laughs] We're moving on to what would normally be called the lightning round, but just, uh, just general takes 'cause you're a generally interesting person with many other interests.

437
01:01:56.806 --> 01:02:05.326
What does the goddess of everything else mean to you? Oh, it means that AI's not really gonna kill us. Really? Of course. Tell us more. Lex asked me this, like, "Is AI gonna kill us all?"

438
01:02:05.346 --> 01:02:11.806
And I was quick to say yes, but I don't actually really believe it. I think there's a decent chance that AI kills 95% of us. Okay.

439
01:02:12.646 --> 01:02:21.486
But they saw on your Twitch streams that you're with them, so they're not gonna- [laughs] No, I don't think... I actually... I don't also think it's AI. Like, I think the AI alignment problem is so misstated.

440
01:02:21.546 --> 01:02:26.226
I think it's actually not a question of whether the computer is aligned with the company who owns the computer. Mm-hmm.

441
01:02:26.246 --> 01:02:30.686
It's a question of whether that company's aligned with you or that government's aligned with you, and the answer is no, and that's how you end up dead.

442
01:02:31.166 --> 01:02:40.186
So what the goddess of everything else means to me is, like, the complexity will continue. Paperclippers don't exist. You know, there are forces. The paperclipper is cancer, right?

443
01:02:40.226 --> 01:02:50.206
The paperclipper is really just a perfect form of cancer, and the goddess of everything else says, "Uh, yeah, but cancer doesn't win, you know?" Yeah. It's a beautiful story for those who haven't heard it. Yeah.

444
01:02:50.286 --> 01:02:59.546
Uh, and you, you read it out and I- I did... listened to it. Yeah. Yeah. What are you grateful for today? Oh, man. I mean, it's all just, like... I've been, I've been thinking about this stuff forever.

445
01:03:00.346 --> 01:03:11.826
Like, that it's actually, like, happening, and it's happening in an accessible way too. I guess that's what I'm really grateful for. It's not like AI is not some Manhattan Project style, you don't know anything- Mm-hmm.

446
01:03:11.826 --> 01:03:21.746
Closed doors... about it. Yeah. Closed doors. And, you know, I'll fight really hard to keep it that way. I, I'm grateful for just, just how much is released out there and how much I can just learn and stay up to date.

447
01:03:21.926 --> 01:03:31.426
And I guess I'm grateful to the true fabric of reality that, you know, I, I didn't need differential equations to understand it. Like, I don't need- Mm-hmm... some, like... There's a limit to my, to my math abilities.

448
01:03:31.486 --> 01:03:39.226
I can do most undergrad math, but I took some grad math classes and okay, now we're getting to the end of what I can do. Mm. And it's just the actual, like, end of what I can do.

449
01:03:39.266 --> 01:03:49.066
Like, I'm limited by my brain, but, you know, [laughs] the ML stuff, like, you need high school math. Yeah. You know what I mean? When I learned to multiply a matrix, seventh grade. Like, it's- Mm-hmm... it's all easy.

450
01:03:49.126 --> 01:03:53.006
You need more electrical engineering than you need high school math really. Yeah. Y- yeah.

451
01:03:53.126 --> 01:04:00.866
Well, you need electrical engineering to, like, build the machines, but even that, like, these machines are simpler than the machines that have existed before. The compute stack looks really nice.

452
01:04:00.946 --> 01:04:08.946
So, you know, yeah, I'm just, uh, I'm grateful that it's all happening and I get to understand it and be here, so. John Carmack mentioned there's about six insights we have left.

453
01:04:09.146 --> 01:04:17.446
Do you have an intuition for what some of the paths people should be taking? Obviously, you're working on one. What are some of the other branches of the tree that people should go under?

454
01:04:17.826 --> 01:04:21.626
I don't think I'm working on one of the six insights. I don't think Tinygrad's any one of the six insights.

455
01:04:22.046 --> 01:04:31.906
Something I really like that Elon does, and I try to, uh, be inspired by it, is, um, look at the boring tunnel machine and ask how you can build a 10X cheaper one, right? Look at the rocket.

456
01:04:31.946 --> 01:04:39.626
How can I build a 10X cheaper one, right? Look at the electric car and say, "How can I build a 10X cheaper-" Mm-hmm... "like, or cheaper or, you know, can go further?" Or whatever, whatever, whatever, right?

457
01:04:39.666 --> 01:04:48.506
And you just do the straight up physics math, right? Like, I'm trying to do the same thing with, with, uh, ML frameworks, right? And in, in doing so, making sure that this stuff remains accessible.

458
01:04:49.066 --> 01:04:57.686
You could imagine a world where if Google TPUs were actually the ultimate- Mm-hmm... if Google TPUs were actually the best training things, I mean, actually, you know, I'm kinda grateful for Nvidia, right?

459
01:04:57.726 --> 01:05:07.366
Like, because if Google TPUs were the ultimate, now you have this huge closed source compiler in between, uh- Mm-hmm... XLA- Yeah... and, and the hardware and yeah, that's, uh, just a really bad thing.

460
01:05:07.446 --> 01:05:15.846
So I mean, something that is somewhat upsetting about the Tinygrad v- is it, is that it is trying to prevent downside, but, uh, it's not all trying to prevent downside. Like, we're also building computers- Mm-hmm...

461
01:05:15.886 --> 01:05:25.286
and we're gonna build some awesome, powerful, cheap computers along the way. So no, I'm not really working directly on any of the six tricks. I also think the six tricks are kinda gonna be like luck. Yeah.

462
01:05:25.326 --> 01:05:31.266
I think it's just gonna be like, "You know, please tell me more about what covariate shift is and how that inspired you to come up with batch normalization.

463
01:05:31.606 --> 01:05:40.486
Please tell me more about why it's a transformer and it has a query, a key, and a value," right? Like, Schmidhuber described it better in Fast Weights. Mm-hmm. You know? [laughs] Yeah. Like, like, I mean, I...

464
01:05:40.526 --> 01:05:46.746
my theory about why transformers work have nothing to do with this attention mechanism and just the fact that, like, it's semi weight sharing, right?

465
01:05:46.766 --> 01:05:55.826
Like, the- because the weight matrix is being generated on the fly, you can, you can, like, compress the weight matrix, right? Like, this is what that... There's an operation in the, in the transformer which...

466
01:05:56.306 --> 01:06:04.446
And by the way, this is, like, Qualcomm's SNPE can't run transformers for this reason. Mm-hmm. So most matrix multipliers in neural networks are weights times values. Yep. Mm-hmm. Right?

467
01:06:04.926 --> 01:06:11.886
Whereas, um, you know, when you get to the, the, the, the outer product in, uh, transformers, well, it's weight times weight. It's, uh, it's values times values. Yeah. Right?

468
01:06:11.926 --> 01:06:20.806
Um, so SNPE, like, doesn't even support that operation, right? So it's like that operation that gives the transformer its power. It has nothing to do with the fact that it's attention, right? Mm-hmm.

469
01:06:20.826 --> 01:06:28.766
And this just is a funny like... But that is one of the six tricks, right? Batch, like, these norms are a trick. Transformers are a trick. Okay. Six more.

470
01:06:29.146 --> 01:06:37.846
So you c- you talk, you talk about, uh, attention as weight compression. I think compression is not exactly the right word. What I mean is that the weights can change dynamically based on the context.

471
01:06:38.266 --> 01:06:47.766
So there was this thing in PAC8, in the Hot Prize, that I absolutely loved, and I've never seen it again in neural networks, and a really good trick. Okay. Imagine you have 256 weight sets for a layer, right?

472
01:06:48.306 --> 01:06:54.706
And then you choose which of the weight sets you're loading in- Mm-hmm... based on some context, and that context can come from another neural net, right?

473
01:06:54.946 --> 01:07:01.906
So I have another neural net which protect, projects, you know, what, 256 wide, one hot, do a softmax, predict it, and then I actually load the weights in.

474
01:07:01.946 --> 01:07:10.526
And I can do this operation at both test time and train time, right? I can do this operation at both training and inference, and I load in the weights given the context. Like, that is what transformers do.

475
01:07:10.826 --> 01:07:17.614
But transformers, instead of having 256 discrete ones, it's actually just that, but continuous. Yep. Which is funny that that was in language models.

476
01:07:17.634 --> 01:07:26.594
And I just like, when I understood that about transformers, I'm like, "Oh, this is a real trick, and why are they using the word attention?" Yeah. And today is actually the anniversary of, uh, attention is all you need.

477
01:07:26.894 --> 01:07:34.814
What? Oh- Yeah... that's so cool. Today, today, six years ago. Six years. Six years. Changed the world. Wow. Well, there's one of your envelope tricks, right? And you could easily- Yeah...

478
01:07:34.854 --> 01:07:42.274
write it on an envelope, you know? Think about how you write out the... How many times have you written that? Because it's not in any libraries 'cause it's, like, all used a little differently each time. Yeah, yeah.

479
01:07:42.334 --> 01:07:51.914
Like, you just write out that exact same, you know. You've name-checked, uh, Elon a few times. Yeah. I think about both of you as systems thinkers. Input, output, thing, something in between. Sure.

480
01:07:52.154 --> 01:07:58.414
What's different about your style versus his? Elon's fundamental science for the world is physics, mine is information theory. But you, you do a lot of physics as well.

481
01:07:58.474 --> 01:08:05.554
I mean, like, you, you base a lot of- And Elon does, and Elon does a lot of information theory as well- Yeah... too. But the difference maybe is expressed in what your ambitions are, right?

482
01:08:05.894 --> 01:08:16.414
Elon's ambitions may be, like, just- Go to Mars... go to Mars, right? Go to Mars is the ultimate modern, modernist physics- Mm-hmm... ambition, right? It's a physics pro- I'm getting to Mars, right?

483
01:08:16.794 --> 01:08:23.674
Well, what are electric cars? That's a physics problem, right? Okay, now he's, like, pushing on the autonomy stuff, and you push a little on information theory.

484
01:08:24.054 --> 01:08:32.374
But fundamentally, his dreams are physics-based dreams, right? My dreams are information-based dreams. I wanna live forever in virtual reality with my AI girlfriend. Those are the aspirations- Mm-hmm...

485
01:08:32.374 --> 01:08:38.914
of someone who accepts information theory as a core science. So I think that's the main difference between me and him. He has physics-based aspirations, and I have information-based aspirations.

486
01:08:39.334 --> 01:08:50.974
Marc Andreessen, he is a, uh, hi, Marc, he's a listener. He is a big proponent of effective accelerationism. You've been a bit, bit more critical. Why do you say that EAC is not taken seriously by its adherents? Oh.

487
01:08:51.274 --> 01:09:02.254
Well, only the left takes ideology seriously. It's just, like, a fact, right? Is the right more cynical? Is that what it is? I don't know. It's like the left actually manages to get energy around the ideologies, right?

488
01:09:02.634 --> 01:09:09.294
Look, here you have, you have two effective altruists named Sam going in front of Congress, right? Only one of them is in jail. [laughs] Um, you know, it's, it's interesting.

489
01:09:09.494 --> 01:09:19.434
Uh, they're both calling for regulation in their respective spaces, right? So SBF is definitely, like, kind of a ch- wolf in sheep's clothing, kind of, right? Like, he, he only adopted EAC or EA, uh, to market.

490
01:09:19.474 --> 01:09:26.654
Oh, like Sam Altman is a, is a genuinely good guy who is not interested in power-seeking for himself. All right. Okay. Um [laughs] Okay. We, we don't, we don't have to go there. Fair enough. Fair enough.

491
01:09:26.974 --> 01:09:30.154
But, uh, no, EAC is not, like, like, you are not serious, right?

492
01:09:30.594 --> 01:09:39.054
Marc Andreessen, I like Marc Andreessen, but it's, like, someone who's in, like, 2019, whose, like, eyes were opened about, like, the political world being not exact.

493
01:09:39.054 --> 01:09:47.094
"You mean all the people on the news were lying to me?" [laughs] Yeah, bro, they were lying to you. Like, okay, we all figured this out five years ago. Now what are you gonna do about it?

494
01:09:47.274 --> 01:09:58.714
I'm gonna complain about it on Twitter. Great, and that's what EAC is. [laughs] Last, and maybe most important, why was Avatar 2 bad? Well, I have a whole... You can go on my blog. I rewrote the script of Avatar 2.

495
01:09:58.894 --> 01:10:08.454
I wrote a script that actually might make you feel something for the characters. I killed Jake Sully in the first scene. Like, you had to, right? Do you really think his second story arc- Yeah... topped his first one?

496
01:10:08.494 --> 01:10:16.894
No, of course not. You had to kill the guy and make the movie about the brothers, right? And just that alone and realizing that, right? Like, you could've kept the Titanic scene. It would've been fine.

497
01:10:16.914 --> 01:10:25.554
I didn't even take it out. I left your Titanic scene, James Cameron. [laughs] But I wrote you a story that, so you know, just, just, just [laughs] He needs ships to sink in water. He needs...

498
01:10:25.574 --> 01:10:32.674
Well, I, look, it's, it's a great scene, but, like, the movie was just, like, like, the, the roman- ah, never mind. Great CGI, you know, let down by the writing maybe.

499
01:10:32.894 --> 01:10:40.574
It's a beautiful world, and that's why, like, I care so much, right? Like, you don't hear me ranting about Pirates of the Caribbean 2- Right... being a terrible story, 'cause come on. What do you expect, man?

500
01:10:40.954 --> 01:10:47.454
Like, Johnny Depp's like, "Wow, I had a movie that made me rich? I love this." [laughs] Right? Like... But this goes back to, like, the midpoint, you know.

501
01:10:47.494 --> 01:10:55.914
I think you wrote, like, feels like ChatGPT wrote the movie, and that's my worry a little bit. It's, like, kinda converging towards that. Oh, I, I- Malik, Malik wrote the movie.

502
01:10:55.934 --> 01:11:05.134
[laughs] Sorry, I didn't wanna interrupt you. No, no. I, I closed a pull request two days ago. I was like, "Was this written by ChatGPT?" And I just closed it. And like, you know what?

503
01:11:05.214 --> 01:11:16.494
I honestly feel bad if you were a human who wrote this. Incapable of being more perplexed. But if you, if I have a classifier running in my head that asks, you know, is this a AI or is this a human, like, you know.

504
01:11:17.034 --> 01:11:27.114
The, the only way to deal with all this, like, like, like, oh, God, it's, like, the worst possible. Like, you know, people are like, "How are you mad about, like, these chatbots and you're not mad about, like, Tesla?"

505
01:11:27.494 --> 01:11:34.174
I don't wanna buy a Tesla. I don't have to buy a Tesla, and it won't really impact my life negatively. But if I don't wanna use a chatbot, it's still gonna impact my life negatively.

506
01:11:34.514 --> 01:11:43.874
Oh, the amount of, like, personalized spam that now makes me spend more cycles on my classifier- [laughs]... to tell if it's spam or not, because you can now use AIs and generate this so cheaply. Oh, God.

507
01:11:43.894 --> 01:11:50.134
Like, no, I mean, we have to move to a model where everything's just a dollar, right? Like, you wanna send me an email? It's a dollar. Like, you guys wouldn't care. None of my friends would care.

508
01:11:50.174 --> 01:12:00.254
No one would care except the spammers, right? Like, we just gotta move to those sort of models. Awesome. One last message you want everyone to remember? Go try TinyGrad. I hope that

509
01:12:01.314 --> 01:12:06.014
we're a serious competitor to, to what's out there, and then I wanna take it all the way.

510
01:12:06.054 --> 01:12:14.734
We'll start with just building something for GPUs, and then we'll start building chips, and then we'll start building fabs, and then we'll start building silicon mines, and then we'll have the first self-reproducing robot using...

511
01:12:15.074 --> 01:12:21.294
Yeah, okay. [laughs] All right, George. Thank you so much for coming on. Thank you for having me. You've been a big inspiration. Thank you. Thanks.

512
01:12:21.294 --> 01:12:41.094
[outro music]
