超
gcw_g59KKkes/LFM2.5-VL-450M
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

LiquidAI/LFM2.5-VL-450M

昇腾 NPU (torch-npu) 适配版。LFM2.5-VL 多模态视觉语言模型,单图 + 文本提示推理。

使用

# CLI 单图推理
python inference.py --img test_input.png --prompt "Describe this image in one sentence."

# FastAPI 服务 (POST /predict 上传图片)
python inference.py --server
  • 权重缓存:./model_weights/LiquidAI/LFM2.5-VL-450M(本地优先,推理不联网)
  • 设备:npu:0(torch_npu),无任何 CUDA 依赖
  • 验证:CLI 与 FastAPI 均在 Ascend910 上推理成功