Skip to content
AI Course Zero to Agent DE
Contents

In depth · Appendix · A5

DGX Spark playbooks and their smaller Mac versions

NVIDIA’s DGX Spark playbooks as a map: what they show, what of it works on a MacBook, and where the course explains the topic.

On this page
  1. What sets the Spark apart from the MacBook
  2. Getting started and monitoring
  3. Serving models and chatting
  4. Multiple devices and clusters
  5. Quantization and optimization
  6. Knowledge and retrieval
  7. Fine-tuning
  8. Agents
  9. Images, video and robotics
  10. A sensible order
  11. Go further

At build.nvidia.com/spark, NVIDIA collects step-by-step guides (“playbooks”) for the DGX Spark. They were the model for the hands-on parts of this course. The overview below lists all 31 playbooks that were available for the Spark on November 24, 2026 (30 on the overview page, one only at its own address), grouped by topic.

How to read the overview

Each card first says what the playbook shows on the Spark. Below that is the smaller version for a MacBook with Apple Silicon, designed for 24 GB, with notes for 16 and 8 GB where it matters. The Mac version is an assessment for this course, not from NVIDIA, and wasn’t tried out on the Mac playbook by playbook. Where a playbook needs CUDA, NVIDIA containers or several Sparks, it honestly says “not doable”, along with the closest alternative.

What sets the Spark apart from the MacBook

According to the NVIDIA product page, the DGX Spark has the GB10 chip (Grace Blackwell), 128 GB of memory shared by CPU and GPU (also 64 GB through OEM partners), and a memory bandwidth of 273 GB/s. A MacBook with an M4 also has shared memory (unified memory), but 16 to 32 GB and 120 GB/s. Two consequences run through every row: on the Spark with 128 GB, models with up to about 200 billion parameters fit, with 64 GB up to about 100 billion (according to NVIDIA), on the Mac more like 8 to 14 billion in 4 bits. And the Spark runs CUDA, so NVIDIA tools like vLLM, TensorRT, NIM and NeMo work there, which don’t exist for the Mac. Chapter 6 and chapter 9 explain why bandwidth and memory matter so much.

DGX Spark and MacBook: memory and bandwidth on the same scale Top, the shared memory. Shown is the DGX Spark with 128 GB; the MoE model gpt-oss:120b takes up 65 GB of it. According to NVIDIA, models up to about 200 billion parameters fit there. The MacBook with an M4 has 24 GB, drawn a quarter as long; gpt-oss:20b takes up 14 GB, and the limit for the GPU is about 19 GB. On the Mac, more like 8 to 14 billion parameters in 4 bits fit. Bottom, the bandwidth for an 8B model with 4.9 GB. The Mac has 120 GB/s, which gives at most 24.5 tokens per second. The Spark has 273 GB/s, which gives at most 55.7; Ollama measured 38.0. For small models, bandwidth counts, not compute. Spark and Mac on the same scale Shared memory DGX Spark with 128 GB gpt-oss:120b, 65 GB up to about 200B parameters, says NVIDIA MacBook M4: 24 GB gpt-oss:20b, 14 GB Line: GPU limit about 19 GB more like 8-14B parameters in 4 bits Bandwidth and writing speed 8B model with 4.9 GB: limit = GB/s ÷ 4.9 MacBook M4 120 GB/s at most 24.5 tokens/s DGX Spark 273 GB/s at most 55.7 tokens/s, measured 38.0 For small models, bandwidth counts, not compute.
Both parts are to scale: top 2.53 units per GB of memory, bottom 1 unit per GB/s. Metal reported the GPU limit on the test Mac (chapter 10), the 38.0 tokens per second come from the Ollama blog, and the upper limits are calculated (chapter 6).
Which tools run on the Spark, on both, and on the Mac Three boxes one above the other. With GPU only on the Spark, because they need CUDA: vLLM, TensorRT, NIM and NeMo. On both computers: Ollama, llama.cpp, LM Studio and Open WebUI. On the Mac as a substitute: mlx_lm for servers, LoRA training and conversion to 4 bits. Below that, the note: Docker on the Mac has no GPU access. Runs where? GPU use only on Spark (CUDA) vLLM TensorRT NIM NeMo on both Ollama llama.cpp LM Studio Open WebUI on the Mac instead mlx_lm Server, LoRA, 4 bit Docker on the Mac: no GPU access
The top row is the reason many playbooks are marked “not doable” on the Mac; the middle and bottom rows are the route the Mac versions on the cards below take. Officially, vLLM runs on the Mac only on the CPU.

