Skip to main content
zml/llmd is an inference server built on zml that runs LFM3 across Apple Metal, NVIDIA CUDA, AMD ROCm, Intel oneAPI, and Google TPU. zml/llmd serves models exclusively through an OpenAI-compatible API.
Use zml/llmd for high-throughput serving and batch processing with minimal setup, no Python dependencies, and fast startup across all supported platforms.

Quickstart

LFM3 support is available in zml/llmd 20261029.0 and later. The examples below use FP8 weights on NVIDIA, AMD, and Apple Metal, and BF16 weights on Intel and Google TPU.

Start the server

Choose your platform to start the server:

Prerequisites

A Linux host with an NVIDIA GPU, Docker, the NVIDIA driver, and NVIDIA Container Toolkit configured for GPU access.

Run

zml/llmd loads weights directly from Hugging Face through the hf:// model path. Once the server is ready, check the loaded model:
Send your first request with curl to the OpenAI-compatible chat completions endpoint:

Use local model weights

If you have already downloaded the model, pass the local directory to --model instead of an hf:// URL. The directory must contain the complete Hugging Face checkpoint, including configuration, tokenizer files, and safetensors weights. On Apple Silicon:
With Docker, mount the directory into the container and use the container path. For example, on NVIDIA:

Model formats

zml/llmd supports LFM3 text checkpoints in BF16, FP8, and NVFP4.