/ Модель

Характеристики

Лицензия
Своя лицензия
Базовая модель
LFM3-1.7B-NVFP4
Библиотека
gguf
Опубликована
27 ноя 2026

LFM3-1.7B-NVFP4-GGUF

Генерация текстаТекст → текст4 профессии
389скачиваний за 30 дней1лайквеса обновлены27 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Текстовая модель LiquidAI LFM3-1.7B в формате GGUF с сохранёнными NVFP4-весами FFN для инференса через llama.cpp.

LFM3-1.7B-NVFP4-GGUF — неофициальная конверсия модели LiquidAI/LFM3-1.7B-NVFP4 в формат GGUF для запуска через llama.cpp. Это текстовая модель для генерации ответов и диалогов. В файле размером около 1,71 ГиБ 72 тензора FFN сохранены в NVFP4 с внешними масштабами, а attention, свёрточные слои, эмбеддинги и выходной слой — в BF16; веса не деквантизировались и не подвергались повторной квантизации.

Для загрузки требуется сборка llama.cpp b12818 или новее. NVFP4-масштабы поддерживаются CPU, CUDA/HIP и Metal; Vulkan пока не поддерживается и может приводить к медленному выполнению на CPU. Модель предназначена для текстового инференса, однако детали архитектуры, языков и длины контекста в предоставленных данных отсутствуют. Репозиторий указывает лицензию «other»; README отмечает, что конверсия независимая и не связана с LiquidAI.

Сценарии применения

  • ведение текстового диалога с локально запущенной моделью
  • генерация ответов на текстовые запросы
  • запуск LFM3 на CPU, CUDA/HIP или Metal через llama.cpp

Ограничения

Требуется llama.cpp версии b12818 или новее; Vulkan пока не поддерживается для NVFP4-тензоров с масштабами и может вызвать медленный переход на CPU. Текстовые данные не содержат сведений о поддерживаемых языках и длине контекста.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит4

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

LFM3-1.7B-NVFP4-GGUF with preserved NVFP4 weights

[!IMPORTANT] Requires llama.cpp build b12818 or newer. That is commit a38695013, "ggml: support quant scales for fp8 and nvfp4" (#28898, merged 2026-11-27). The last release without it is b12816, so prebuilt binaries up to that fail. Check with llama-cli --version, which prints the build number and commit.

The released NVFP4 checkpoint LiquidAI/LFM3-1.7B-NVFP4 repackaged as GGUF without dequantising it. The FFN projections stay NVFP4 with their block and global scales; attention, convolutions and embeddings stay BF16, exactly as LiquidAI published them. No requantisation, no imatrix, no extra loss.

Independent, unofficial conversion. Not affiliated with or endorsed by LiquidAI. The original model card is reproduced below.

File

filesizecontents
LFM3-1.7B-NVFP4.gguf1.71 GiB431 tensors, NVFP4 FFN + BF16 elsewhere
NVFP4   :  72   FFN gate/up/down, 4.5 bpw super-blocks (36 B per 64 weights)
F32     : 277   72 `.scale`, 72 `.input_scale`, norms
BF16    :  82   attention, convolutions, embeddings, lm_head

hf_quant_config.json says quant_algo: NVFP4, group_size: 16, with attention, conv, embeddings and lm_head on the exclude list, so only the FFN is 4-bit. The file lands at about 7.9 bits per weight overall because most tensors remain BF16. Everything here is text only.

Requirements

The GGUF carries NVFP4 super-blocks plus external .scale and .input_scale tensors; older builds reject the types or load without the scales.

Backends: CPU, CUDA/HIP (ROCm) and Metal apply the scales.

[!WARNING] Vulkan is not supported yet. The Vulkan backend rejects any matmul that carries a weight scale (ggml_get_src_scale() → supports_op() false), so these tensors silently fall back to CPU and inference crawls. Track the open PR: vulkan: add fp8 and scaled matmul support (#29791).

Run

git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
cmake -B build -DCMAKE_BUILD_TYPE=Release   # add -DGGML_HIP=ON or -DGGML_CUDA=ON as needed
cmake --build build -j"$(nproc)" --target llama-cli llama-perplexity

./build/bin/llama-cli -m LFM3-1.7B-NVFP4.gguf -ngl 99 -c 4096

Measured on ROCm (AMD Radeon RX 9060 XT) with -dev ROCm0 -ngl 99 -c 2048: 11.3 t/s prompt, 99.1 t/s generation. Use -st / --single-turn for a one-shot prompt in this build.

How it was converted

Source: LiquidAI/LFM3-1.7B-NVFP4, ModelOpt NVFP4 (weight, weight_scale, weight_scale_2, input_scale). Only tensors that carry a weight_scale are repacked, which is why attention stays BF16.

No converter patch was needed. Pure NVFP4 checkpoints skip dequantisation entirely, and LFM3's modify_tensors is a pass-through for text weights (no head permutation or splitting), so the super-block repack is order-safe.

yes y | python convert_hf_to_gguf.py LiquidAI/LFM3-1.7B-NVFP4 --outfile LFM3-1.7B-NVFP4.gguf

Verified by reading the tensor types back out of the GGUF rather than trusting the exit code:

from gguf import GGUFReader
import collections
r = GGUFReader("LFM3-1.7B-NVFP4.gguf")
print(collections.Counter(str(t.tensor_type) for t in r.tensors))

llama-quantize cannot re-quantise this file, the NVFP4 tensors are a storage type with external scales.


LFM3-1.7B-NVFP4

NVFP4 version of LFM3-1.7B for GPU inference.

Language feed-forward weights and activations use NVFP4 (W4A4, 16-value blocks). Attention, convolutions, embeddings, the output head and norms stay in BF16. Sliding-window and RoPE settings are unchanged.

Find architecture and usage details in the original model card.

Use with SGLang

Support for LFM3 in SGLang is in review in sgl-project/sglang#46858. We will update this card when a release supports it.

python -m sglang.launch_server \
  --model-path LiquidAI/LFM3-1.7B-NVFP4 \
  --reasoning-parser auto \
  --tool-call-parser auto

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
406e48a

0 моделей