[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

Abierto
#1,097 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
cpp
Área
ai, performance

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C++
Estrellas
2.1k
Forks
184
Merge medio
12 h 22 min
PR fusionados (30 d)
239

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ROCm/FastFlowLM

Todos los issues de ROCm/FastFlowLM

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.