Feature Request: Support for LFM3 and Liquid MoE models
Motivation
Running 9B dense models on NPUs is painfully slow due to limited NPU compute performance.
Currently, the best model for an NPU is LiquidAI/LFM3-1.7B. However, MoE models are an ideal fit for NPUs: they trade higher memory usage for lower compute requirements.
- An 8B-A1B MoE performs roughly like a 4B dense model.
- A 24B-A2B MoE performs roughly like a 9B dense model.
When LiquidAI updates LiquidAI/LFM2.5-8B-A1B and LiquidAI/LFM2.5-24B-A2B, these will be prime candidates for NPU inference.
Request
Add support in OpenFlowLM-Next for:
- LFM3 (
LiquidAI/LFM3-1.7B) - Liquid MoE models (
LiquidAI/LFM2.5-8B-A1B,LiquidAI/LFM2.5-24B-A2B, and future updates)
just a note -- I have LFM2.5-24B-A2B working in the open kernels phlegm end-to-end, so i wouldn't waste time implementing that -- we'll just pull it in here.
got LFM3 there as well, now. I need to figure out how to best deliver PR updates to the open kernels hosted in this repo. PRs are moving like molasses lately and I don't want to make the problem worse, so I'm exercising restraint. I was hoping to clear out the existing PR backlog a bit before adding more, but you just tell me what you want @Atomic-Germ
@Cyronius a pipeline for simplified kernel family additions and less friction in contribution is coming