Streams with direct I/O
Each layer is one aligned block, read straight into a small ring of buffers. The disk stays busy, the page cache stays out of the way.
Memory and performance →Run 70B-class and mixture-of-experts LLMs on an ordinary system with 4–8 GB of RAM and no GPU. NVserve streams the weights from your SSD one layer at a time.
pip install nvserve
pipx install nvserve
A model never has to fit in memory. Only the layer being computed does.
Each layer is one aligned block, read straight into a small ring of buffers. The disk stays busy, the page cache stays out of the way.
Memory and performance →Mixture-of-experts layers fetch just the routed experts, cache the hot ones, and predict the next layer's experts to read them ahead.
Supported models →A small draft model guesses ahead and one pass of the big model checks every guess. Concurrent requests share each pass too.
Speculative decoding →Convert any supported GGUF once. Then chat, or serve it to the OpenAI SDK, LangChain, Open WebUI and the rest.
/v1/chat/completions with streaming and stop stringsreasoning_contentIntel Core Ultra 7, PCIe 4.0 NVMe, Q4_K_M models, 4 GiB memory cap.
Validated against independent implementations, token for token.