
spark-environment-setup
Set up a working ML training/inference environment on NVIDIA DGX Spark
by wshobsonFree
Description
spark-environment-setup is an agent skill from the wshobson/agents collection for setting up a working machine learning training and inference environment on NVIDIA DGX Spark. The DGX Spark uses a GB10 Grace Blackwell chip, with an aarch64 CPU, an SM121 GPU, 128 GB of unified memory and CUDA 13. The skill points out that this is a narrower and newer platform than a standard x86 CUDA 12 machine, so package selection and binary compatibility matter more, and the ecosystem of wheels for aarch64 with CUDA 13 is still filling in. It covers installing PyTorch, Unsloth, TRL, vLLM and xformers on the platform, along with checking that a framework is really using the GPU and not silently falling back to the CPU. It also covers the choice between using an NGC container and installing with pip, and restoring a working setup after an operating system reinstall or a base image update, with a verification from scratch. The skill applies when setting up a fresh DGX Spark for training or inference, when an import error mentions a missing CUDA runtime or symbol, when a wheel installs but will not load, when a framework install fails or hangs, and when a setup needs to be re-verified. Installing frameworks changes the machine, so the steps should be run in a planned order and checked after each one. The skill is installed with the skills CLI from the wshobson/agents repository. Its skills.sh page showed about 2.3K installs, with Gen Agent Trust Hub and Socket passing and Snyk showing a warning at the time of the scan.…
Highlights
- PyTorch, Unsloth, TRL, vLLM and xformers setup
- Notes for aarch64 and CUDA 13 on DGX Spark
- Checks that frameworks use the GPU
- NGC container or pip choice
- Re-verification after OS or image changes
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate spark-environment-setup.
People also visit

pytorch-patterns
PyTorch deep learning patterns and best practices for building robust
spark-environment-setup FAQ
Which hardware is it for?
NVIDIA DGX Spark, with a GB10 Grace Blackwell chip, aarch64 CPU, SM121 GPU, 128 GB unified memory and CUDA 13.
Which frameworks does it cover?
PyTorch, Unsloth, TRL, vLLM and xformers.
Why is this setup harder than usual?
The skill notes the platform is newer than standard x86 CUDA 12 machines, so binary compatibility and package selection matter more.
What if a framework silently falls back to the CPU?
The skill covers diagnosing installs that fail, hang or fall back to CPU.
How do I install it?
Run npx skills add https://github.com/wshobson/agents --skill spark-environment-setup.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn. A Warn or Fail is worth reading before you install.
What are the best spark-environment-setup alternatives?
Popular alternatives to spark-environment-setup include spark-training-gotchas, spark-memory-thermal-ops and pytorch-patterns. See all spark-environment-setup alternatives








