At WWDC, the announcements I was most excited about were the new Foundation Models framework and the Containerization framework.
I described Foundation Models as a framework for accessing Apple's local LLMs.
I described Containerization as a way of running Docker-style containers without hosting them all in a Linux VM.
I shared docs for both of those frameworks at https://t.co/Zu3e9NpIws.
I had not realized it had been in Homebrew for ages; I can install it with brew install llama.cpp to get the llama-server binary.
brew install llama.cpp
I explained that running brew install llama.cpp gets you the llama-server binary.
I suggested an official UI wrapper that adds a classic installation experience and maybe even a systray icon.
I proposed an official "Llama Desktop" app that's actually just llama-server wrapped in a Tauri app so non-terminal-native people can install and use the web UI.
I described this as one of the quickest ways to start playing with a good local LLM on macOS.
I said the quick-start setup requires ~12GB of free disk space and RAM.
The model I used for the setup was ggml-org/gpt-oss-20b-GGUF, identified in my post as gpt-oss-20b.
llama-server -hf ggml-org/gpt-oss-20b-GGUF \
--ctx-size 0 --jinja -ub 2048 -b 2048 -ngl 99 -fa https://t.co/xsvruU8hDD
I pointed readers to more notes on my blog about this quick-start setup: https://t.co/Viv0dSzFfd.
I used Codex CLI to modify the Transformers.js Llama 3.2 chat demo to enable loading that 1.2GB model from a local folder instead of fetching it from a URL.
I said llama.cpp made original Llama usable on personal computers.
I wrote about llama.cpp in March 2023.
I said MLX helped make Mac hardware credible as a platform for running LLMs.
I said I'm surprised Apple didn't move heaven and earth to keep Awni.
I have tried tools for running local language models, from an Ollama-backed web interface to the llm-mlx plugin for models on Apple silicon. These notes record my setup commands and the models I confirmed working with llm-mlx, alongside my first impression of Open WebUI. They extend my broader explorations of running models locally.
I got a great first impression running Open WebUI, and it took one command to get it up and running.
uvx --python 3.11 open-webui serve
When I had Ollama running, Open WebUI noticed it and automatically gave me a UI to interact with those models.
I shared this link with my first impression of Open WebUI: https://t.co/hPfNODt6rM.
I introduced llm-mlx as a new LLM plugin for running models on macOS using Apple's MLX framework.
brew install llm
llm install llm-mlx
llm mlx download-model mlx-community/Llama-3.2-3B-Instruct-4bit
llm -m mlx-community/Llama-3.2-3B-Instruct-4bit 'Python code to traverse a tree' https://t.co/oGtjdaMOuC
I described Apple MLX as amazing and said it makes the new macOS plugin possible; I pointed readers to my blog for more details: https://t.co/CYeEg8lJgQ.
The example Llama model I used was mlx-community/Llama-3.2-3B-Instruct-4bit.
I added two example models to my post after confirming they confirmed work great with llm-mlx.
- I confirmed that mlx-community/Mistral-Small-24B-Instruct-2501-4bit worked great with llm-mlx; I listed its size as 13GB, described its results as GPT-4 quality results, and said it used only ~12GB of RAM.
- I confirmed that mlx-community/DeepSeek-R1-Distill-Qwen-32B-4bit worked great with llm-mlx; I listed its size as 18GB and called it a neat demo of "reasoning" model.
Related: small local language models, long context local models, local model plugins and formats