Lattice
Skip to content

Marlin

github.comlibraryself-hosted

Marlin is a self-hosted library in the Inference & Serving layer of the AI stack. Quantised GEMM kernels for near-GPU speed at 4-bit.

By Lattice editorial · Facts verified · method

licence
Apache-2.0
language
CUDA
cost
free

Use Marlin when

Near-GPU throughput from 4-bit weights, as a kernel inside another runtime.

Skip Marlin when

You need a scheduler and a server as well as a kernel.

Turns weights into throughput. — that is what this layer of the stack is answerable for. See the full Inference & Serving section for the rest of the options.

Visit github.comCompare with another tool
Badge this entry
Lattice badge: Marlin verified 2026-09
[![Marlin on Lattice: verified 2026-09](https://lattice.kunjshah.in/inference-serving/marlin/badge.svg)](https://lattice.kunjshah.in/inference-serving/marlin)

Quick answers

Is Marlin open source?
Yes. Marlin is open source under the Apache-2.0 licence. It is free to use.
What are the alternatives to Marlin?
Other options in Inference & Serving include vLLM, SGLang, llama.cpp, Ollama and TensorRT-LLM.

Reading on inference

Also in inference

  • vLLM
  • SGLang
  • llama.cpp
  • Ollama
  • TensorRT-LLM
  • Text Generation Inference
  • LM Studio
  • Triton Inference Server
  • llamafile
  • KoboldCpp
  • PowerInfer