Home›Local LLM / Open Models›VRAMに乗らないMoEをNVMe+GPU推論で動かす:Hypura/llama.cpp/TurboQuant解説
VRAMに乗らないMoEをNVMe+GPU推論で動かす:Hypura/llama.cpp/TurboQuant解説

VRAMに乗らないMoEをNVMe+GPU推論で動かす:Hypura/llama.cpp/TurboQuant解説This article explains how to run large MoE models that exceed VRAM capacity by…

元記事を読むRead original articlezenn.dev(新しいタブで開きます)(opens in a new tab)
AI2 点サマリ2 key points
  • VRAMに収まらない大規模MoEモデルをNVMeストレージとGPUを組み合わせて実用的に推論する手法を、Hypura・llama.cpp・TurboQuantの三ツールを軸に解説した記事。
  • コンシューマー環境でも巨大モデルを動かせる可能性を示す点で注目に値する。
  • This article explains how to run large MoE models that exceed VRAM capacity by offloading layers to NVMe storage while leveraging GPU acceleration, using Hypura, llama.cpp, and TurboQuant.
  • It matters because it opens a practical path for running frontier-scale models on consumer hardware.

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (zenn.dev) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (zenn.dev).

要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.

Sparse MoE

VRAMに収まらない大規模なSparse MoEモデルを、NVMeストレージとGPUの組み合わせで推論する手法が示されている。Hypura、llama.cppのresearch fork、TurboQuantを軸に、コンシューマGPUで巨大なモデルを扱う可能性を提示する内容だ。

NVMeとGPU

Qwen3-235BやDeepSeek V3のようなSparse MoEモデルでは、全パラメータが毎回使われるわけではなく、実際の推論で利用するのはトークンあたり数エキスパートに限られる。一方、モデル全体のGGUFファイルは20〜200GB以上に達するため、VRAM 8〜16GBのRTX 5060 Tiには収まらない。

zapabobの3リポジトリは、GGUFをNVMeに読み取り専用で配置し、活性化されたエキスパートだけをGPUで処理する設計を採用する。mmapも読み取り専用の操作であり、NVMeへの書き込みは発生しない。さらに、OSのページキャッシュがヒットした場合は、NVMeアクセス自体も発生しない。

TurboQuant

KVキャッシュに関するablationでは、RTX 3060 12GBとQwen3.5-9Bを用いた結果として、key_only_block_so8_triality_vectorが品質を保ちながらKVキャッシュを37%削減した。この方式はプロダクション推奨ラインとされている。

また、RTX 3060 12GBによるリアルハードウェア検証は、Qwen3.5-9BとGemma 4を対象に行われている。

Hypura v1.0.0

Hypura v1.0.0の核心として挙げられているのが、Triality Council実行パスと4階層テンソル配置だ。モデル全体をGPUのVRAMへ載せるのではなく、NVMe上のGGUFとGPU処理を組み合わせる構成により、容量の大きなSparse MoEモデルの推論を可能にする設計となっている。

Large MoE Models

This article explains how Hypura, llama.cpp, and TurboQuant can run large sparse mixture-of-experts models that exceed available VRAM by combining NVMe storage with GPU acceleration. The approach matters because it offers a practical path for operating very large models on consumer hardware.

Models such as Qwen3-235B and DeepSeek V3 activate only a few experts per token during inference, rather than using every parameter. Even so, the complete GGUF files can range from 20GB to more than 200GB, far beyond the 8GB to 16GB of VRAM available on consumer GPUs such as the RTX 5060 Ti.

GGUF on NVMe

The three zapabob repositories address this capacity gap by keeping the GGUF file on NVMe in read-only form and processing only the activated experts on the GPU. This lets inference use GPU acceleration without requiring the entire model file to reside in VRAM.

The design does not write data to NVMe. Memory mapping is read-only, and when the required data is already present in the operating system’s page cache, the process does not need to access the NVMe device itself.

TurboQuant KV Cache

zapabob/llama.cpp is a research fork of ggml-org/llama.cpp focused on SO(8) Triality and TurboQuant KV-cache research. An ablation test using Qwen3.5-9B on an RTX 3060 with 12GB of VRAM found that key_only_block_so8_triality_vector reduced the KV cache by 37% while preserving quality. The article identifies this configuration as the recommended production line.

Real-hardware validation was also performed on an RTX 3060 with 12GB of VRAM using Qwen3.5-9B and Gemma 4.

Hypura v1.0.0

Hypura v1.0.0 centers on the Triality Council execution path and a four-tier tensor-placement system. Together with the read-only NVMe model layout, GPU processing of activated experts, and TurboQuant KV-cache work, this forms the article’s method for running sparse MoE models whose full parameter files cannot fit into consumer GPU memory.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPoko自宅のPCで大きなAIモデルを試すとき、これは普段の何が変わるの?仕事での使い方にも関係ある?When I try a huge AI model on my home PC, what changes in everyday use? Could this affect how I use it for work too?
  2. TECHガイドTECH Guideこの記事では、巨大なMoEをNVMeに読み取り専用で置き、必要なエキスパートだけGPUで処理するんじゃ。消費者向け環境でも実用的に推論できる可能性があるのう。The article keeps the huge MoE file read-only on NVMe and sends only activated experts—the parts needed for that token—to the GPU. That could enable practical inference on consumer hardware.
  3. ポコPoko前はできなかったの?VRAMが足りないと、大きなモデルは試せないと思ってた。Wasn’t that possible before? I thought a large model was off-limits if you didn’t have enough VRAM.
  4. TECHガイドTECH Guide説明されている範囲では、20〜200GB以上のモデル全体は8〜16GBのVRAMに収まらないんじゃ。そこでSparse MoEが一部だけ使う性質を生かすわけじゃよ。As described, a 20–200GB-plus model cannot fit into 8–16GB of VRAM. The method instead uses Sparse MoE’s trait of activating only a few experts per token.
  5. ポコPokoつまり、全部をGPUに詰め込まず、必要な部分だけ動かせば、手元の環境でも巨大モデルを試せるかもしれないんだね!So instead of cramming everything onto the GPU, I might run only the needed parts and try a huge model on hardware I already have. That’s exciting!
  6. TECHガイドTECH Guideそうじゃな。次に注目したいのは、RTX 3060 12GBとQwen3.5-9Bで、品質を保ちながらKVキャッシュを37%減らした検証結果じゃ。Exactly. Another result worth noting is the test on an RTX 3060 12GB with Qwen3.5-9B, where KV cache was reduced by 37% while preserving quality.
記事情報・収集記録Article details & collection record
出典Source
Zenn LLMコミュニティCommunity
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
JA
重要度の位置づけImportance in this lane
MediumMedium priority(Local LLM / Open Models 238件中、同等以上 191件)(191 of 238 Local LLM / Open Models entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.1 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
中期 (チュートリアル)Medium-term (tutorial)

🏠Local LLM / Open Models の他の記事More from Local LLM / Open Modelsもっと見る →View more →

ページ上部へScroll to top