Skip to content

Local LLM inference engine for CPUs, Apple Silicon, and non-NVIDIA GPUs with GGUF quantization.

CCM score
53 of 100
skills.sh installs
1.1K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CPU, Metal, ROCm, and CUDA builds, with GGUF quantization from Q2_K through Q8_0 and a recommended Q4_K_M default
  • Includes llama-cli for one-shot and interactive chat, plus llama-server for an OpenAI-compatible HTTP endpoint
  • Supports constrained output through --grammar-file for JSON-only generation and context windows up to 32K tokens
  • Designed for edge deployment and Apple Silicon Macs where CUDA-based engines such as vLLM or TensorRT-LLM are unavailable

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill llama-cpp -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

llama.cpp

Pure C/C++ LLM inference with minimal dependencies, optimized for CPUs and non-NVIDIA hardware.

When to use llama.cpp

Use llama.cpp when:

  • Running on CPU-only machines
  • Deploying on Apple Silicon (M1/M2/M3/M4)
  • Using AMD or Intel GPUs (no CUDA)
  • Edge deployment (Raspberry Pi, embedded systems)
  • Need simple deployment without Docker/Python

Use TensorRT-LLM instead when:

  • Have NVIDIA GPUs (A100/H100)
  • Need maximum throughput (100K+ tok/s)
  • Running in datacenter with CUDA

Use vLLM instead when:

  • Have NVIDIA GPUs
  • Need Python-first API
  • Want PagedAttention

Quick start

Installation

# macOS/Linux
brew install llama.cpp

# Or build from source
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
make

# With Metal (Apple Silicon)
make LLAMA_METAL=1

# With CUDA (NVIDIA)
make LLAMA_CUDA=1

# With ROCm (AMD)
make LLAMA_HIP=1

Download model

# Download from HuggingFace (GGUF format)
huggingface-cli download \
    TheBloke/Llama-2-7B-Chat-GGUF \
    llama-2-7b-chat.Q4_K_M.gguf \
    --local-dir models/

# Or convert from HuggingFace
python convert_hf_to_gguf.py models/llama-2-7b-chat/

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Research & Academic, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the llama-cpp skill do?

The llama-cpp skill runs LLM inference on CPUs, Apple Silicon, and consumer AMD or Intel GPUs without NVIDIA hardware. It supports GGUF quantization from 1.5 to 8 bits to reduce memory use and reports a 4-10× speedup versus PyTorch on CPU.

When should I use the llama-cpp skill instead of TensorRT-LLM or vLLM?

Use this skill for CPU-only machines, Apple Silicon Macs, AMD or Intel GPUs, edge devices like Raspberry Pi, and setups where CUDA is unavailable. The skill's own guidance points to TensorRT-LLM or vLLM when you have NVIDIA A100 or H100 GPUs and need maximum throughput.

How do I install the llama-cpp skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill llama-cpp -y in your project to install it. Once installed, the agent can help you build llama.cpp, download GGUF models, and run them through llama-cli or the OpenAI-compatible llama-server.

Where does the llama-cpp skill sit in the AI Agents & LLM Apps category?

The llama-cpp skill is listed in the AI Agents & LLM Apps category on Claude Marketplaces, alongside microsoft-foundry, azure-ai and several google-agents-cli skills. It stands apart by focusing on CPU and non-NVIDIA hardware inference with GGUF quantized models.

More from orchestra-research/ai-research-skills

All 92

Similar to Llama Cpp

More AI Agents & LLM Apps