CoolFace
Modelpublic

liodon-ai/DFM-Mimir-FP8

sourceHugging Faceotherupdated 23d agoView on Hugging Face
0likes36downloads
Model Card

DFM-Mimir — FP8 (dynamic)

FP8 quantization of danish-foundation-models/DFM-Mimir, published by Liodon AI.

Quantized with llm-compressor using the FP8_DYNAMIC scheme: weights are cast to FP8 (E4M3) per-channel ahead of time, activations are quantized to FP8 dynamically per-token at inference time. No calibration dataset is needed for this scheme, so the quantized weights are numerically just a direct cast of the original — no calibration-set bias to worry about. lm_head is left unquantized (standard practice — negligible size, disproportionate quality impact if quantized).

Original size: 3.6 GB → Quantized: 2.6 GB.

Quick Start

vLLM

bash
vllm serve liodon-ai/DFM-Mimir-FP8

Text Generation Inference (TGI)

bash
docker run --gpus all -p 8080:80 ghcr.io/huggingface/text-generation-inference \
    --model-id liodon-ai/DFM-Mimir-FP8

SGLang

bash
python -m sglang.launch_server --model-path liodon-ai/DFM-Mimir-FP8

FP8 execution requires an NVIDIA GPU with compute capability ≥ 8.9 (Ada/Hopper/Blackwell — RTX 40-series, L4/L40S, H100/H200, B100/B200/GB10). On older GPUs, vLLM/TGI will dequantize to run, which loses the speed/memory benefit.

Source

Citation

bibtex
@misc{liodonai_dfm_mimir_fp8,
  title        = {DFM-Mimir — FP8},
  author       = {{Liodon AI}},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/liodon-ai/DFM-Mimir-FP8}},
  note         = {FP8 (dynamic) quantization of danish-foundation-models/DFM-Mimir}
}

Quantized by [Liodon AI](https://huggingface.co/liodon-ai)