How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf prithivMLmods/LFM2.5-350M-F32-GGUF:
# Run inference directly in the terminal:
llama cli -hf prithivMLmods/LFM2.5-350M-F32-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf prithivMLmods/LFM2.5-350M-F32-GGUF:
# Run inference directly in the terminal:
llama cli -hf prithivMLmods/LFM2.5-350M-F32-GGUF:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf prithivMLmods/LFM2.5-350M-F32-GGUF:
# Run inference directly in the terminal:
./build/bin/llama cli -hf prithivMLmods/LFM2.5-350M-F32-GGUF:
Use Docker
docker model run hf.co/prithivMLmods/LFM2.5-350M-F32-GGUF:
Quick Links

LFM2.5-350M-F32-GGUF

LiquidAI/LFM2.5-350M is an ultra-compact 350M-parameter model from Liquid AI's LFM2.5 series, leveraging a hybrid architecture with 10 double-gated Linear Input-Varying (LIV) convolution blocks for efficient sequence processing and 6 Grouped Query Attention (GQA) blocks for precise long-range context handling, trained on 28T tokens (80K:1 token-to-parameter ratio) with extensive reinforcement learning to excel at agentic tasks like tool calling, data extraction, structured JSON outputs, and multi-step reasoningโ€”outperforming models twice its size on GPQA Diamond, MMLU-Pro, IFEval, BFCLv3/4, and CaseReportBench while achieving blazing-fast inference (313 tok/s on AMD CPUs, 188 tok/s on Snapdragon Gen4). Optimized for edge deployment under 1GB memory with native llama.cpp/MLX/vLLM support, it represents peak "intelligence density" for running reliable agent loops on mobiles, IoT devices, and low-power servers where traditional Transformers fail, making high-quality structured data processing and function calling viable at consumer-grade hardware scales.

Model Files

File Name Quant Type File Size File Link
LFM2.5-350M.BF16.gguf BF16 711 MB Download
LFM2.5-350M.F16.gguf F16 711 MB Download
LFM2.5-350M.F32.gguf F32 1.42 GB Download
LFM2.5-350M.Q8_0.gguf Q8_0 379 MB Download

Quants Usage

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):

image.png

Downloads last month
114
GGUF
Model size
0.4B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for prithivMLmods/LFM2.5-350M-F32-GGUF

Quantized
(95)
this model