llama-cpp

Run LLM inference on CPU and non-NVIDIA hardware with GGUF models.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/t2ance/dr-claw-plugin --skill llama-cpp-t2ance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llama-cpp
Source: https://github.com/t2ance/dr-claw-plugin/tree/main/plugins/ml-training-stack/skills/inference-serving/llama-cpp
Command: npx skills add https://github.com/t2ance/dr-claw-plugin --skill llama-cpp-t2ance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Pure C/C++ LLM inference with minimal dependencies, optimized for CPUs and non-NVIDIA hardware. This enables edge deployments, local experimentation, and offline usage without NVIDIA CUDA.

Core Features & Use Cases

  • CPU and Apple Silicon optimized inference with GGUF quantization formats for memory efficiency.
  • Cross-platform build and run support (Metal on Apple Silicon, CUDA on NVIDIA, ROCm on AMD) for flexible deployment.
  • Real-world use: run quantized models on a laptop or edge device for offline chat or research experiments.

Quick Start

Install llama.cpp on your machine and run a quick test with a GGUF model on CPU.

Frequently Asked Questions about llama-cpp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run LLM inference on CPU and non-NVIDIA hardware?

Run LLM inference on CPU and non-NVIDIA hardware using llama.cpp for edge deployments. It provides a pure C/C++ implementation with GGUF quantization support, enabling local testing and offline apps across Apple Silicon and consumer GPUs.

Can I use GGUF quantized models for offline inference on Apple Silicon Macs?

Yes, you can run GGUF quantized models for offline inference on Apple Silicon Macs. Llama.cpp supports Metal builds for optimized CPU inference, allowing memory-efficient local testing and offline apps without CUDA dependencies.

What is the best way to deploy LLMs on edge devices without CUDA?

The best way to deploy LLMs on edge devices without CUDA is using llama.cpp. It provides a pure C/C++ implementation with GGUF quantization support, enabling lightweight AI demos and offline usage on consumer GPUs and CPUs.

Does llama.cpp support cross-platform builds for AMD GPUs using ROCm?

Yes, llama.cpp supports cross-platform builds for AMD GPUs using ROCm. This allows flexible deployment across non-NVIDIA hardware, alongside Metal for Apple Silicon and standard CPU execution for edge devices.

When should I not use CPU inference for local LLM testing?

You should avoid CPU inference for local LLM testing when handling high-throughput or large-scale deployments. Llama.cpp is optimized for edge devices, lightweight AI demos, and offline apps rather than heavy concurrent workloads.