[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 天内回复
还没有人认领这个 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-nextactivates 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 tommap/ PowerInfer / llama.cpp expert offloading) would make 100B+ sparse MoE models usable on 64GB laptops.
Requested Feature
- Option to offload cold MoE experts / embedding lookup tables to NVMe SSD when total model size exceeds available VGM/system RAM.
- 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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ROCm/FastFlowLM 的其他 Issue
-
Update Gemma tokenizer.json after Google's recent fix可能已有人在做 @four1er 于 6 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
ROCm/FastFlowLM#1057 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
ROCm/FastFlowLM#757 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
ROCm/FastFlowLM#744 · 2 条评论 ·
维护者通常 1 天内回复
-
Truncated tool call is emitted as a complete one (unterminated heredoc reaches the client)可能已有人在做 @Javinator9889 于 72 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
ROCm/FastFlowLM#741 · 1 条评论 ·
维护者通常 1 天内回复
-
Download timeout可能已有人在做 @stdevPavelmc 于 200 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
ROCm/FastFlowLM#520 · 7 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
riscv-software-src/riscv-isa-sim#2640 ·
维护者通常 1 天内回复
-
bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
difficulty:easy func:gui prio:normal type:bug
难度 2/5 1-3 小时 新手友好度 78/100
NatronGitHub/Natron#2118 ·
维护者通常 1 天内回复
-
Bug
难度 1/5 1 小时以内 新手友好度 82/100
-
mechanics UI
难度 2/5 1-3 小时 新手友好度 73/100
endless-sky/endless-sky#12949 ·
维护者通常 1 天内回复