infra-cache

Community

Tune per-model caches for faster inference.

Authorcyberpunk042
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manage AICP's inference-specific caches to optimize prompt tokenization, KV quantization, and embedding cache performance.

Core Features & Use Cases

  • LocalAI prompt cache configuration per model (paths, enable/disable)
  • KV cache quantization tuning (k/v types per model)
  • Anthropic prompt caching for cloud backends
  • Embedding cache management with nomic-embed
  • Use cases: reduce tokenization time, fit larger contexts, cut cloud costs with reuse

Quick Start

Edit config/models/<name>.yaml to enable and tune prompt_cache_path, prompt_cache_all, cache_type_k, and cache_type_v, then restart LocalAI to apply changes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: infra-cache
Download link: https://github.com/cyberpunk042/devops-expert-local-ai/archive/main.zip#infra-cache

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.