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.27.tar.gz (581.3 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.27-py3-none-any.whl (421.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sparkrun-0.2.27.tar.gz
Algorithm Hash digest
SHA256 19103750393310768916c0e8289c9dbc346da0e7388c5bfe944ae3b21b0dda3c
MD5 0836ef4f267eefd0f3a2fd5471aa5466
BLAKE2b-256 092a6f6fe81248874607708d7dbfee167dc6bfa4a4c8790827b65d13c3084742

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparkrun-0.2.27.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.27-py3-none-any.whl.

File metadata

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

File hashes

Hashes for sparkrun-0.2.27-py3-none-any.whl
Algorithm Hash digest
SHA256 ad91f1396b12cadfa3cc333256a6855fceb0e95b31c9cfbe39f0e8e92f3350df
MD5 439f740c85ed25e6f2b95b9f1ff0ee62
BLAKE2b-256 ee870e6b6e468fb8620452dc36284b22580013d19b6a5fe105a974273daf94de

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparkrun-0.2.27-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