[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 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
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 分钟
30 天内合并 PR
239

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ROCm/FastFlowLM 的其他 Issue

查看 ROCm/FastFlowLM 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。