Skip to main content

Launch and manage Docker-based inference workloads on NVIDIA DGX Spark systems

Project description

sparkrun — Part of the Spark Arena ecosystem

PyPI version License Documentation Spark Arena

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.

See the full CLI reference for all commands and options.

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

Spark Arena

Spark Arena is the community hub for DGX Spark recipe benchmarks — browse benchmark results, then run them directly with sparkrun.

Official Recipes

Official Recipes are maintained by the Spark Arena team and hosted on GitHub. They are tested and optimized for NVIDIA DGX Spark systems.

Community Recipes

Community Recipes are contributed by the community and hosted on GitHub.

Sponsored by

scitrera.ai

License

Apache License 2.0 — see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparkrun-0.2.21.tar.gz (552.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sparkrun-0.2.21-py3-none-any.whl (413.7 kB view details)

Uploaded Python 3

File details

Details for the file sparkrun-0.2.21.tar.gz.

File metadata

  • Download URL: sparkrun-0.2.21.tar.gz
  • Upload date:
  • Size: 552.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sparkrun-0.2.21.tar.gz
Algorithm Hash digest
SHA256 d30bfdcab979c82ee940c6f2659ae7c14e3cedaa7f4af4f05074aeb8dc25953a
MD5 19e610223d90b4485c23d63b74b0fe8d
BLAKE2b-256 7620d9746995bf16bbf8f7ba5ec9fe455e9f00c474984ea7909e1ea46d083aa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparkrun-0.2.21.tar.gz:

Publisher: publish.yml on spark-arena/sparkrun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sparkrun-0.2.21-py3-none-any.whl.

File metadata

  • Download URL: sparkrun-0.2.21-py3-none-any.whl
  • Upload date:
  • Size: 413.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sparkrun-0.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 a44b27cfdce55a66eaa1c02d78b23dd04035e0771f9024cfb672b05a6a167a00
MD5 2a6f773044bb925638e153921d0979e3
BLAKE2b-256 915a8da505aed31e6182c3e47b650d0bd8244128f521cc5e9a576e520344738f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparkrun-0.2.21-py3-none-any.whl:

Publisher: publish.yml on spark-arena/sparkrun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page