Playbook · DGX Spark

SparkRun on DGX Spark, with Server AI Hub.

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.

How to use SparkRun on a DGX Spark

  1. Install SparkRun yourself on the Spark and decide about its telemetry; its setup wizard changes SSH, network and system settings.
  2. Read a recipe before you run it: recipes can run commands, and SparkRun's shipped registries are trusted without asking.
  3. Start with sparkrun run, check with sparkrun status, and stop with sparkrun stop.
  4. In Server AI Hub, open Models, then Launcher, choose all, and read the command box before you confirm.

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

Choose a part.

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.

Part 1 of 2: Install SparkRun and run a model

Video, part 1: Install SparkRun and run a model. It covers: A recipe starts a model; Recipes can run commands; Install, without the wizard; It changes your system; Read, preview, run. Chapters and transcript
Read the words of this video

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.

Slides for this part, at your own pace:

11 steps

  1. Diagram for step 1, Recipes can run commands: Recipes can run commands
    Diagram: Recipes can run commands, for step 1

    Before you start

    1. Recipes can run commands

    Read a recipe before you run it.

    A recipe can run commands inside the container, and also on the machine you launch from.

  2. Diagram for step 2, Install without the wizard: Install, without the wizard
    Diagram: Install, without the wizard, for step 2

    Install and set up

    2. Install without the wizard

    You need Python 3.12 or newer, Docker, SSH access and uv. This installs SparkRun and sends no usage data for this run.

    SPARKRUN_NO_TELEMETRY=1 uvx sparkrun setup install

    SparkRun's installation page

  3. Diagram for step 3, Decide about telemetry: Install, without the wizard
    Diagram: Install, without the wizard, for step 3

    Install and set up

    3. Decide about telemetry

    Usage data is sent by default. This turns it off.

    sparkrun setup telemetry --disable
  4. Diagram for step 4, Preview the wizard: It changes your system
    Diagram: It changes your system, for step 4

    Install and set up

    4. Preview the wizard

    Use your own Spark's name in place of my-spark. A dry run changes nothing.

    sparkrun setup wizard --dry-run --hosts my-spark
  5. Diagram for step 5, Run the wizard: It changes your system
    Diagram: It changes your system, for step 5

    Install and set up

    5. Run the wizard

    It can change SSH, network, Docker group and sudo settings, and install a tool that ends processes. Keep another way in.

    Answer each question. Press n to skip a step.

    sparkrun setup wizard
  6. Diagram for step 6, Shipped registries are trusted: Recipes can run commands
    Diagram: Recipes can run commands, for step 6

    Run a model

    6. Shipped registries are trusted

    SparkRun says its own registries, community recipes among them, run those commands without asking. Our advice: untrust each one you have not checked, starting with sparkrun registry untrust community.

    sparkrun registry untrust community

    SparkRun's security page

  7. Diagram for step 7, Read the recipe: Read, preview, run
    Diagram: Read, preview, run, for step 7

    Run a model

    7. Read the recipe

    SparkRun treats a file on your own disk as trusted, so finish reading before you run the file.

    Save a copy and read every line, including any mod scripts.

    sparkrun export recipe RECIPE --save my-recipe.yaml
  8. Diagram for step 8, Preview the launch: Read, preview, run
    Diagram: Read, preview, run, for step 8

    Run a model

    8. Preview the launch

    A dry run runs no recipe commands.

    sparkrun run RECIPE --dry-run
  9. Diagram for step 9, See what is running: Read, preview, run
    Diagram: Read, preview, run, for step 9

    Run a model

    9. See what is running

    Look before you start anything.

    sparkrun status
  10. Diagram for step 10, Start the model: Read, preview, run
    Diagram: Read, preview, run, for step 10

    Run a model

    10. Start the model

    This uses the GPU and memory, may download a lot, and can replace a deployment.

    SparkRun follows the log and returns when ready. Ctrl+C closes your view, not the model.

    sparkrun run RECIPE
  11. Diagram for step 11, Stop it: Check, then stop
    Diagram: Check, then stop, for step 11

    Run a model

    11. Stop it

    Stopping ends service for everyone using that model.

    Find the job ID with status, then stop that job.

    sparkrun stop JOB-ID

Part 2 of 2: Use it with Server AI Hub

Video, part 2: Use it with Server AI Hub. It covers: You install SparkRun yourself; Choose all recipes; The app shows the command; Read the command box; Stop and Kill use Docker. Chapters and transcript
Read the words of this video

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.

Slides for this part, at your own pace:

