Run Local Models in Pi: llama.cpp, GGUF, and the /llama Command
by Hugging Face6:11 long11K views
Why watchA six-minute Hugging Face quickstart for Pi users who want a private, offline coding agent running on a local GGUF model through llama.cpp.
What this video covers
This short tutorial on the Hugging Face channel covers running a local model inside the Pi coding agent with llama.cpp. The description gives three reasons to bother: the setup is private, it works offline, and there is no per-token cost, because prompts, code and data never leave your machine.
The intro (0:00) explains why you would want local models in Pi at all. At 0:59 the video moves on to installing llama.cpp. The description links llama.app, which it lists as an installer for llama.cpp that also recommends models, plus the llama.cpp repository on GitHub.
Most of the running time sits in the third chapter, from 1:49, on choosing and loading a model. According to the description, this part explains how to pick a GGUF model and a quantization level that suits your hardware using Hugging Face's hardware compatibility feature. You then download, load and use the model from inside Pi with the /llama command. The example model is Qwen3 8B, set up to work as a local coding agent.
The outro at 5:24 turns to hybrid workflows that mix local and cloud models. That chapter runs under a minute, and its title is the only detail the sources give about it.
Pi's own llama.cpp documentation is linked in the description for anyone who wants the steps in writing. One small mismatch to be aware of: the description also links a Qwen3.8 27B repository on Hugging Face, while the chapter title and the description's summary both name Qwen3 8B as the model used in the video.
At just over six minutes, the video suits someone who already uses Pi, or is curious about it, and wants the shortest route to a working local model. Hardware requirements and speed figures are not given in the sources.
Written by HuiaHub from the creator's title, description and chapters. All credit for the video goes to Hugging Face.
Key takeaways
- Local models in Pi keep prompts, code and data on your machine, with no per-token cost.
- llama.app installs llama.cpp and recommends models.
- Hugging Face's hardware compatibility feature helps match a GGUF quantization to your machine.
- Pi's /llama command downloads, loads and runs a GGUF model from inside the agent.
- Qwen3 8B is the example model, configured as a local coding agent.
Chapters
More videos
22:46intermediateHow Inference Keeps Up with Our Insatiable Need for Tokens — Cerebras & Gimlet Labs
A 22-minute AI Engineer talk for inference engineers that covers runtime tricks like paged KV cache and chunked prefill, then system-level disaggregation and kernel-writing agents.
AI Engineer · 1.2K views ·
14:22intermediateSandboxes Aren't Optional: 4 Ways to Isolate Coding Agents — Robert Brennan, OpenHands
A 14-minute talk from the OpenHands CEO comparing four ways to sandbox coding agents, for developers who run agents with broad permissions.
AI Engineer · 3.9K views ·
19:17intermediateStop Renting Intelligence: The Train-to-Deploy Loop for Specialized AI — Fireworks AI
A 19-minute Fireworks AI talk on training open models on your own data and redeploying them in a continuous loop, for teams weighing closed-model costs.
AI Engineer · 6.1K views ·
14:07intermediateThree Questions Every Agent Engineer Should Be Able To Answer
A 14-minute LangChain talk on finding, reproducing and fixing agent failures using production traces, for engineers who run agents in production.
LangChain · 8.1K views ·