Repository navigation
lfm3: admit official MLX text and VL checkpoints - #1513
BlivionIaG wants to merge 3 commits into
Conversation
Prepare text and VL 4/6/8-bit checkpoints with revision-pinned header inspection and native metadata validation. Inference remains unregistered pending operator and model qualification. Refs ashhart#1491
|
Thanks for splitting the admission out. It reads well and the host tests cover it. Could you add a short PR description: what it admits (the six MLX exports and their revisions), what it deliberately doesn't do (no engine, no inference), and that #1514 and #1508 build on it? Then it can leave draft. |
|
A suggestion for this PR, if it helps. The XPU backend for LFM3 (#1666) needs to load the text decoder by these names. Commit
Cherry-pick it if you agree. Otherwise the XPU PR will carry it on top of this one. |
Change
Admit official LiquidAI LFM3-1.7B and LFM3-VL-2B MLX 4/6/8-bit metadata, without registering inference. Validate family geometry, quantization layouts and tensor headers. Add a host inspector and rejection tests through the normal build graph.
Refs #1491. This is the admission foundation requested in #1502; text inference will sit on this, with VL stacked above text. The original admission commit and authorship are preserved. CUDA follow-up #1508 already carries a cherry-pick of that admission.
Code pointers
Verification
Pinned base:
b30d5b9d3. Zig 0.17.0, macOS 26.5.1, M4 Pro 48 GB:zig build test-lfm3-host tf-lfm3-check -Dcpu=apple_m1passed 8/8 steps and 13/13 host tests; the admission Python suite passed 12/12. This slice performs no GPU inference and makes no runtime or performance qualification claim. The recipe links the weights' LFM Open License v1.0.ATC overlaps from the full implementation include conflicts with concurrent work; this smaller admission slice is intended to establish shared ancestry. Integration must be reconciled before landing.