Playbook · DGX Spark
How to install SparkRun on a DGX Spark, read a recipe before you run it, start and stop a model, and what our app does with it.
A recipe can run commands on your machine. SparkRun’s own pages say the registries it ships with, community recipes among them, are trusted and run those commands without asking. Read a recipe before you run it.
Checked on 26 November 2026 against: SparkRun 0.4.2's documentation and public repository; the code of Server AI Hub 1.0.59 and its server software. Not tested against a new SparkRun install. We have not yet run this playbook start to finish on our own hardware.
Watch, or step through
Each part has a short video and its own slides, with each warning before the step it is about. Press Next step when you are ready. The page remembers your place.
Install and run SparkRun. Here's how to install SparkRun on a DGX Spark and run a model. Part two covers our app.
The AI stack. Start at the bottom: the machine. SparkRun starts the software that runs models on it.
A recipe starts a model. A recipe is a file naming a model, a container and settings. SparkRun reads it, and starts the container. Then the model answers requests.
Recipes can run commands. A recipe can run commands, in the container or on your own machine. SparkRun says the registries it ships with are trusted, so those commands run without asking. That includes community recipes, which anyone can propose. So read first.
Install, without the wizard. With uv installed, run this. It installs SparkRun, and sends no usage data for this run. To keep usage data off, run this too. Then check the version.
It changes your system. Preview the wizard first. It can add SSH keys. With two Sparks, it can write network settings. Keep another way in. It can add you to the Docker group, and add some sudo rules. And it can install a tool that ends processes when memory runs short.
Read, preview, run. Save a copy of the recipe, then open it and read every line. Preview with a dry run. Starting uses the GPU and memory, so check what's already running. Then run it. Control C closes your view, not the model.
Check, then stop. Check status, and stop by job ID. Stopping ends service for everyone using it.
11 steps
SparkRun with Server AI Hub. Part two: using SparkRun recipes from Server AI Hub, as its code is written. We haven't tested this on a new install.
You install SparkRun yourself. The app's server software doesn't install SparkRun for you. Install it for the same user account. And set a default cluster.
Choose all recipes. Open Models, then Launcher. The list starts at local. Change it to all. Read the recipe in a terminal before you pick its card.
The app shows the command. The app adds no trust option, and can't answer SparkRun's question. A trusted recipe runs its commands without asking. An untrusted recipe with commands is refused when nobody can answer.
Read the command box. Keep CUDA graphs on recipe default. Press Launch, and the app shows the exact command first. Check that each change you want appears in it. Confirming starts a real launch.
Stop and Kill use Docker. On a running card, Stop and Kill act on the container with Docker. Each asks first. We suggest stopping with SparkRun in a terminal. The update button changes your SparkRun install at once, so don't press it mid job.
Read, confirm, check. Then confirm with sparkrun status. The written steps are on this page.
9 steps
The drawings in the videos and slides are our own illustrations, not the makers’ screens.
On this page
Written from SparkRun’s own documentation and public repository (release 0.4.2) and NVIDIA’s pages, read on 26 November 2026. We have not run these steps on a DGX Spark for this guide.
Part 1
SparkRun is a command-line tool that starts, watches and stops model servers on one or more DGX Sparks. It reads a recipe: a YAML file naming the model, the container and the settings. Its README lists vLLM, SGLang and llama.cpp.
It is a separate project in the spark-arena organisation on GitHub, with its documentation at sparkrun.dev. The code is under the Apache License 2.0; the documentation site says its text is under CC BY 4.0. NVIDIA’s DGX Spark pages are not its documentation. 6ixLabs does not make SparkRun and is not connected with its maintainers.
No. You can start a model server with Docker yourself, as NVIDIA’s playbooks show. SparkRun is for keeping many setups as recipes and starting them the same way each time. About leaderboard recipes, see the Spark Arena recipes guide.
Part 2
The setup wizard changes your system. It can add SSH keys, change network settings, add your user to the docker group, add rules that run some commands with sudo, and install a tool that ends processes when memory runs short. Do not run it while the Spark is doing work you need.
SparkRun’s installation page asks for Python 3.12 or newer, SSH access to the Spark or Sparks, and Docker on them with your SSH user in the docker group. Install it as the user account you will run models with.
python3 --version
docker ps
Our advice. Docker’s own documentation says the docker group gives root-level rights. Add only accounts you would trust with the whole machine.
SparkRun’s page gives this command. It runs a script from the internet.
curl -LsSf https://astral.sh/uv/install.sh | sh
Our advice. Save the script and read it before you run it, or follow uv’s own installation page, which offers other ways.
SparkRun sends anonymous usage data by default. Its Updates and telemetry page lists what is sent, including the names of public models. The first command installs without starting the wizard and sends nothing for that run. The second turns it off for good, if you want it off.
SPARKRUN_NO_TELEMETRY=1 uvx sparkrun setup install
sparkrun setup telemetry --disable
sparkrun --version
Success: the last command prints a version number. If the shell cannot find sparkrun, open a new terminal and try again.
The wizard walkthrough documents a preview that makes no changes. Put your Spark’s own name where we write my-spark.
sparkrun setup wizard --dry-run --hosts my-spark
With two or more Sparks, the network step writes new network settings. A mistake can cut the connection you are using. Have a screen and keyboard, or another way in, before you say yes.
sparkrun setup wizard
| Wizard step | What it does | Skip it? |
|---|---|---|
| Cluster and SSH | Saves your Sparks by name; may install an SSH key | Needed for launches |
| SSH mesh | Passwordless SSH between the machines | Press n if it already works |
| ConnectX-7 network | Two or more Sparks: fixed addresses, a larger packet size, new network configuration | Press n if you set the link up yourself |
| Docker group | Adds your user to docker | Press n if already a member |
| sudo rules | Narrow rules to fix model cache permissions and to clear the file cache | Your choice |
| earlyoom | Ends processes, model servers first, before memory runs out | Read about it first |
Every step asks, and the walkthrough says you can press n to skip. Our advice: do not use --yes the first time, because it accepts defaults for you.
SparkRun’s pages treat even one Spark as a small saved cluster. Replace mylab with the name you gave it. setup check looks without changing anything.
sparkrun cluster set-default mylab
sparkrun setup check
Part 3
Read a recipe before you run it. A recipe can run shell commands inside the container, and a post_commands entry runs them on the machine you typed the command on. SparkRun’s security page says every registry it ships with is trusted, so their recipes run those commands without asking. One of those is the community registry, to which anyone can send a recipe by pull request.
Our advice. Turn trust off for every registry you have not checked, not only community. SparkRun 0.4.2’s source ships seven, all trusted, among them official, eugr, sparkrun-transitional, experimental, community and sparkrun-testing. The command below does community; run it again with each other name the list shows, then check the Trusted column.
sparkrun registry untrust community
sparkrun registry list
list shows the registries that need no prefix; --all adds the others. show gives details and an estimate of memory use. SparkRun says an unknown or lower-bound estimate does not prove that a model fits.
sparkrun list
sparkrun list --all
sparkrun search qwen
sparkrun show RECIPE
Replace RECIPE with the name from the list.
sparkrun export recipe RECIPE --save my-recipe.yaml
less my-recipe.yaml
| Look at | Ask yourself |
|---|---|
model, model_revision | Is it the model you meant? Does its licence allow your use? |
container | Who publishes this image, and is the version fixed or a moving tag? |
command, defaults, env | Which port, how much memory, what is passed to the model server? |
pre_exec, mods, post_exec, post_commands | What runs, and where? A mod runs its own run.sh: read that file too. |
executor, executor_config | Does it ask for extra rights, host folders or devices, or to run outside a container? |
The fields are described on SparkRun’s recipe format page.
A saved file can lose the question. SparkRun treats a recipe file on your own disk as trusted. Finish reading it before you run the file.
A dry run shows what would happen, and which permissions a real run would need. It runs no recipe commands.
sparkrun run RECIPE --dry-run
This uses the GPU and memory, and can download a large model and a container. SparkRun can also replace an existing deployment. Check what is running first with sparkrun status.
sparkrun status
sparkrun run RECIPE
SparkRun starts the containers in the background, follows the start-up log and returns when the server is ready. Ctrl+C stops your view, not the model. --no-follow hides the log but still waits; --no-ready-wait returns without confirming readiness. See sparkrun run.
On two Sparks, SparkRun maps --tp 2 to two machines. Not every recipe or model supports it, and two machines do not promise twice the speed.
sparkrun status
sparkrun logs JOB-ID
sparkrun stop JOB-ID
Success: status shows the job with its ID. For vLLM and SGLang in Docker, SparkRun says its readiness check sends a real streaming request, so an open port alone does not count.
Stopping ends service for everyone using that model. sparkrun stop --all stops every SparkRun workload on the cluster.
If you launched with --tp, either stop by job ID or give the same --tp again. SparkRun says stopping does not delete model files. sparkrun stop.
Part 4
This describes what we read in the code of our Mac app, version 1.0.59, and its server software. We have not tested it against a new SparkRun install on a DGX Spark. The app is coming soon to the App Store and the Microsoft Store.
Installing the app’s server software does not install SparkRun. Install it as in Part 2, for the same user account that runs the server software, with a default cluster. The software looks for it at ~/.local/bin/sparkrun unless that path is changed in its settings. Check where yours is:
command -v sparkrun
The cards come from SparkRun’s own recipe list on that Spark, including registries that need a prefix.
A drop-down beside the search box starts at local. Choose all to see recipes from the other registries. With local and no local recipes, the list says no recipes match.
The app shows the command, not the recipe’s contents. It cannot answer SparkRun’s trust question and adds no --trust. So a recipe from a trusted registry runs its commands without asking. SparkRun says an untrusted recipe with such commands is refused when nobody can answer. Read it in a terminal first.
The panel shows the recipe’s settings and a memory check, which can warn you before launch. It is a warning, not a guarantee.
The other two choices add vLLM’s --cudagraph-capture-sizes after --. vLLM marks that setting as deprecated, SGLang uses different settings, and SparkRun’s run page does not document that way of passing it. Do not change a working recipe here. See CUDA graphs.
Confirming starts a real launch that uses the GPU and memory.
Before it sends anything, the app shows the exact sparkrun run command with Cancel and Launch. For one Spark it includes --no-follow and --solo. SparkRun 0.4.2 still accepts --solo, but hides it from its help and says an explicit --tp is better. If you set Nodes (TP) above 1, the command has --tp instead.
Every setting you meant to change should appear as -o name=value. Make changes just before you launch. We could not confirm from the code that values kept with Save config are added to the command, so do not rely on it.
The app shows start-up stages and the log. The server software also lists running containers whose names start with sparkrun_, so a model you started in a terminal can appear. Confirm with sparkrun status.
Both end service. On a running card, Stop runs docker stop and Kill removes the container at once with docker rm -f. Each asks first. Neither is sparkrun stop.
Our advice. Stop SparkRun models with sparkrun stop in a terminal, which SparkRun says also releases its hold on cached model files.
The Update sparkrun button changes your install. It runs sparkrun update on the Spark, with the channel picked beside it, without a second question. That also refreshes recipes. Beta and alpha follow moving development branches.
This guide does not use the app to import recipe files. Run a saved file with SparkRun in a terminal.
Part 5
| What you see | What to check |
|---|---|
sparkrun: command not found | Open a new terminal. Check you are the user who installed it. |
| A launch fails before it starts | sparkrun setup check names missing setup steps and changes nothing. |
| Refused for lack of trust | Read the listed commands. Use --trust only if you accept them all. |
| A recipe name is ambiguous | Use the form with the registry, @registry/name, that the error lists. |
| Readiness times out | SparkRun says this does not always mean it crashed. Look at sparkrun status and sparkrun logs before you start another. |
| The app’s Launcher list is empty | Choose all. Then run sparkrun list --all on that Spark, as the same user. |
| The app starts nothing | Run the command from its confirm box in a terminal on the Spark and read the error. |
sparkrun update stays on your channel and refreshes recipe registries, so a recipe can change under the same name. SparkRun says to use stable for anything you depend on.
sparkrun update --stable
Our advice. Keep your own copy of a recipe that works, and do not update while you need a model that is serving.
Stop models with sparkrun stop. Turn a registry off with sparkrun registry disable NAME. To reverse what the setup wizard changed, SparkRun 0.4.2 has sparkrun setup uninstall. Preview it first with sparkrun setup uninstall --dry-run. We read this in its source, not on its documentation pages, and have not run it. It may not put everything back, so note what you say yes to. Do not forward a model server’s port to the public internet; for private access see our Tailscale guide.
Next
Server AI Hub is our app for looking after a DGX Spark. You do not need it to follow this playbook. It is coming soon to the App Store and the Microsoft Store.
Sources
General guidance only, in our own words, read on 26 November 2026. You use these steps at your own risk. SparkRun and Spark Arena belong to their maintainers. NVIDIA and DGX Spark are trademarks of NVIDIA Corporation; Docker, Mac and other names belong to their owners. 6ixLabs is not affiliated with or endorsed by NVIDIA, SparkRun or Spark Arena.