If you're running LLMs on anything other than NVIDIA GPUs, this is your best option. It's pure C++ inference that actually works well on M1/M2/M3 Macs, AMD cards, or just CPUs. The GGUF quantization is the killer feature: you can run a 7B model in 4GB at Q4_K_M with surprisingly little quality loss and get 50 tokens per second on an M3 Max. It ships with an OpenAI-compatible server, so you can drop it into existing code. The honest take is that if you have NVIDIA hardware you should use vLLM or TensorRT-LLM for better throughput, but for edge deployment, local development on Macs, or anything without CUDA, this is the standard.

skills.sh installs
1K
GitHub stars
14.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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/

Sponsors

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
Backend & APIs, AI & Agent Building, Data Science & ML
First seen
Jun 3, 2026

More from orchestra-research/ai-research-skills

All 95
1kostja94 avatarsignup-login-page-generatorkostja94/marketing-skillsWhen the user wants to create, optimize, or audit signup and login pages. Also use when the user mentions "signup page," "login page," "registration page," "aut1Kskills.sh installs
2joeseesun avatarqiaomu-opencli-oneshotjoeseesun/qiaomu-opencli-skillsUse when quickly generating a single OpenCLI command from a specific URL and goal description. 4-step process — open page, capture API, write TS adapter, test. 1Kskills.sh installs
3samuraigpt avatarmuapi-platformsamuraigpt/generative-media-skillsSetup and utility scripts for muapi.ai — configure API keys, test connectivity, and poll for async generation results1Kskills.sh installs
4modelcontextprotocol avatarconvert-web-appmodelcontextprotocol/ext-appsThis skill should be used when the user asks to "add MCP App support to my web app", "turn my web app into a hybrid MCP App", "make my web page work as an MCP A1Kskills.sh installs
5orchestra-research avatarnemo-evaluator-sdkorchestra-research/ai-research-skillsEvaluates LLMs across 100+ benchmarks from 18+ harnesses (MMLU, HumanEval, GSM8K, safety, VLM) with multi-backend execution. Use when needing scalable evaluatio1Kskills.sh installs
6patternsdev avatarreact-selective-hydrationpatternsdev/skillsTeaches selective hydration combined with streaming SSR in React 18+. Use when you need to prioritize hydrating interactive components while streaming the rest 1Kskills.sh installs