Get started
From nothing to your first reply in six steps.
1What you need
- An NVIDIA GB10 system, such as the DGX Spark, with the NVIDIA driver.
- Go and the CUDA toolkit, to build Hald.
Hald needs only the driver to run. The kernels are built into the binary.
2Build and install
git clone https://github.com/abrander/hald
cd hald
make deb
sudo apt install ./hald_*_arm64.deb
Set NVCC if nvcc isn't at /usr/local/cuda-13.4/bin/nvcc.
3Download a model
This gets Qwen3.8-Flash-Next and its MTP head for drafting, about 108 GiB:
sudo hald download --dir /var/lib/llm-models/flash-next \
unsloth/Qwen3.8-Flash-Next-GGUF 'UD-Q4_K_XL/*' 'MTP/mtp-Qwen3.8-Flash-Next-Q8_0.gguf'
Leave out the patterns to see all the files of a repository.
4Configure and start
Put the model in /etc/hald/hald.hcl:
http {
listen = "0.0.0.0:8888"
}
cache {
path = "/var/lib/hald/cache"
}
model "flash-next" {
path = "/var/lib/llm-models/flash-next/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf"
drafter = "/var/lib/llm-models/flash-next/MTP/mtp-Qwen3.8-Flash-Next-Q8_0.gguf"
}
Make the prompt cache file. Its size is the size of the cache:
sudo install -d -o hald -g hald /var/lib/hald
sudo fallocate -l 200G /var/lib/hald/cache
sudo chown hald:hald /var/lib/hald/cache
Start the service:
sudo systemctl enable --now hald
Configuration explains all settings.
5Check that it works
curl http://localhost:8888/v1/models
Then open these in a browser:
http://SPARK:8888/chat: chat with the model.http://SPARK:8888/: the dashboard.
6Connect a client
Any OpenAI client works. Set the base URL to Hald:
from openai import OpenAI
client = OpenAI(base_url="http://SPARK:8888/v1", api_key="none")
reply = client.chat.completions.create(
model="flash-next",
messages=[{"role": "user", "content": "Why is the sky blue?"}],
)
print(reply.choices[0].message.content)
If something goes wrong
- Read the log:
journalctl -u hald -f - The service runs as the user
hald. It must be able to read the model files. - Hald refuses what it can't do. The error message says what's wrong.