One command to rule them all
Launch, manage, and stop LLM inference workloads on one or more NVIDIA DGX Spark systems — no Slurm, no Kubernetes, no fuss.
Documentation ·
Quick Start ·
Recipes ·
Spark Arena
Install
uvx sparkrun setup
One command — installs sparkrun, then launches the guided setup wizard to create a cluster, configure SSH mesh, detect ConnectX-7 NICs, set up sudoers, and enable earlyoom.
Quick Start
# Run an inference workload
sparkrun run qwen3-1.7b-vllm
# Multi-node tensor parallelism (TP maps to node count on DGX Spark)
sparkrun run qwen3-1.7b-vllm --tp 2
# Re-attach to logs, stop a workload, check status
sparkrun logs qwen3-1.7b-vllm
sparkrun stop qwen3-1.7b-vllm
sparkrun status
Ctrl+C detaches from logs — it never kills your inference job. Your model keeps serving.
Watched launches also report Docker-start TTR and TTFT using a rank-local
streaming readiness check for Docker vLLM/SGLang launches. By default, run
follows startup logs and exits when ready; use --follow to stay attached,
--no-follow to wait without model logs, or --no-ready-wait to return after launch. See
startup readiness for configuration, timing
boundaries, per-recipe overrides, and execution-strategy integration.
See the full CLI reference for all commands and options.
Updating
sparkrun update
Upgrades sparkrun (when installed via uv tool), applies compatible updates to trusted managed plugins, and refreshes recipe registries. Use --no-update-plugins for a local plugin compatibility audit without plugin updates. See plugin management.
Moving from 0.3.x or a preview build? See the 0.4.0 upgrade guide
for plugin installation, changed defaults, and Python API migration.
Update channels (advanced)
Opt into preview builds installed from git instead of PyPI:
sparkrun update --stable # PyPI stable release (default)
sparkrun update --beta # develop branch preview
sparkrun update --alpha # develop-next branch (bleeding edge)
sparkrun update --yolo # alias for --alpha
sparkrun update with no flag stays on your current channel; a channel flag switches and is remembered for future updates. The same flags work with sparkrun setup install and sparkrun setup update. Stable prints a plain version; beta/alpha add a channel suffix and commit (for example, 0.4.0-alpha+g1a2b3c4). Switching from a preview channel back to --stable may downgrade.
Highlights
- Multi-runtime — vLLM, SGLang, llama.cpp out of the box
- Multi-node tensor parallelism —
--tp 2 = 2 hosts, automatic InfiniBand/RDMA detection
- VRAM estimation — know if your model fits before you launch (
sparkrun show <recipe>)
- Git-based recipe registries — we publish official recipes, community recipes, and benchmarked recipes via Spark Arena, plus you can add your own registries.
- Guided setup wizard — cluster creation, SSH mesh, CX7 auto-detection, sudoers, earlyoom
- Model & container distribution — syncs models and images to cluster nodes over SSH automatically
- Manifest model caches — automatic expected-file validation, selective weight downloads and pluggable model transfer
Python API and applications (0.4.0)