Getting started and monitoring

Connect Remotely to Your AI Compute

On the Spark Reach the Spark from your laptop: NVIDIA Sync, SSH, optionally Tailscale.

On the Mac (24 GB) No counterpart needed; the Mac already is your computer. You’ll need the concept (SSH tunnel, Tailscale) if you later connect a Spark or a server. More in chapter 10.

Monitor Your AI Compute with DGX Dashboard

On the Spark Web dashboard for GPU usage, updates and JupyterLab.

On the Mac (24 GB) Can’t be recreated. Closest alternative: Activity Monitor (GPU History) and ollama ps for memory. More in chapter 6.

Register AI Compute with Brev

On the Spark Register the Spark as a GPU environment the team can share.

On the Mac (24 GB) Doesn’t make sense on the Mac.

Serving models and chatting

Chat with LLMs Using Open WebUI and Ollama

On the Spark Chat interface in the browser with a local model (examples gpt-oss:20b, qwen3.6).

On the Mac (24 GB) Very doable: Ollama natively, Open WebUI via pip or Docker. Model on 24 GB, for example qwen3:8b or qwen3:14b, on 16 GB qwen3:8b, on 8 GB qwen3:4b or gemma3:4b. More in chapter 10.

Serve LLMs with vLLM on One Device

On the Spark Serve a model with vLLM as an OpenAI-compatible API (NVFP4 models).

On the Mac (24 GB) Officially, vLLM runs on the Mac only on the CPU. Same learning content with llama-server, mlx_lm.server or the LM Studio server and a 4-bit model up to 8B. More in chapter 6.

Serve Models with llama.cpp

On the Spark Build llama.cpp with CUDA and serve a GGUF MoE model through llama-server.

On the Mac (24 GB) Directly doable with the Metal build of llama.cpp and a smaller GGUF (for example Qwen3 1.7B to 8B in Q4_K_M). More in chapter 10.

Serve LLMs with SGLang

On the Spark SGLang with prefix caching (RadixAttention) and structured JSON output.

On the Mac (24 GB) Not SGLang itself. The learning goals work with Ollama: structured output via format and prefix effects via repeated prompts. More in chapter 7.

Deploy NVIDIA NIM for LLM Inference

On the Spark Start a ready-made NIM container from NVIDIA and check the endpoint.

On the Mac (24 GB) Not doable (NVIDIA container). Substitute: Ollama or LM Studio with an OpenAI-compatible endpoint. More in chapter 10.

Serve LLMs with LM Studio

On the Spark Run LM Studio headless as an LLM server and use the model from your laptop.

On the Mac (24 GB) Directly doable, LM Studio exists for the Mac; pick a smaller model. More in chapter 10.

Install and Use NVIDIA PAIR with llama.cpp

On the Spark Link several computers on your home network and route requests to the one that’s free.

On the Mac (24 GB) According to the playbook, usable on the Mac too; only makes sense with two computers. More in chapter 6.

Multiple devices and clusters

Connect Multiple DGX Sparks

On the Spark Connect two to four Sparks into a cluster via QSFP.

On the Mac (24 GB) Not doable. Distributed inference across several Macs exists with other tools, but isn’t part of this course.

Serve LLMs with vLLM Across DGX Sparks

On the Spark Serve a model that’s too big for one device, spread across several Sparks.

On the Mac (24 GB) Not doable. More in chapter 8.

Set Up NCCL for Multi-Node GPU Communication

On the Spark Build NCCL and measure the bandwidth between GPUs.

On the Mac (24 GB) Not doable (CUDA).

Build and Run Scientific Applications with NVIDIA HPC SDK

On the Spark Not published yet (“Coming Soon”).

On the Mac (24 GB) Not applicable.

Quantization and optimization

Quantize Models to NVFP4 with NVIDIA Model Optimizer

On the Spark Convert an 8B model to the 4-bit format NVFP4 and test it.

On the Mac (24 GB) Not NVFP4 (a Blackwell format). Same idea on the Mac: mlx_lm.convert with 4 bits or llama-quantize for GGUF. More in chapter 9.

Run Multi-Modal Inference with TensorRT

On the Spark Compare FLUX.1 image models in BF16, FP16, FP8 and FP4.

On the Mac (24 GB) Not TensorRT. Image models in 4 and 8 bits exist for MLX; for this course, only an outlook. More in chapter 9.

Knowledge and retrieval

Build Knowledge Graphs with txt2kg

On the Spark Extract triples from texts with a local LLM and explore them as a knowledge graph.

