spark-arena/sparkrun
sparkrun - launch, manage, and stop LLM inference workloads on NVIDIA DGX Spark systems. Live support: https://discord.com/invite/GH5kRgv6ZD
sparkrun – One‑command manager for LLM inference on NVIDIA DGX Spark
What it is – sparkrun is a Python‑based CLI (and optional Python API) that lets you launch, monitor, and stop large‑language‑model inference jobs on one or more NVIDIA DGX Spark servers. It hides the complexity of setting up SSH meshes, InfiniBand/RDMA networking, Docker containers, and runtime configuration (vLLM, SGLang, llama.cpp, etc.).
Who it’s for – Data‑science or MLOps teams that own a DGX Spark cluster and want a simple, reproducible way to serve models without dealing with Slurm, Kubernetes, or custom scripts.
Quick start (from the README)
# Install via the UV tool (one‑liner that also runs the guided wizard)
uvx sparkrun setup
# Launch a model (e.g. Qwen‑3‑1.7B using vLLM)
sparkrun run qwen3-1.7b-vllm
# Use multi‑node tensor parallelism (TP = number of hosts)
sparkrun run qwen3-1.7b-vllm --tp 2
# Inspect logs, stop, or check overall status
sparkrun logs qwen3-1.7b-vllm
sparkrun stop qwen3-1.7b-vllm
sparkrun status
Ctrl‑C only detaches from the log stream – the inference job keeps running.
Core features (as listed in the README)
- Multi‑runtime support – out‑of‑the‑box recipes for vLLM, SGLang, and llama.cpp.
- Multi‑node tensor parallelism –
--tp Nautomatically spreads a job across N DGX Spark hosts, detecting InfiniBand/RDMA links. - VRAM estimation –
sparkrun show <recipe>tells you whether a model fits on the available GPU memory before launch. - Git‑based recipe registries – official, community, and benchmark recipes are stored in Git repos; you can add your own.
- Guided setup wizard – creates the cluster definition, builds an SSH mesh, detects ConnectX‑7 NICs, configures sudoers and early‑oom protection.
- Automatic model & container distribution – models and Docker images are synced to every node over SSH.
- Manifest‑based model cache – validates expected files, downloads only missing weights, and supports pluggable transfer back‑ends.
- Plugin system – external integrations (e.g., SparkRoute, custom benchmarks) can be installed and managed via
sparkrun plugins. - Python API –
sparkrun.application.initialize()lets programs use the same core logic without invoking the CLI. - Telemetry (opt‑out) – anonymous usage data is sent by default; can be disabled with
sparkrun setup telemetry --disable.
Update workflow
sparkrun update # stable PyPI release (default)
sparkrun update --beta # preview from develop branch
sparkrun update --alpha # bleeding‑edge
Channels persist across future updates, and you can audit plugin compatibility with --no-update-plugins.
Ecosystem links
- Documentation: https://sparkrun.dev
- Spark Arena community hub: https://spark-arena.com (benchmark browsing, recipe sharing)
- Official recipe registry: https://github.com/spark-arena/recipe-registry
- Community recipe registry: https://github.com/spark-arena/community-recipe-registry
License & telemetry
- Licensed under Apache 2.0.
- Sends minimal anonymous telemetry (install ID, OS, hardware, command metadata). Can be disabled permanently or per‑run.
Bottom line
sparkrun is a purpose‑built orchestration tool for running LLM inference workloads on NVIDIA DGX Spark hardware. It streamlines cluster setup, model distribution, and multi‑node parallelism into a single, user‑friendly command line, while offering a plugin architecture and a Python API for more advanced integrations.
Related
- Project
- Project
- Project
- Project
- Project