Quickstart
On this page
Install the engine with one command, start a model with a second, and send it a request. Step 5 shows how to update; the end of the page covers building from source if you prefer.
What you need
- An NVIDIA GB10 system: a DGX Spark or a compatible OEM machine (ARM, 128 GB of unified memory).
curl, which every DGX Spark image ships.
The engine runs only on GB10 hardware. Its kernels are written for that chip and there is no generic path.
1. Install
Paste this into a terminal on the machine:
curl -fsSL https://raw.githubusercontent.com/sf-stav/veloGB10/main/install.sh | sh
The script checks that the machine is a GB10, downloads the latest release and puts the single gb10_inference binary in ~/.local/bin. Nothing is compiled and it does not need root. If ~/.local/bin is not on your PATH, the script prints the line to add.
Check that it is installed:
gb10_inference --version
If you would rather read the script before running it:
curl -fsSL https://raw.githubusercontent.com/sf-stav/veloGB10/main/install.sh -o install.sh
less install.sh
sh install.sh
2. Start a model
The quickest first run is the small Qwen3.5 0.8B model, about 2 GB. Download it, then serve it:
hf download Qwen/Qwen3.5-0.8B
gb10_inference --server --model-dir Qwen/Qwen3.5-0.8B --port 9000
--model-dir takes either a directory or a Hugging Face repo id. A repo id is looked up among the models you have already downloaded; the engine does not download anything itself. On older Hugging Face installs the download command is huggingface-cli download instead of hf download.
The server is ready when this answers:
curl -s http://localhost:9000/health
3. Send a request
curl -s http://localhost:9000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "Qwen3.5-0.8B",
"messages": [{"role": "user", "content": "Write a C function that reverses a string in place."}]
}'
curl -s http://localhost:9000/v1/models shows the model name the server reports, if yours differs. Any OpenAI-compatible client or coding agent works the same way: point its base URL at http://<machine>:9000/v1.
4. Move to a real model
Pick a pack from the models page, download it the same way, and pass it to --model-dir. For example, the 35B mixture-of-experts model:
hf download doth4580/Qwen3.6-35B-A3B-NVFP4-FULL
gb10_inference --server --model-dir doth4580/Qwen3.6-35B-A3B-NVFP4-FULL \
--port 9000 --max-seq-len 32768 --max-batch 1 --prefix-cache on --mtp=auto
| Flag | What it sets |
|---|---|
--max-seq-len |
The context window, in tokens. Larger windows reserve more memory. |
--max-batch |
How many requests are served at once. 1 is the fastest for a single user. |
--prefix-cache on |
Reuse the processed prompt when the next request starts with the same text. |
--mtp=auto |
Speculative decoding with automatic depth. |
For the exact launch line of a measured setup, open its recipe on the benchmarks pages and copy the command. The setup guides cover each model family in full: Qwen3.8-Flash-Next, Qwen3.8 27B, Naive N0.5 Flash, Tencent Hy3.
Long prompts make a GB10 hot. Since v0.7.10 the engine slows its own GPU work when the board passes 85 °C, so the machine does not switch itself off; nothing changes on a cool machine. See Heat and the thermal guard.
The server listens on every network interface by default. Use --host 127.0.0.1 to accept connections from this machine only. Authentication is not part of the engine's documented surface, so expose the port only to a network you trust, or put it behind a gateway you control.
5. Update
One command updates the engine in place:
$ gb10_inference --version
gb10_inference v0.8.0 (veloGB10) — commit b67f39de, kernel build 51a214cddc5395e4, source build 0213dbcefe23f591
$ gb10_inference --update
veloGB10 self-update (repo sf-stav/veloGB10)
latest release: v0.8.1
downloading velogb10-v0.8.1-gb10-sm121.tar.gz
ok: sha256 verified
… unpacking
done: installed v0.8.1 (was v0.8.0) — restart the engine to run the new version
note: install the same version on every TP node; the previous image is kept at ~/.local/bin/gb10_inference.prev
$ gb10_inference --version
gb10_inference v0.8.1 (veloGB10) — commit 05530eb4, kernel build 51a214cddc5395e4, source build 4888b6a6e0b5bd47
What it does, in plain words:
- It asks GitHub for the latest release of the engine and downloads that release's archive.
- It checks the archive's SHA-256 against the checksum file published with the same release, and stops if they differ.
- It replaces the
gb10_inferencebinary and keeps the one you had beside it asgb10_inference.prev. To go back, move it back:mv ~/.local/bin/gb10_inference.prev ~/.local/bin/gb10_inference. - A server that is already running keeps serving on the old version. Restart it to run the new one.
- On two or more machines, update every machine to the same version, the head and every node. The head and the nodes must run the same build: the engine refuses a mismatched pair when it starts.
The engine never updates by itself. When a newer release exists, it says so in one line at start-up; --no-update-check
turns that notice off.
Running the install command again does the same job:
curl -fsSL https://raw.githubusercontent.com/sf-stav/veloGB10/main/install.sh | sh
Binaries older than v0.8.0 (v0.7.9, v0.7.10) decline --update with a "dev build" message; on those, run the install command
once, and --update works from then on.
More than one machine
Run the install command on every machine, so they all have the same version. Then start the nodes and the head as described in One machine or several. Only the head needs the model.
Installing by hand
If you do not want to pipe a script into a shell, download the release yourself. The current version is v0.8.1; replace it with a newer one from the releases page:
curl -fsSLO https://github.com/sf-stav/veloGB10/releases/download/v0.8.1/velogb10-v0.8.1-gb10-sm121.tar.gz
curl -fsSLO https://github.com/sf-stav/veloGB10/releases/download/v0.8.1/SHA256SUMS.txt
sha256sum -c SHA256SUMS.txt
tar -xzf velogb10-v0.8.1-gb10-sm121.tar.gz
install -m 0755 velogb10/gb10_inference ~/.local/bin/gb10_inference
The archive holds the gb10_inference binary and two helper scripts for multi-machine launches.
Building from source
Build on the GB10 machine itself. You need the CUDA toolkit (nvcc), a stable Rust toolchain, and the RDMA development headers:
sudo apt install libibverbs-dev rdma-core
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then clone and build:
git clone https://github.com/sf-stav/veloGB10.git
cd veloGB10
cargo build --release
The binary is target/release/gb10_inference. Run it from the checkout, with the same flags as above:
./target/release/gb10_inference --server --model-dir Qwen/Qwen3.5-0.8B --port 9000
A source build does not use --update. To update it, pull and rebuild:
git pull
cargo build --release
Building from source has the details.
Where to go next
- One machine or several: more speed, or larger models, across machines.
- Operating a deployment: metrics, logs and systemd units.
- Command-line reference: every flag.