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.

Updating

sparkrun update

Upgrades sparkrun (when installed via uv tool) and refreshes recipe registries.

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 (0.2.40); beta/alpha add a channel suffix and commit (0.3.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

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


Release history Release notifications | RSS feed

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.40.tar.gz (697.0 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.40-py3-none-any.whl (497.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sparkrun-0.2.40.tar.gz
  • Upload date:
  • Size: 697.0 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.40.tar.gz
Algorithm Hash digest
SHA256 2dd24613e37d0da7c3ebcb32cb44ab3208be434201c6bd8e039c3f12345a8ea3
MD5 97625ac4f7bb10578aaaf27f6d19ef45
BLAKE2b-256 a5e1eaeaa2f13657e6e27229ec54c3b0ab52705373aa0202bff9cb0546d483c5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sparkrun-0.2.40-py3-none-any.whl
  • Upload date:
  • Size: 497.4 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.40-py3-none-any.whl
Algorithm Hash digest
SHA256 5e0562f3031f2ff6384074cff3099e4459f5b509a38e8c6ce41ba534db167848
MD5 bf361606a65388d260118046940c54c0
BLAKE2b-256 96bd26acf2777aad06a35af0fb19a586687e81772372863edfce963429d89e63

See more details on using hashes here.

Provenance

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