← all repositories

IST-DASLab/marlin

A mixed-auto-regressive linear kernel providing FP16xINT4 quantized LLM inference with up to 4x speedups on modern GPUs.

1.1k stars Python Inference · Serving
marlin
Not currently ranked — collecting fresh signals.
star history

Marlin is an extremely optimized kernel for LLM inference that performs mixed-precision matmul operations using FP16 activations and INT4 quantized weights. It achieves near-ideal 4x speedups up to batchsizes of 16-32 tokens, significantly outperforming prior quantized kernels limited to 1-2 token batches. The implementation organizes computation to fully utilize GPU resources including L2 cache, shared memory, tensor cores, and vector cores through techniques like double buffering, asynchronous memory loads, and L2 cache-aware data placement.

Frequently asked

What is IST-DASLab/marlin?
A mixed-auto-regressive linear kernel providing FP16xINT4 quantized LLM inference with up to 4x speedups on modern GPUs.
Is marlin open source?
Yes — IST-DASLab/marlin is open source, released under the Apache-2.0 license.
What language is marlin written in?
IST-DASLab/marlin is primarily written in Python.
How popular is marlin?
IST-DASLab/marlin has 1.1k stars on GitHub.
Where can I find marlin?
IST-DASLab/marlin is on GitHub at https://github.com/IST-DASLab/marlin.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.