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

Offen
#925 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
C++
Sterne
2.1k
Forks
184
Ø Merge
12 Std. 22 Min.
Gemergte PRs (30 T.)
239

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ROCm/FastFlowLM

Alle Issues in ROCm/FastFlowLM

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.