Mark Pitt
claude-skills
  1. claude-skills
  2. AI engineering
  3. local-llm-serving
  4. README.md

A file in local-llm-serving

README.md

Markdown 2.0 KB
README.mdMarkdown, rendered

<!-- Generated by scripts/sync_skill_packaging.py. Edit SKILL.md instead; this file is rebuilt from it. -->

local-llm-serving

Serve local GGUF models on a single consumer GPU (for example 24 GB) through llama-swap, optionally fronted by LiteLLM, with Ollama and LM Studio as alternatives. Covers the llama-swap config.yaml (models, llama-server flags, ttl, routing sets, proxy port), GGUF placement and disk planning, VRAM-fit arithmetic for weights and KV cache, a systemd --user unit with linger, health checks, diagnosing load failures and cold-start timeouts, LiteLLM aliases, and WSL2 GPU passthrough. Use when setting up, sizing, debugging or routing a local model server, when a local model will not load, runs out of memory or is slow after a swap, or when an agent must reach a local model through LiteLLM. Do NOT use to ask a System One decision model a question or to triage with the decide tool (use decision-models), for choosing a hosted API model, or for GPU driver or CUDA development.

Install

Copy this directory into either skills location, then start a new session:

cp -r local-llm-serving ~/.claude/skills/       # personal, all projects
cp -r local-llm-serving .claude/skills/         # this project only

For Claude Desktop, zip the directory and upload it under Settings, Capabilities, Skills. Released builds attach a ready-made zip.

Bundled files

Loaded on demand, not up front. SKILL.md routes to them.

Part of a larger set

One of the AI engineering skills (claude-skills-ai-engineering). See the group's list, or every group in claude-skills.