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

Đang mở
#925 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
machine-learning

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
2.1k
Fork
184
Merge trung bình
12 giờ 22 phút
Pull request đã merge (30 ngày)
239

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ROCm/FastFlowLM

Tất cả issue của ROCm/FastFlowLM

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.