On the Mac (24 GB) Partly: extract triples with Ollama and a small script. There’s no classic RAG playbook on the Spark overview; you practice RAG in chapter 11. More in chapter 11.

Fine-tuning

Fine-Tune Faster with Unsloth

On the Spark Short LoRA/QLoRA test run with Phi-3.5-mini in 4 bits.

On the Mac (24 GB) Substitute: mlx_lm.lora with a small 4-bit model, a few hundred steps. More in chapter 19.

Fine-Tune LLMs with LLaMA Factory

On the Spark Fine-tune Qwen3-4B with LoRA, test it, export it.

On the Mac (24 GB) Substitute: mlx_lm.lora with Qwen3-4B or smaller (on 8 GB, better 1.7B). More in chapter 19.

Fine-Tune with NVIDIA NeMo

On the Spark PEFT, LoRA, QLoRA and SFT for models from about 1 to 70 billion parameters.

On the Mac (24 GB) Not doable (NeMo). Substitute as above with mlx-lm. More in chapter 19.

Fine-Tune Vision Language Models

On the Spark Fine-tune vision language models (Qwen2.5-VL-7B, InternVL3-8B) for special tasks.

On the Mac (24 GB) Only very small, with MLX tools for image models; for this course, only an outlook. More in chapter 19.

Fine-Tune FLUX.2 Klein for Custom Image Generation

On the Spark Teach an image model new concepts with LoRA.

On the Mac (24 GB) Only very small; for this course, only an outlook. More in chapter 19.

Agents

Set Up CLI Coding Agents with Local Inference

On the Spark Connect Claude Code, OpenCode or Codex CLI to a local Ollama model.

On the Mac (24 GB) Same commands, smaller model. Expect clearly weaker results than with a cloud model. More in chapter 16.

Run Hermes Agent with a Local LLM

On the Spark Connect the Hermes agent to a local model, optionally with Telegram.

On the Mac (24 GB) Doable with Ollama as the endpoint and a small model; tool calls get less reliable. More in chapter 17.

Run OpenClaw with a Local LLM

On the Spark Connect the local agent OpenClaw to a local endpoint.

On the Mac (24 GB) Doable with Ollama. The playbook recommends 65,536 tokens of context; on 24 GB that only fits with a small model (memory calculator in chapter 9). More in chapter 17.

Run NemoClaw with a Local LLM

On the Spark Set up an always-on OpenClaw assistant in an OpenShell sandbox.

On the Mac (24 GB) Not doable. Closest alternative: OpenClaw in a Docker container with restricted permissions. More in chapter 17.

Set Up Example NemoClaw Agents

On the Spark Four ready-made agent applications in the NemoClaw sandbox.

On the Mac (24 GB) Not doable; the ideas (morning overview, reviewer, appointment scheduler) can be rebuilt with OpenClaw or your own agent. More in chapter 17.

Secure AI Agents with OpenShell

On the Spark Lock coding agents into a sandbox with rules for files, network and processes.

On the Mac (24 GB) Not doable. Closest alternative: a Docker container without network and with only one shared folder. More in chapter 18.

Images, video and robotics

Generate Images and Videos with ComfyUI

On the Spark Generate images and videos with diffusion models through a node-based interface.

On the Mac (24 GB) Images yes (ComfyUI runs on Apple Silicon), video hardly. Not a focus of this course.

Stream Real-Time Video to a Vision Language Model

On the Spark Send webcam images live to a vision language model (gemma3:4b).

On the Mac (24 GB) Doable with gemma3:4b through Ollama. More in chapter 10.

Set Up Isaac Sim and Isaac Lab

On the Spark Build the robotics simulator and start a locomotion training run.

On the Mac (24 GB) Not doable; not a course topic.

A sensible order

If you have a Spark, you can work through the playbooks along the course: first remote access and Open WebUI with Ollama (chapter 10), then llama.cpp and vLLM as servers (chapters 6 to 9), after that a coding agent with a local model (chapter 16), Hermes or OpenClaw as an always-on agent (chapter 17), and finally OpenShell to lock it in (chapter 18). Fine-tuning with Unsloth or LLaMA Factory fits at the end (chapter 19). On the Mac you take the same route with the tools from the “On the Mac” sections and smaller models.

State of the list

NVIDIA changes the playbooks often. Some older pages (for example on RAG with AI Workbench, speculative decoding, TensorRT-LLM and video search) now return a 404 error and are therefore missing here. There was no dedicated playbook on speech and audio on November 24, 2026.

Go further

Progress is saved in this browser only.