Why it’s called dlm.
dlm is short for Dynamic LLM: the model loads dynamically, streaming layers through VRAM as it runs instead of resident-loading the whole thing. The name is the thesis.
Dynamic, not resident.
Every other engine assumes the model must live in VRAM in full. dlm assumes the opposite — that a layer only needs to be present the instant it computes — and builds the whole engine around keeping the model in motion.
Dynamic
The resident window changes every step. Layers stream in and out on demand rather than sitting in VRAM for the whole run.
Large
The point is the models you couldn’t fit — 70B, 405B — on the consumer card you already own, not the ones that fit anyway.
Model
One Rust binary, no Python runtime, no cloud call. The whole model runs on the machine in front of you.
Every phase, written and shipped.
Built in the open, all four phases are merged, tested, and shipped in the repo — from the streaming core to the GPU kernels to the full serving stack to models far bigger than the card.
- Phase 1shipped
The streaming core
- VRAM profiler & layer-budget math
- Double-buffered A/B streaming schedule
- CPU host-fallback kernel — the correctness oracle
- Phase 2shipped
On the GPU
- CUDA compute kernels — AMD/ROCm compute builds from source, not yet verified on an AMD card
- PagedAttention KV cache
- Speculative decoding — provably identical output
- Phase 3shipped
Serve & scale
- OpenAI-compatible server with continuous batching
- Multi-GPU pipeline parallelism
- Distributed master-worker over Protobuf/TCP
- Phase 4shipped
Beyond the card
- Streamed MoE from NVMe — Qwen3.6-35B-A3B on a 4 GB card
- dlm pack — weights quantized once, ahead of time
- Image input for Gemma 3; MTP and EAGLE-3 speculation
Apache-2.0, and the code is the spec.
dlm is open source under Apache-2.0 — use it, fork it, ship it. The engine, the profiler, and the tests all live in the repo; the code is the source of truth for every claim on this site.
The GPU you already own is enough.
Clone the repo, run the profiler on your card, and watch a 70B model fit where it shouldn’t. No GPU required to try it.
Apache-2.0 · Rust 1.75+ · Linux · macOS · Windows