How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "LiquidAI/LFM2.5-24B-A2B-FP8"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "LiquidAI/LFM2.5-24B-A2B-FP8",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/LiquidAI/LFM2.5-24B-A2B-FP8
Quick Links
Liquid AI
Try LFM • Docs • Discord

LFM2.5-24B-A2B-FP8

FP8 version of LFM2.5-24B-A2B for GPU inference.

Linear weights are quantized to FP8 with 128×128 blocks and dynamic activation quantization. The embedding, MoE routing gates and convolution weights are kept in their original precision.

Find more details in the original model card: https://huggingface.co/LiquidAI/LFM2.5-24B-A2B

Use with SGLang

python -m sglang.launch_server --model-path LiquidAI/LFM2.5-24B-A2B-FP8

License

This model is released under the LFM 1.0 License.

Downloads last month
34,357
Safetensors
Model size
24B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for LiquidAI/LFM2.5-24B-A2B-FP8

Quantized
(83)
this model