Downloads · 30 days
18
18% of all-time downloads
mosesman/LFM2.5-2.6B-openvino-int8-npu
LFM2.5-2.6B-openvino-int8-npu is a text generation model from mosesman. Use it when you need the model to write or continue text. It is set up for openvino. The card lists the license as other.
OpenVINO IR export of LiquidAI/LFM2.5-2.6B quantized to INT8 for Intel AI Boost NPU.
Downloads · 30 days
18
18% of all-time downloads
All-time downloads
98
Public
Repo size
2.7 GB
Likes
2
Public
Click a slice to open those files.
.bin2.7 GB · 99%
From the Hugging Face model README
OpenVINO IR export of LiquidAI/LFM2.5-2.6B quantized to INT8 for Intel AI Boost NPU.
The sibling INT4 export (mosesman/LFM2.5-2.6B-openvino-int4-npu) compiled on NPU but crashed on the first generate() with OpenVINO 2026.3 (invalid unordered_map key). This INT8 export generates correctly on NPU with OpenVINO 2026.4 nightly (verified 2026.4.0.dev20260818 on Core Ultra 7 256V).
pip install --pre openvino openvino-tokenizers openvino-genai --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
import openvino_genai as ov_genai
from transformers import AutoTokenizer
model_id = "mosesman/LFM2.5-2.6B-openvino-int8-npu"
device = "NPU" # or "GPU" / "CPU"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": "What is 17*19? Reply with only the number."}],
tokenize=False,
add_generation_prompt=True,
)
pipe = ov_genai.LLMPipeline(model_id, device)
config = ov_genai.GenerationConfig()
config.max_new_tokens = 128
config.do_sample = False # NPU: greedy only
print(pipe.generate(prompt, config))