Quickstart
Serve Qwen3.8-27B on a Spark
Needs a DGX Spark (GB10) with DGX OS, NVIDIA driver 580+, at least 95 GB of available memory and
38 GB of disk. One command takes a fresh Spark to a running server: it checks the machine, installs Ferrite and
the models, starts the server and tests it. No sudo, and it can be run again.
curl -fsSL https://raw.githubusercontent.com/BHCC2025/ferrite/main/scripts/install.sh | bash
Install with your AI agent. Paste this into your coding agent on the Spark:
Install Ferrite on this DGX Spark by following https://github.com/BHCC2025/ferrite/blob/main/AGENTS.md exactly; stop and ask me if any check fails.
Or step by step, from the release tarball (no Rust or CUDA toolchain needed):
# 1. unpack the release and check the machine
tar xzf ferrite-<version>-dgx-spark-aarch64.tar.gz
cd ferrite-<version>-dgx-spark-aarch64
scripts/check-deps.sh
# 2. download the models (about 38 GB) into $FERRITE_MODELS
export FERRITE_MODELS=$HOME/models
scripts/fetch-models.sh
# 3. serve an OpenAI-compatible API on :8000 (model id "spark")
scripts/serve.sh
curl -s localhost:8000/v1/models
Two Sparks
Same Ferrite folder and model folders on both nodes, passwordless ssh from node A to node B,
NCCL on both. Then on node A:
FERRITE_PEER=<node-b> tools/serve-tp2.sh
The two-node scripts detect the RoCE devices, interface and GID the nodes share;
tools/site.sh prints every resolved setting.
Build from source
Stable Rust for the host crates, the kernels' pinned nightly (nightly-2026-11-04)
with rust-src, llvm-tools and llvm-bitcode-linker, and CUDA 13's
ptxas. The check script installs the Rust toolchains.
scripts/check-deps.sh --build --install
cargo build --release -p fe-server --features ferrite -p fe-cli
Point any OpenAI-compatible client at http://<spark>:8000/v1. The full guide, with every setting,
client examples and troubleshooting, is in
docs/quickstart.md.
Models
All three are Apache-2.0 and derive from
Qwen/Qwen3.8-27B (Apache-2.0). Without the NVIDIA
checkpoint, Ferrite processes prompts with bf16 weights rebuilt from the EXL3 quant, at about half the prompt
speed.