Skip to content

Installation

NVserve is a single program, nvserve, with no runtime dependencies. It is installed from PyPI with pip.

Requirements

  • System: Windows 10 or 11, or Linux with glibc 2.34 or newer (Ubuntu 22.04+, Debian 12+, RHEL/Rocky/Alma 9+, Fedora 35+), on an x86-64 CPU.
  • Python: 3.8 or newer, for pip. NVserve itself does not use Python.
  • Memory: 4 GB of RAM or more. NVserve uses 2–3 GB for most models. See Memory and performance.
  • Disk: an SSD, ideally NVMe, with room for each model twice while you convert it (the .gguf download and the .nvpack made from it). You can delete the .gguf afterwards.

Install

pip install nvserve

If pip warns that its Scripts folder is not on your PATH, add that folder to your PATH, or run python -m nvserve instead of nvserve.

pipx install nvserve

Distributions that manage the system Python, such as Ubuntu 23.04+ and Debian 12+, refuse a plain pip install. Use pipx, as above, or a virtual environment. Elsewhere, pip install nvserve works too.

Upgrade and uninstall

pip install -U nvserve     # upgrade to the latest version
pip uninstall nvserve      # remove it
pipx upgrade nvserve       # upgrade to the latest version
pipx uninstall nvserve     # remove it

To install a specific version, name it: pip install nvserve==0.5.0.

Which build?

The package contains two builds of NVserve and runs the one your CPU supports:

Build For
v3 CPUs with AVX2 and FMA: Intel Haswell (2013) and later Core CPUs, AMD Zen and later
compat older CPUs, and low-end Celeron, Pentium and Atom chips without AVX2

The v3 build has about 20% faster matrix kernels. To choose a build yourself, set NVSERVE_BUILD to v3 or compat.

Check the installation

$ nvserve --version
nvserve 0.5.0

Next: Quick start.