<?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>量子化 on 備忘録２</title>
    <link>https://posts.oshiteku.app/tags/%E9%87%8F%E5%AD%90%E5%8C%96/</link>
    <description>Recent content in 量子化 on 備忘録２</description>
    <image>
      <title>備忘録２</title>
      <url>https://posts.oshiteku.app/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://posts.oshiteku.app/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.155.1</generator>
    <language>ja-jp</language>
    <lastBuildDate>Mon, 12 Oct 2026 09:00:00 +0900</lastBuildDate>
    <atom:link href="https://posts.oshiteku.app/tags/%E9%87%8F%E5%AD%90%E5%8C%96/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LLM の3値量子化を試した (Qwen3.8-27B)</title>
      <link>https://posts.oshiteku.app/sanshoku-blend/</link>
      <pubDate>Mon, 12 Oct 2026 09:00:00 +0900</pubDate>
      <guid>https://posts.oshiteku.app/sanshoku-blend/</guid>
      <description>&lt;h2 id=&#34;tldr&#34;&gt;TL;DR&lt;/h2&gt;
&lt;p&gt;コーディングエージェント用途でサクサク動く LLM が欲しかったので量子化モデルを作りました。Deepseek Harness で運用してますがそこそこ動きます。
llama.cpp に対応してますので興味がある方はお試しください。&lt;/p&gt;
&lt;div class=&#34;link-card&#34;&gt;
  &lt;a href=&#34;https://huggingface.co/oshiteku/Sanshoku-Qwen3.8-3.6-27B-blend-GGUF&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;div class=&#34;link-card-content&#34;&gt;
      &lt;div class=&#34;link-card-title&#34;&gt;Sanshoku-Qwen3.8-3.6-27B-blend-GGUF&lt;/div&gt;&lt;div class=&#34;link-card-url&#34;&gt;huggingface.co/oshiteku/Sanshoku-Qwen3.8-3.6-27B-blend-GGUF&lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;style&gt;
.link-card {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.link-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-card a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.link-card-image {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  overflow: hidden;
  background: var(--tertiary);
}

.link-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-card-content {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.link-card-description {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-card-url {
  font-size: 0.8rem;
  color: var(--tertiary);
  margin-top: auto;
}

@media (max-width: 640px) {
  .link-card a {
    flex-direction: column;
  }

  .link-card-image {
    width: 100%;
    height: 180px;
  }
}
&lt;/style&gt;

&lt;ul&gt;
&lt;li&gt;学習
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://huggingface.co/JetBrains/Qwen3.8-3.6-27B-blend&#34;&gt;Qwen3.8-3.6-27B-blend&lt;/a&gt; を参考にマージモデルを教師として QAT (3値)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;性能
&lt;ul&gt;
&lt;li&gt;RTX 4000 Ada (20 GB) で 56.8 tok/s (MTP 有効)&lt;/li&gt;
&lt;li&gt;SWE-bench Verified は 58.0% で &lt;a href=&#34;https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf&#34;&gt;Ternary-Bonsai-2-27B&lt;/a&gt; (60.8%) と同程度&lt;/li&gt;
&lt;li&gt;1タスクあたりの時間は約4割短い (ループ抑制のチューニングを入れている)&lt;/li&gt;
&lt;li&gt;単発の推論や知識問題は Ternary-Bonsai-2-27B に劣る&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Claude Code と Codex のパワーで一連の実験を進めました。1 GPU (B300) でも最適化すれば QAT は結構行けるなという印象です。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
