IST-DASLab/marlin
FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens. observed · 2026-08-28
Health v2 · maintenance only
26/100
- Activity 0
- Release rhythm 35
- Longevity 68
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 959
- days_rel: n/a
- days_push: 728
- n_releases_24m: 0
Adoption not part of the score
1136 stars · 91 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Marlin is a highly optimized FP16xINT4 matrix multiplication CUDA kernel for LLM inference that achieves near-ideal 4x speedups at batch sizes up to 16-32 tokens. It uses advanced GPU optimization techniques to fully saturate memory, cache, and tensor core resources simultaneously.
Use cases
- speed up LLM inference with 4-bit quantized weights
- serve quantized models at medium batch sizes
- accelerate speculative decoding
- run multi-inference schemes like CoT-Majority efficiently
- integrate a fast FP16xINT4 matmul kernel into inference frameworks
When to choose
- you need near-4x speedups from weight-only 4-bit quantization at batch sizes of 16-32 tokens
- you are serving quantized LLMs at larger scale or with speculative decoding
- prior kernels only give speedups at batch size 1-2 and you need more throughput
When to avoid
- you need very large batch sizes where the kernel's advantage diminishes
- you need mixed FP16xINT4 support on non-NVIDIA or older GPUs
- you want a full inference engine rather than a single matmul kernel
Facets
library · maturity active
llm-inference gpu-computing machine-learning large-language-models deep-learning gpu-computing python quantization 4bit-weights cuda-kernel matmul weight-only-quantization gpu linux
1 source
- readme: https://github.com/IST-DASLab/marlin · fetched 2026-08-28 · fca58d990c88
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| IST-DASLab/marlin | main | 26 |
For agents
markdown · JSON · MCP: product_card(name="IST-DASLab/marlin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem