My laptop is nearly four-years-old, which is pretty unusual in my history of devices. I have an early 2023 M2 MacBook Pro with 16 gigs of RAM. It was $2,500 at the time, which at the time was a little expensive for not having twice the RAM. Regardless, most of what I've coded since then came out of that machine.
The reason that I'm thinking about it now is because it's getting more and more possible to run LLM's (large language models) locally, without paying for a cloud provider. I tinkered with this earlier in the year on my Windows desktop, because it has a GPU with 16 gigs of dedicated RAM. I could get smaller models to run, but for coding it wasn't ideal. Even at that time, people were buying some expensive Macs to run models. The ARM-based Apple processors with integrated memory and GPU's are ideal for this. Now, they're pushing a newer laptop with an OLED screen (finally). Meanwhile, Nvidia started shipping their own ARM processor for Windows machines, which makes everything more interesting, since their tech is what powers much of the world's cloud-based AI, not to mention gaming graphics.
The key to running LLM's is lots of memory, and it has to be tied to the GPU, which is why these ARM systems that combine the CPU, GPU and memory on one chip are ideal. You can buy a Mac Studio with 512 gigs for like $22,000, which is nuts. But ideally, you need 64, or even better, 128 to run the open source models that are good enough. Because of all of the data center construction, everything is already stupid expensive. On the Mac side, you need to spend $4,400 to get to 64 gigs. Ouch. You can do 48 for $4k. But 128 requires you to spend over $7k. On a laptop!
On the Windows side, things are still expensive, but in the realm of reasonable. Lenovo has a nice machine with 64 gigs for $3,750. Microsoft's version is $4,300. But hey, their 128 gig model is "only" $5,900, quite a bit cheaper than the Mac. The Windows machines are tricky, because the amount of memory that you can dedicate to the GPU is limited, apparently to 48 out of 64. That limits your model size, though it seems like a software decision.
So while things are more possible, they aren't cheap. I think about it because the trade-in trap applies here. My current M2 is still worth nearly a grand, but it won't be forever. I don't need it, but I like the idea of private, local AI.
No comments yet.