Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Help Center
Getting Started
  1. Create and verify your account to unlock full access to NVIDIA NIM APIs.
ResourcesDeveloper ForumsContact Support
FAQs
  • View All Playbooks
    View All Playbooks

    onboarding

    • Set Up Local Network Access
    • Open WebUI with Ollama

    data science

    • Single-cell RNA Sequencing
    • Portfolio Optimization
    • CUDA-X Data Science
    • Build Knowledge Graphs with txt2kg
    • Optimized JAX

    tools

    • DGX Dashboard
    • RAG Application in AI Workbench
    • Set up Tailscale on Your Spark
    • VS Code
    • Connect Three DGX Spark in a Ring Topology
    • Connect Multiple DGX Spark through a Switch

    fine tuning

    • FLUX.1 Dreambooth LoRA Fine-tuning
    • LLaMA Factory
    • Fine-tune with NeMo
    • Fine-tune with Pytorch
    • Unsloth on DGX Spark

    use case

    • Run Hermes Agent with a Local LLM
    • cuTile Kernels
    • CLI Coding Agent
    • Run NemoClaw with a Local LLM
    • 🦞 Set Up Example NemoClaw Agents 🦞
    • Live VLM WebUI
    • Install and Use Isaac Sim and Isaac Lab
    • Vibe Coding in VS Code
    • Build and Deploy a Multi-Agent Chatbot
    • Connect Two Sparks
    • NCCL for Multiple Sparks
    • Build a Video Search and Summarization (VSS) Agent
    • Spark & Reachy Photo Booth
    • Secure AI Agents with OpenShell
    • Run OpenClaw with a Local LLM

    inference

    • Generate Images and Videos with ComfyUI
    • Serve LLMs with vLLM
    • Speculative Decoding
    • Run models with llama.cpp on DGX Spark
    • Nemotron Model Family on DGX Spark
    • Serve LLMs with SGLang
    • TRT LLM for Inference
    • Quantize Models to NVFP4 with NVIDIA Model Optimizer
    • Multi-modal Inference
    • NIM on Spark
    • LM Studio on DGX Spark

    Optimized JAX

    2 HRS

    Optimize JAX to run on Spark

    • DGX
    • Spark
    View on GitHub
    OverviewOverviewInstructionsInstructionsTroubleshootingTroubleshooting

    Basic idea

    JAX lets you write NumPy-style Python code and run it fast on GPUs without writing CUDA. It does this by:

    • NumPy on accelerators: Use jax.numpy just like NumPy, but arrays live on the GPU.
    • Function transformations:
      • jit → Compiles your function into fast GPU code
      • grad → Gives you automatic differentiation
      • vmap → Vectorizes your function across batches
      • pmap → Runs across multiple GPUs in parallel
    • XLA backend: JAX hands your code to XLA (Accelerated Linear Algebra compiler), which fuses operations and generates optimized GPU kernels.

    What you'll accomplish

    You'll set up a JAX development environment on NVIDIA Spark with Blackwell architecture that enables high-performance machine learning prototyping using familiar NumPy-like abstractions, complete with GPU acceleration and performance optimization capabilities.

    What to know before starting

    • Comfortable with Python and NumPy programming
    • General understanding of machine learning workflows and techniques
    • Experience working in a terminal
    • Experience using and building containers
    • Familiarity with different versions of CUDA
    • Basic understanding of linear algebra (high-school level math sufficient)

    Prerequisites

    • NVIDIA Spark device with Blackwell architecture
    • ARM64 (AArch64) processor architecture
    • Docker or container runtime installed
    • NVIDIA Container Toolkit configured
    • Verify GPU access: nvidia-smi
    • Port 8080 available for marimo notebook access

    Ancillary files

    All required assets can be found here on GitHub

    • JAX introduction notebook — covers JAX programming model differences from NumPy and performance evaluation
    • NumPy SOM implementation — reference implementation of self-organized map training algorithm in NumPy
    • JAX SOM implementations — multiple iteratively refined implementations of SOM algorithm in JAX
    • Environment configuration — package dependencies and container setup specifications

    Time & risk

    • Duration: 2-3 hours including setup, tutorial completion, and validation
    • Risks:
      • Package dependency conflicts in Python environment
      • Performance validation may require architecture-specific optimizations
    • Rollback: Container environments provide isolation; remove containers and restart to reset state.
    • Last Updated: 11/07/2025
      • Minor copyedits

    Resources

    • JAX Documentation
    • DGX Spark Documentation
    • DGX Spark Forum
    • DGX Spark User Performance Guide
    Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation