Learn / Spark Arena Recipes on DGX Spark, Used Safely

Spark Arena recipes, part 1: find and read

Here's how to find a Spark Arena recipe for DGX Spark, and read it before you run it.

Chapters

  1. 0:00Introduction
  2. 0:07Where this fits: The AI stack
  3. 0:14Three sources: Where recipes come from
  4. 0:27Read this first: Does SparkRun ask?
  5. 0:41Read it: Save it, then read it
  6. 0:52Check each: What to look for
  7. 1:03Wrap up
Read the transcript

Introduction

Here's how to find a Spark Arena recipe for DGX Spark, and read it before you run it.

Where this fits: The AI stack

Start at the bottom: the machine. A recipe starts the software that runs a model on it.

Three sources: Where recipes come from

There's an official registry, which has an MIT licence file. A community registry, where we found no licence. And leaderboard entries, where we found no licence terms. So this guide only links.

Read this first: Does SparkRun ask?

A leaderboard link is never trusted automatically, so SparkRun asks. Registries that ship with SparkRun are trusted. They don't ask, community included. A file on your own disk doesn't ask either.

Read it: Save it, then read it

Show the recipe, using its leaderboard ID. Save a copy. The saved file is trusted, so don't run it yet. Then open it, and read every line.

sparkrun show @spark-arena/RECIPE-ID
sparkrun export recipe @spark-arena/RECIPE-ID --save my-recipe.yaml
less my-recipe.yaml

Check each: What to look for

Check the model, and its licence. Check who builds the container. Read every command, and any mod scripts. And look for extra rights or host folders.

Wrap up

If you can't explain a line, don't run it. Part two runs the recipe.

Sources

More lessons