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
- 0:00Introduction
- 0:07Where this fits: The AI stack
- 0:14Three sources: Where recipes come from
- 0:27Read this first: Does SparkRun ask?
- 0:41Read it: Save it, then read it
- 0:52Check each: What to look for
- 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.yamlCheck 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
- spark-arena.com
- github.com/spark-arena/recipe-registry
- github.com/spark-arena/community-recipe-registry
- sparkrun.dev/advanced/security
- sparkrun.dev/recipes/registries
- sparkrun.dev/recipes/format