9 steps

  1. Diagram for step 1, Install SparkRun yourself: You install SparkRun yourself
    Diagram: You install SparkRun yourself, for step 1

    Set up

    1. Install SparkRun yourself

    The app's server software does not install it. Use the same user account, and set a default cluster.

    command -v sparkrun
  2. Diagram for step 2, Open Models, then Launcher: Choose all recipes
    Diagram: Choose all recipes, for step 2

    In the app

    2. Open Models, then Launcher

    The cards come from SparkRun's recipe list on that Spark.

  3. Diagram for step 3, Change local to all: Choose all recipes
    Diagram: Choose all recipes, for step 3

    In the app

    3. Change local to all

    The drop-down beside search starts at local.

  4. Diagram for step 4, Read before you pick: The app shows the command
    Diagram: The app shows the command, for step 4

    In the app

    4. Read before you pick

    A recipe from a trusted registry runs its commands without asking.

    The app shows the command, not the recipe's contents.

    sparkrun show RECIPE
  5. Diagram for step 5, Keep Recipe default, press Launch: Read the command box
    Diagram: Read the command box, for step 5

    Launch

    5. Keep Recipe default, press Launch

    Leave CUDA GRAPHS on Recipe default. A box shows the exact command.

  6. Diagram for step 6, Read the command, then confirm: Read the command box
    Diagram: Read the command box, for step 6

    Launch

    6. Read the command, then confirm

    Confirming starts a real launch that uses the GPU and memory.

    Every change you want should appear as -o name=value. Do not rely on Save config.

  7. Diagram for step 7, Know what Stop and Kill do: Stop and Kill use Docker
    Diagram: Stop and Kill use Docker, for step 7

    Stop and update

    7. Know what Stop and Kill do

    Both end service.

    Stop runs docker stop. Kill removes the container at once. Each asks first.

  8. Diagram for step 8, Stop with SparkRun: Stop and Kill use Docker
    Diagram: Stop and Kill use Docker, for step 8

    Stop and update

    8. Stop with SparkRun

    This ends service for that model.

    Our advice: stop in a terminal with SparkRun.

    sparkrun stop JOB-ID
  9. Diagram for step 9, Confirm what is running: Read, confirm, check
    Diagram: Read, confirm, check, for step 9

    Check

    9. Confirm what is running

    Check from the Spark itself.

    sparkrun status

The drawings in the videos and slides are our own illustrations, not the makers’ screens.

On this page

Five parts.

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

What is SparkRun on a DGX Spark?

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.

You, in a terminalServer AI Hubon your MacSparkRunon the SparkRecipea YAML fileContainervLLM, SGLang...Modelon a port
Our own drawing: SparkRun reads a recipe and starts a container on the DGX Spark. The app runs the same command; it does not replace SparkRun.

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.

Do you need it?

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

How do you install SparkRun on a DGX Spark?

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.

  1. Check what 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.

  2. Install uv, the tool SparkRun uses.

    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.

  3. Install without the wizard, and decide about telemetry.

    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.

  4. Preview the wizard.

    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
  5. Run the wizard, one question at a time.

    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 stepWhat it doesSkip it?
    Cluster and SSHSaves your Sparks by name; may install an SSH keyNeeded for launches
    SSH meshPasswordless SSH between the machinesPress n if it already works
    ConnectX-7 networkTwo or more Sparks: fixed addresses, a larger packet size, new network configurationPress n if you set the link up yourself
    Docker groupAdds your user to dockerPress n if already a member
    sudo rulesNarrow rules to fix model cache permissions and to clear the file cacheYour choice
    earlyoomEnds processes, model servers first, before memory runs outRead 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.

  6. Set the default cluster and check it.

    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

How do you run a model with SparkRun?

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.

  1. Make recipes from registries you have not checked ask first.

    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
  2. Find a recipe.

    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
  3. Save a copy and read it.

    Replace RECIPE with the name from the list.

    sparkrun export recipe RECIPE --save my-recipe.yaml
    less my-recipe.yaml
    Look atAsk yourself
    model, model_revisionIs it the model you meant? Does its licence allow your use?
    containerWho publishes this image, and is the version fixed or a moving tag?
    command, defaults, envWhich port, how much memory, what is passed to the model server?
    pre_exec, mods, post_exec, post_commandsWhat runs, and where? A mod runs its own run.sh: read that file too.
    executor, executor_configDoes 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.

  4. Preview the launch.

    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
  5. Start the model.

    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.

  6. Check, read the log, stop.

    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

How does Server AI Hub work with SparkRun?

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.

What you set up yourself

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

Start a recipe from the app

  1. Open Models, then Launcher.

    The cards come from SparkRun’s own recipe list on that Spark, including registries that need a prefix.

  2. Change the list from local to all.

    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.

  3. Read the recipe first, then pick its card.

    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.

  4. Leave CUDA GRAPHS on Recipe default.

    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.

  5. Press Launch, and read the command box.

    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.

  6. Watch it start, then check.

    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.

Stopping and updating from the app

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

SparkRun problems on DGX Spark, and how to undo

What you seeWhat to check
sparkrun: command not foundOpen a new terminal. Check you are the user who installed it.
A launch fails before it startssparkrun setup check names missing setup steps and changes nothing.
Refused for lack of trustRead the listed commands. Use --trust only if you accept them all.
A recipe name is ambiguousUse the form with the registry, @registry/name, that the error lists.
Readiness times outSparkRun 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 emptyChoose all. Then run sparkrun list --all on that Spark, as the same user.
The app starts nothingRun the command from its confirm box in a terminal on the Spark and read the error.

Updates

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.

Undo

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

Keep going.

About Server AI Hub

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.

See what Server AI Hub does

Sources

Check the makers’ own pages.

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.