LFM3 (and LFM3-VL decision models) on NPU - is support planned?

Abierto
#925 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
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

This is a roadmap question, not a scoped code change. Start by reading create_new_model.md and the catalog entries in src/out/model_list.json and src/out/model_info.json, then compare with the lfm2 implementation in common/AutoModel/modeling_lfm2.cpp and the LFM3-VL decision-model requirements described in the issue. Done means a maintainer decision on whether LFM3/LFM3-VL support and external XCLBIN/AutoModel contributions are in scope, with the required FLM release and kernel-generation path named.

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

Descripción

Hi - a roadmap question about LFM3 coverage, not a bug report.

Environment: Windows 11, Ryzen AI Strix Halo (gfx1151, XDNA2 / aie2p), FastFlowLM
1.0.11 built from source.

What I observe in 1.0.11:

  • the runtime catalog (src/out/model_list.json) has lfm2 entries and no
    lfm3 entries (29 lfm2, 0 lfm3);
  • the pull metadata (src/out/model_info.json) already lists an lfm3:1.7b
    entry, and FastFlowLM/LFM3-1.7B-NPU2 exists on the Hub, so packaging looks
    to be in progress;
  • the engine sources implement the lfm2 family
    (common/AutoModel/modeling_lfm2.cpp).

Questions:

  1. Is LFM3 (text) support planned, or already gated behind a newer FLM version?
    Which FLM release can serve lfm3:1.7b?
  2. Would an LFM3-VL variant be in scope? LiquidAI's d1-2B ships
    model_type: lfm3_vl with its own model code (D1Model) and is a decision
    model: one forward pass, no generated tokens, and the answer is a softmax
    over option-label token logits at an answer slot. That is the same answer
    shape FLM returns from /v1/systemone.
  3. Is a decision path for a non-d3 family in scope at all? Note that the
    readout uses a non-causal mask (state_attention / Sees: the state is read
    bidirectionally, and each question sees the state), so a plain causal chat
    path is not equivalent - answers taken from a chat endpoint would not be the
    same model.
  4. If a port is on the roadmap, is the create_new_model.md path
    (Step 0 - NPU XCLBIN prerequisites + AutoModel + backend registration)
    open to external contributions, or is kernel generation strictly in-house?

Why we care: on CPU (transformers + trust_remote_code) d1-2B scores 177/231
on a public 231-item decision benchmark, while our best NPU d3 tier (d3:mini)
scores 189/231 at 1.3 s/item on the same set. An NPU d1 path would be worth an
A/B, but nothing on this platform can load LFM3 today.

Happy to provide conversion artifacts, hashes, or run validation if that helps.

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.