[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

Aperta
#1,097 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
ai, performance

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
2.1k
Fork
184
Merge medio
12h 22m
PR unite (30g)
239

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ROCm/FastFlowLM

Tutte le issue di ROCm/FastFlowLM

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.