<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>KVキャッシュ on Negi AI Lab</title><link>https://ai.negi-lab.com/tags/kv%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5/</link><description>Recent content in KVキャッシュ on Negi AI Lab</description><image><title>Negi AI Lab</title><url>https://ai.negi-lab.com/images/og-default.png</url><link>https://ai.negi-lab.com/images/og-default.png</link></image><generator>Hugo -- 0.154.5</generator><language>ja</language><lastBuildDate>Mon, 08 Jun 2026 22:08:33 +0900</lastBuildDate><atom:link href="https://ai.negi-lab.com/tags/kv%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5/index.xml" rel="self" type="application/rss+xml"/><item><title>llama.cppでKVキャッシュを最適化し推論を高速化する方法</title><link>https://ai.negi-lab.com/posts/llamacpp-kv-cache-optimization-guide/</link><pubDate>Mon, 08 Jun 2026 00:00:00 +0900</pubDate><guid>https://ai.negi-lab.com/posts/llamacpp-kv-cache-optimization-guide/</guid><description>&lt;p&gt;&lt;strong&gt;所要時間:&lt;/strong&gt; 約40分 | &lt;strong&gt;難易度:&lt;/strong&gt; ★★★★☆&lt;/p&gt;
&lt;h2 id="この記事で作るもの"&gt;この記事で作るもの&lt;/h2&gt;
&lt;p&gt;llama.cppの最新最適化（KVキャッシュのコピー回避）を適用した、長文コンテキストに強いローカルLLM推論環境を構築します。
具体的には、GitHubの最新ソースコードからビルドを行い、Pythonから高速化されたKVキャッシュの恩恵をフルに受けるためのベンチマーク兼推論スクリプトを作成します。
この記事を読み終える頃には、あなたのPCでLLMのレスポンスが物理的に「軽く」なっているはずです。&lt;/p&gt;</description></item></channel></rss>