Optimized JAX

2 HRS

Optimize JAX to run on Spark

SymptomCauseFix
nvidia-smi not foundMissing NVIDIA driversInstall NVIDIA drivers for ARM64
Container fails to access GPUMissing NVIDIA Container ToolkitInstall nvidia-container-toolkit
JAX only uses CPUCUDA/JAX version mismatchReinstall JAX with CUDA support
Port 8080 unavailablePort already in useUse -p 8081:8080 or kill process on 8080
Package conflicts in Docker buildOutdated environment fileUpdate environment file for Blackwell

NOTE

DGX Spark uses a Unified Memory Architecture (UMA), which enables dynamic memory sharing between the GPU and CPU. With many applications still updating to take advantage of UMA, you may encounter memory issues even when within the memory capacity of DGX Spark. If that happens, manually flush the buffer cache with:

sudo sh -c 'sync; echo 3 > /proc/sys/vm/drop_caches'