I asked for a working recipe for running Phi-3 models in Python on a Mac using libraries that cleanly "pip install" (no extra compilation step); I had already run Phi-3 successfully via llamafile and its API.
I found SmolLM2 VERY impressive for its size while trying it through LLM and the llm-gguf plugin.
I described SmolLM2-135M-Instruct as a tiny LLM that quantizes down to just below 100MB.
Because it is just below 100MB, I said SmolLM2-135M-Instruct can fit in a PyPI package.
I described llm-smollm2 as the first LLM plugin to include a full model as part of the package.
llm install llm-smollm2
I linked to the bundled-model plugin at https://t.co/JGRQa3ldZi.
I asked, “can anyone find a useful application of a model this small?” about SmolLM2-135M-Instruct.
I said that if you have uv installed, you can start chatting with a small model without first installing anything at all.
The uvx command creates an ephemeral virtual environment, installs the necessary pieces, and starts a chat.
uvx --with llm-smollm2 llm chat -m SmolLM2
I said GPT-OSS 20B can run on Snapdragon phones with 16GB or more of GPU-accessible memory.
I hadn't realized Snapdragon phones had the same unified CPU-GPU memory trick that Apple Silicon has.
I noted that the largest iPhone 17 maxes out at 12GB, which is not enough RAM to run GPT-OSS 20B like this.
llm install llm-gguf
llm gguf download-model 'https:/''/huggingface.co/lmstudio-community/SmolLM2-135M-Instruct-GGUF/resolve/main/SmolLM2-135M-Instruct-Q8_0.gguf' -a smolsmol
llm chat -m smolsmol
I described the tiniest quantized SmolLM2 version as a 95MB file.
For the largest version, I shared these commands to download the quantized 1.7B GGUF as `smol17` and chat with it:
llm gguf download-model 'https:/''/huggingface.co/lmstudio-community/SmolLM2-1.7B-Instruct-GGUF/resolve/main/SmolLM2-1.7B-Instruct-Q8_0.gguf' -a smol17
llm chat -m smol17
I described the largest SmolLM2 option as the largest 1.7B one - a 1.7GB download.
I said, “I run Llama 3.2 3B Instruction on my iPhone using MLC Chat,” and described it as remarkably capable.
I have experimented with small local language models, including Llama 3 through the llm-gpt4all plugin and Phi-3 through llamafile and a browser-based WebGPU demonstration. These notes connect to running models locally and local model plugins and formats.
I upgraded the llm-gpt4all plugin to support running Llama 3 8B Instruct.
I wrote “thanks, @nomic_ai” when describing the llm-gpt4all upgrade.
llm install --upgrade llm-gpt4all
llm -m Meta-Llama-3-8B-Instruct 'Write Python code to print 5 great names for a pet pelican'
The quantized Llama 3 model is a 4.34GB download.
The quantized Llama 3 model needs 8GB RAM.
I shared the model link https://t.co/V2n2DEPOdX.
I shared the release notes for llm-gpt4all 0.4 at https://t.co/KC9HEzDwqC.
I got the 4,000 token context Phi-3 model running using llamafile, following the instructions in its README.
Phi-3 has a 128,000 model; not available as a GGUF yet.
I pointed readers to the Phi-3 README instructions at https://t.co/NS77LmVmiD.
I described Microsoft's Phi-3 as an astonishingly good model.
I noted that Phi-3 is MIT licensed and small enough to run in a browser on WebGPU.
I estimated the Phi-3 download at about a 2.3GB.
I said Phi-3 still provides high quality results for a lot of the stuff I care about.
Related: local model plugins and formats, small and efficient models, running models locally