Local Multimodal RAG on the NVIDIA DGX Spark | Part 3 - Putting it all together

21 Jan 2026 · 125 min
2:05:07

In this live‑coding stream, Daniel Bourke demonstrates the construction and debugging of a multimodal Retrieval‑Augmented Generation (RAG) pipeline on an NVIDIA DGX Spark system. He starts by loading a dataset of roughly 10,000 recipe items, each containing an image and accompanying text. Using NVIDIA’s NeMoTron VL‑1B v2 embedding model, he generates three parallel sets of 2048‑dimensional embeddings (image‑only, text‑only, and combined image‑text) and stores them in a SafeTensors file. He then showcases fast cosine‑similarity retrieval across modalities – text‑to‑text, image‑to‑image, and image‑to‑text – by querying for sandwich recipes, steak dishes, and ingredient‑specific meals, displaying the top‑k results in real time. The stream moves on to integrating the Llama‑NemoTron ReRank VL‑1B v2 re‑ranking model, discussing the need to disable Flash‑Attention, editing model loading code, and even submitting a PR to Hugging Face’s Transformers library. After loading the re‑ranker, Daniel re‑ranks the top‑k candidates, showing how rankings shift for queries like “breakfast to impress my girlfriend” or gluten‑free dishes. Throughout, he engages with a global audience, answering questions about publishing papers, career advice, hardware choices (DGX Spark vs RTX 5090/5080), OCR models, and future content (LLM‑from‑scratch series, demo UI). He wraps up by outlining next steps: cleaning up the pipeline, building a searchable UI, and a brief workout break before returning to the stream.

Chapters

More from Daniel

youtube.com

Small Language Models (SLMs) Are the Future: Fine-Tuning AI That Runs on Your iPhone

7mo ago
youtube.com

Introducing Sunny - A MedGemma-Powered Skin Health Tracking App (Kaggle Competition Entry)

7mo ago
youtube.com

NVIDIA DGX Spark vs RTX 4090 | LLM inference, training speed and more

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 4 - Comparing the results

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 3 - Running LLMs on the RTX 4090

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 2 - Formalizing the tests

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 1 - Creating a series of tests

8mo ago
youtube.com

Local Multimodal RAG Pipeline End-to-End Tutorial | On DGX Spark

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 4 - Publishing our demo to Hugging Face

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 3.5 - Making a demo

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 2 - Creating the pipeline

8mo ago
See all content