Skip to main content

NVserve

Run 70B-class and large mixture-of-experts LLMs on a laptop with 4–8 GB of RAM and no GPU.

NVserve streams a model's weights from your SSD one layer at a time, so a 40 GB model runs in under 3 GB of memory. It speaks the OpenAI API, so existing clients and tools work with it unchanged.

Model Size on disk Memory used Speed (laptop, NVMe)
Qwen3-30B-A3B (MoE) 17.3 GiB 2.9 GiB 0.35–0.47 s/token
DeepSeek-V2-Lite (MoE, MLA) 9.7 GiB 2.9 GiB 0.35 s/token
Llama-3.1-70B 39.6 GiB 3.2 GiB 4.2 s/token with a 1B draft model

All at Q4_K_M under a 4 GiB memory cap.

Install

pip install nvserve

On Linux distributions that manage the system Python (Ubuntu 23.04+, Debian 12+), use pipx install nvserve or a virtual environment instead.

The package contains the native nvserve program, not a Python library. It works on Windows 10/11 and on Linux with glibc 2.34 or newer, on x86-64 CPUs. It runs the fastest build your CPU supports: the AVX2 build, or a compatible build for older CPUs. Set NVSERVE_BUILD=compat or NVSERVE_BUILD=v3 to choose one yourself.

Quick start

Download a GGUF model, for example Qwen3-30B-A3B Q4_K_M, and convert it once:

nvserve convert Qwen3-30B-A3B-Q4_K_M.gguf qwen3-30b-a3b.nvpack

Chat with it under a 4 GB memory budget:

nvserve run qwen3-30b-a3b.nvpack --chat --no-think --prompt "Why is the sky blue?" --mem-limit 4G

Or serve it to any OpenAI client:

nvserve serve qwen3-30b-a3b.nvpack --mem-limit 4G --port 8080
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="unused")
reply = client.chat.completions.create(
    model="qwen3-30b-a3b",
    messages=[{"role": "user", "content": "Write a haiku about SSDs."}],
)
print(reply.choices[0].message.content)

nvserve --help lists every command and option.

License

Copyright (c) 2026 Suraj Singh. Licensed under either of the Apache License, Version 2.0 or the MIT license, at your option.

Metadata

Release files for nvserve 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nvserve 0.5.0
File Interpreter ABI Platform Actions
nvserve-0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nvserve-0.5.0-py3-none-win_amd64.whl
nvserve-0.5.0-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for nvserve-0.5.0-py3-none-manylinux_2_34_x86_64.whl

Total release size: 13.7 MB

Release files / nvserve-0.5.0-py3-none-win_amd64.whl

Download URL nvserve-0.5.0-py3-none-win_amd64.whl
Size 6.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3b73c9cafe330e3c095c00819e8fe16e08375cd4230d230fce7339a0b1dff406
BLAKE2b-256 checksum
How to use checksums
e711ab208f831e04fd971eb0b674eb0a6a48487259f4f1e6a6f32bcd3a63d6fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / nvserve-0.5.0-py3-none-manylinux_2_34_x86_64.whl

Download URL nvserve-0.5.0-py3-none-manylinux_2_34_x86_64.whl
Size 7.0 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c53d2bdcdfd6762abce9fa8502a7fe1344a774a343f701fd1b80f466cb46ef3c
BLAKE2b-256 checksum
How to use checksums
aa52ed34c14fa7131b5c907c38067e6073a47ebea0cac90041873ac61c7bca84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for nvserve 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page