[Feature]: Support SSD Lookup Table / Expert Offloading for large MoE models (e.g., qwen3.8-flash-next-oga-hipep:125b-a6b) on 64GB Unified Memory systems

オープン
#1,097 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp
領域
ai, performance

調査の方向性

This is a design request with no files, tests or entry points named, so the first step is reading the repository's model-loading and weight-allocation path in the C++ sources to see where a memory budget could be imposed before initialization. Compare against llama.cpp / PowerInfer style expert offloading and the qwen3.8-flash-next-oga-hipep:125b-a6b model config to judge whether the 6B-active-parameter assumption holds for this runtime. Done means a configurable RAM/VRAM cap that prevents Windows OOM at load and at least a documented path for streaming cold experts from NVMe. Expect maintainer design discussion before any code lands.

索引モデルが issue の本文から書いたものです。

説明

Suggestion Description
Summary

Please consider adding SSD lookup table / dynamic expert offloading (or mmap/page-in support) for large MoE models such as qwen3.8-flash-next-oga-hipep:125b-a6b on systems with unified memory

Motivation & Hardware Context
  • Hardware: AMD Ryzen AI 9 HX PRO 375
  • Current Limitation: qwen3.8-flash-next-oga-hipep:125b-a6b (~124GB download, ~78GiB GPU memory requirement) currently cannot be loaded on 64GB systems, restricting it to 128GB Ryzen AI Max+ devices.
  • Why it makes sense for this model: qwen3.8-flash-next activates only 6B parameters per token (125b-a6b). Because active compute/bandwidth per token is small, keeping attention layers, router weights, and hot experts in RAM/VRAM while streaming cold expert weights or lookup tables from NVMe SSD (similar to mmap / PowerInfer / llama.cpp expert offloading) would make 100B+ sparse MoE models usable on 64GB laptops.
Requested Feature
  1. Option to offload cold MoE experts / embedding lookup tables to NVMe SSD when total model size exceeds available VGM/system RAM.
  2. Configurable memory budget flag (e.g., capping RAM/VRAM allocation to ~48GB on 64GB systems) so Windows doesn't hit OOM during model initialization.
Operating System

No response

GPU

No response

ROCm Component

No response

主要言語
C++
スター
2.1k
フォーク
184
平均マージ
12時間 22分
マージ済み PR(30日)
239

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ROCm/FastFlowLM のほかの issue

ROCm/FastFlowLM の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。