Built for Blackwell. Nothing else. RTX 5050 to 5090 · RTX PRO 2000 to 6000 · one docker run · OpenAI and Anthropic API · built-in chat · Linux or WSL2
imp is an LLM server for one GPU generation only: NVIDIA Blackwell sm_120a, every GeForce RTX 50 and RTX PRO Blackwell card. It is for people who run models on their own single card and point chat apps and coding agents at it (OpenAI and Anthropic API: Claude Code, Codex, any OpenAI client). Built and tuned on one RTX 5090, it uses what that chip has: native 4-bit (FP4) math, its tensor cores, its memory bandwidth. One container, no CUDA toolkit or Python on your machine, MIT.
Server API, 300-token greedy answers to short prompts, median of 3 fresh-server trials, each engine on its defaults; imp and vLLM read the same NVFP4 checkpoint, imp and llama.cpp the same GGUF file. No speculative decoding in the one-user rows (imp NVFP4: switched off; imp GGUF: its default drafts nothing, 77.7 with all of it forced off). With the model's own MTP draft head on in both engines (imp: --max-batch 1), 6 real chat prompts: imp 126.49, vLLM 116.84; on short template completions the two are within noise. Ranges, commands, raw logs: docs/BENCHMARKS.md. tokens/s = how fast the answer appears (a token is about ¾ of a word).
Bigger than the card: the 123.6 GiB Qwen3.8-Flash-Next answers at 92.1 tokens/s for one user on a 32 GB RTX 5090, its experts in host RAM (how).
Jump to: Which model? · Install · Bigger than VRAM · Using it · How it works · All the docs
Will it fit? Weights plus the KV cache (the model's memory of the conversation) must fit in the card's VRAM (8 GB on an RTX 5060 up to 96 GB on an RTX PRO 6000, per card). imp sizes the context to what is left after the weights, and refuses at load a model whose experts do not fit instead of running it wrong. Every family that loads, with its size: docs/MODELS.md.
Two file formats, no conversion step: a GGUF file (as used by llama.cpp) or a SafeTensors directory in NVFP4 (NVIDIA Model Optimizer, llm-compressor, or imp's own imp-quantize). Your own BF16/FP8 checkpoint: docs/QUANTIZATION.md.
You need: one of the cards above, Docker with the NVIDIA Container Toolkit, Linux or Windows with WSL2. No build: the image comes from ghcr.io. Checklist: docs/QUICKSTART.md.
git clone https://github.com/kekzl/imp && cd imp scripts/stage-model.sh kekzle/Qwen3.8-27B-NVFP4-vllm ~/models/Qwen3.8-27B-NVFP4-vllm # 1. weights, 19.2 GiB download docker run --gpus all -v ~/models:/models -v imp-cache:/home/imp/.cache/imp \ -p 127.0.0.1:8080:8080 ghcr.io/kekzl/imp:latest --model /models/Qwen3.8-27B-NVFP4-vllm # 2. serve Ready when the log says Server listening: open http://localhost:8080. Measured with exactly this command: 96.5 tokens/s for one user (6 real prompts, 400 tokens each), first token after 27-29 ms, 19.7 GiB of the card in use. The imp-cache volume keeps converted weights and the measured memory plan for the next start.
No Docker: every release attaches imp- -linux-x86_64.tar.gz (CUDA libraries bundled, needs only the NVIDIA driver): docs/DEPLOYMENT.md. Shortcut: --model hf:// / [: .gguf] downloads inside the container (needs --user "$(id -u):$(id -g)" on a bind-mounted ~/models): docs/CONFIG.md. Full walkthrough: docs/QUICKSTART.md. Your card's numbers: scripts/bench-community.sh prints a block to post in Discussions.
Mixture-of-experts models use a few experts per token. When the experts do not fit, imp keeps them in pinned host RAM, caches the busiest on the card (least recently used out) and copies a missing expert over PCIe when a token needs it. Nothing to configure: imp decides at load.
Qwen3.8-Flash-Next (nvidia/Qwen3.8-Flash-Next-NVFP4, 123.6 GiB, 56.25 GiB of experts) on one RTX 5090:
You need: a 32 GB card or bigger, the host RAM above free, 123.6 GiB of disk. With less RAM imp reads missing experts from disk instead (at a 40 GiB container limit: 46.9..60.0 tokens/s, v0.50.0, CHANGELOG.md). Speed depends on PCIe (test card: PCIe 5.0 x16) and on how often a conversation changes topic.
STAGE_DIR=~/models/Qwen3.8-Flash-Next-NVFP4 scripts/stage-model.sh nvidia/Qwen3.8-Flash-Next-NVFP4 ~/models/Qwen3.8-Flash-Next-NVFP4 docker run -d --name imp-server --gpus all -v ~/models:/models -v imp-cache:/home/imp/.cache/imp \ -p 127.0.0.1:8090:8090 ghcr.io/kekzl/imp:latest --model /models/Qwen3.8-Flash-Next-NVFP4 --host 0.0.0.0 --port 8090 Ready when docker logs imp-server prints Server listening on http://0.0.0.0:8090. More: docs/QUICKSTART.md.
What exists and what is tested: docs/FEATURES.md. The whole design: docs/internals/ARCHITECTURE.md. Every doc by layer and reader: docs/README.md.
Every line of imp was written by an AI coding agent (Claude Code). The repository keeps its own audit trail: docs/audit/, docs/MISSION_JOURNAL.md.
MIT. See LICENSE. One kernel file is adapted from Apache-2.0 code (SageAttention); the APA prefill (src/compute/apa/) is kekzl/apa under MPL-2.0. Licence texts and notices are in THIRD_PARTY_LICENSES.md, shipped in the image at /usr/share/doc/imp/.




