Loading video...

Video Failed to Load

Go Home

You can now run SQLCoder with a GUI on Apple Silicon or any NVIDIA GPU-enabled device! On Apple Silicon, just run CMAKE_ARGS="-DLLAMA_METAL=on" pip install "sqlcoder[llama-cpp]" sqlcoder launch The Apple Silicon version is not super accurate, but works great for simple questions – and everything happens (fairly fast) on just...

10,405 views • 2 years ago •via X (Twitter)

6 Comments

Cris Lenta's profile picture
Cris Lenta2 years ago

This looks great! Have you tried also running it with .cpp models? Curious of the performance

Rishabh Srivastava's profile picture
Rishabh Srivastava2 years ago

Thank you! The demo above is for a llama.cpp model (with q5 km quantization). Haven't done a rigorous eval on those yet though – will do in a few hours!

Nerdynav's profile picture
Nerdynav2 years ago

hey great work, what's the license for this? Are code llama fine tunes allowed in their Meta's licensing?

Gautam Padiyar's profile picture
Gautam Padiyar2 years ago

GPU with 20gb memory not required?

Rishabh Srivastava's profile picture
Rishabh Srivastava2 years ago

7B model, so you only need ~16GB or so of memory to make it run without beam search

Harsh Patel's profile picture
Harsh Patel2 years ago

On Apple silicon how do I make it use the 7b-2 model? It is downloading the v1 I guess

Related Videos

Everyone wrote Apple off as the AI loser, but one hardware spec might flip that story upside down (Save this). @jason called Apple a screaming buy on the back of a single chip detail. The rumored M7 Ultra, expected around 2028, is designed to support up to 1.5TB of unified memory, enough to run frontier class trillion parameter AI models locally, with no cloud required. The Street's bear case on Apple is straightforward. Apple has no frontier model of its own, Siri has stumbled for years and the company effectively rents OpenAI's models for its hardest queries. That narrative treats Apple as the one Magnificent Seven name that missed the AI wave entirely but the bull case flips that framing on its head. If frontier AI models keep shrinking and getting cheaper to run, Apple doesn't need the smartest model in the world, it just needs to own the device that model runs on. And unified memory is the mechanism that makes this possible. Unlike traditional systems where the CPU and GPU each need separate memory, Apple's architecture lets the CPU, GPU and Neural Engine draw from one shared pool. A fully specced M7 Ultra could theoretically run something on the scale of a 1.2 trillion parameter model locally and that capability plugs directly into the one advantage Apple has spent over a decade building: privacy. Apple has already shipped Private Cloud Compute, a system designed so even Apple can't access user data processed off device. Apple doubled down on this at WWDC 2026, framing on device privacy as non-negotiable while rivals default to the cloud. If the best AI models get small enough to run on Apple silicon, the moat stops being the model and becomes the hardware it has to sit on. Milk Road Pro remains bullish on Apple and it remains as one of our core positions, if you want the full thesis + our full AI trades, come join us using the link below for just a $1.

Milk Road AI

36,711 views • 8 days ago