This is your go-to for converting models to GGUF and running them with llama.cpp, especially if you're deploying on Apple Silicon, consumer hardware, or need CPU inference. The skill covers the full workflow: converting HuggingFace models, quantizing with K-quant methods (Q4_K_M is the recommended default), and using importance matrices for better quality at lower bits. It includes both CLI and Python examples with llama-cpp-python, plus server mode for OpenAI-compatible APIs. The real value is in the practical workflows and the quantization comparison table showing actual size/quality tradeoffs. If you need maximum speed on NVIDIA in production, you'd want TensorRT-LLM instead, but for flexible deployment across hardware without GPU requirements, this covers everything.

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

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill gguf-quantization --agent claude-code

Installs into .claude/skills of the current project.

Files

GGUF - Quantization Format for llama.cpp

The GGUF (GPT-Generated Unified Format) is the standard file format for llama.cpp, enabling efficient inference on CPUs, Apple Silicon, and GPUs with flexible quantization options.

When to use GGUF

Use GGUF when:

  • Deploying on consumer hardware (laptops, desktops)
  • Running on Apple Silicon (M1/M2/M3) with Metal acceleration
  • Need CPU inference without GPU requirements
  • Want flexible quantization (Q2_K to Q8_0)
  • Using local AI tools (LM Studio, Ollama, text-generation-webui)

Key advantages:

  • Universal hardware: CPU, Apple Silicon, NVIDIA, AMD support
  • No Python runtime: Pure C/C++ inference
  • Flexible quantization: 2-8 bit with various methods (K-quants)
  • Ecosystem support: LM Studio, Ollama, koboldcpp, and more
  • imatrix: Importance matrix for better low-bit quality

Use alternatives instead:

  • AWQ/GPTQ: Maximum accuracy with calibration on NVIDIA GPUs
  • HQQ: Fast calibration-free quantization for HuggingFace
  • bitsandbytes: Simple integration with transformers library
  • TensorRT-LLM: Production NVIDIA deployment with maximum speed

Quick start

Installation

Sponsors

Details

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

More from orchestra-research/ai-research-skills

All 95
1zubair-trabzada avatargeozubair-trabzada/geo-seo-claudeGEO-first SEO analysis tool. Optimizes websites for AI-powered search engines (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews) while maintaining tradi1.1Kskills.sh installs
2daymade avatarclaude-md-progressive-disclosurerdaymade/claude-code-skillsOptimize / slim down / restructure a CLAUDE.md (or AGENTS.md) using progressive disclosure — move low-frequency detail to Level 2 references while keeping Level1Kskills.sh installs
3davila7 avatarsenior-prompt-engineerdavila7/claude-code-templatesWorld-class prompt engineering skill for LLM optimization, prompt patterns, structured outputs, and AI product development. Expertise in Claude, GPT-4, prompt d1Kskills.sh installs
4ailabs-393 avatartech-debt-analyzerailabs-393/ai-labs-claude-skillsThis skill should be used when analyzing technical debt in a codebase, documenting code quality issues, creating technical debt registers, or assessing code mai988skills.sh installs
5alirezarezvani avatarsenior-prompt-engineeralirezarezvani/claude-skillsUse when the user asks to optimize prompts, design prompt templates, evaluate LLM outputs with an eval set, measure RAG retrieval quality, validate agent/tool c984skills.sh installs
6asyrafhussin avatarapi-design-patternsasyrafhussin/agent-skillsRESTful API design, error handling, versioning, and best practices. Use when designing APIs, reviewing endpoints, implementing error responses, or setting up AP984skills.sh installs