Skip to main content

LiquidAI LFM2.5 230M BF16

A 230M parameter hybrid short-convolution and attention language model from Liquid AI that can act as a skill-selection layer, decomposing instructions into tool calls.

Supported processors

  • SL2619

Performance

Torq Compiler/Runtime v2.3.0

111.324ms
Inference Time
1706ms
Time to First Token
7.6tok/s
Tokens per Second
348.1MB
DRAM Footprint

LiquidAI LFM2.5 230M

Model Overview​

LFM2.5-230M is a general-purpose, text-only model from Liquid AI. It is a hybrid architecture that combines short convolutions with grouped-query attention. It can act as a skill-selection layer, taking a natural-language instruction and decomposing it into a sequence of tool calls.

The transformer runs on the Torq NPU in bf16; the token embeddings run on the host CPU. It has been compiled for the Synaptics Astra® SL2610-Series processors with Torq NPU.

Model Features​

  • Model Type: Large Language Model
  • Input: Text
  • Output: Text
  • Architecture: LFM2 (hybrid short-convolution + grouped-query attention)
  • Hidden size: 1024, Layers: 14, Attention heads: 16 (8 KV heads), Intermediate size: 2560
  • Vocabulary: 65,536, Context length: up to 128k
  • Precision: bf16 on the NPU

Monolithic vs. split builds​

  • model.vmfb (monolithic): one graph that outputs logits directly. Simplest to run.
  • Split (transformer.vmfb + lm_head.vmfb): the decoder body emits hidden states and the LM head is applied only when sampling. Prefill skips the large 1024 to 65,536 projection, which lowers time-to-first-token.

Deployment​

The compiled model files are available for download on Huggingface at Synaptics/LiquidAI-LFM2.5-230M.

Tested with Torq Compiler v2.0.0, v2.2.0 and v2.2.1. Compatible Torq Runtime is included in Astra SDK release scarthgap_6.12_v2.4.0 and later.

Usage Tutorial​

A usage example is provided at Torq Examples / LiquidAI / LiquidAI-LFM2.5. Check out the README for instructions.

License​

Redistribution of a model created by Liquid AI, Inc., licensed under the LFM Open License v1.0. Original model: LFM2.5-230M. Copyright © Liquid AI, Inc.

Learn More​

Related models