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.23.tar.gz (562.7 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.23-py3-none-any.whl (419.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sparkrun-0.2.23.tar.gz
  • Upload date:
  • Size: 562.7 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.23.tar.gz
Algorithm Hash digest
SHA256 c47b92e0e5f1c025a210278892a2aaa34884dfed85835f8743535e2d641c2ffb
MD5 eede7eb63bac6246728686923cd92f8d
BLAKE2b-256 5d377652383433eb1c2e0373e7304f525292a39fd17dae574a261589d893dfec

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sparkrun-0.2.23-py3-none-any.whl
  • Upload date:
  • Size: 419.8 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.23-py3-none-any.whl
Algorithm Hash digest
SHA256 ef41eef2d09077ed563e3e44abfda3181b4986ae5056a7138303d2def90d3a5c
MD5 ebc991c791f2375507d7da04fe1a3a99
BLAKE2b-256 a29fc81128e61a2c3bd61456db4abf7c605900f3b7832fe9631a58e1be366652

See more details on using hashes here.

Provenance

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