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

Ouverte
#925 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
20/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
cpp

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C++
Étoiles
2.1k
Forks
184
Merge moyen
12 h 22 min
PR mergées (30 j)
239

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ROCm/FastFlowLM

Toutes les issues de ROCm/FastFlowLM

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.