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

    CLI Coding Agent

    20 MINS

    Build local CLI coding agents with Ollama

    • Claude Code
    • Codex
    • Coding
    • LLM
    • Ollama
    • OpenCode
    • Qwen
    OverviewOverviewClaude CodeClaude CodeOpenCodeOpenCodeCodex CLICodex CLITroubleshootingTroubleshooting
    SymptomCauseFix
    ollama: command not foundOllama not installed or PATH not updatedRerun curl -fsSL https://ollama.com/install.sh | sh and open a new shell
    ollama launch reports unknown commandOllama is older than v0.15Update Ollama: curl -fsSL https://ollama.com/install.sh | sh
    Model load fails with version error or HTTP 412Ollama version is too old for the modelUpdate Ollama: curl -fsSL https://ollama.com/install.sh | sh
    model not found when launching an agentModel was not pulledRun ollama pull qwen3.6 and retry
    connection refused to localhost:11434Ollama service not runningStart with ollama serve or sudo systemctl start ollama
    ollama launch <agent> exits immediatelyAgent integration failed to initializeRe-run ollama launch <agent>; if it persists, check journalctl -u ollama
    Slow responses or OOM errorsModel variant too large for GPU memorySwitch to qwen3.6:35b-a3b-nvfp4 or close other GPU workloads
    python3 -m pip install -U pytest reports externally-managed-environmentUbuntu 24.04 protects the system Python environmentCreate and activate a virtual environment first: python3 -m venv .venv && source .venv/bin/activate
    ollama pull reports that a model tag is a sharded GGUFThe selected model tag is not supported by OllamaUse the Qwen3.6 commands in Step 3 instead of sharded GGUF tags
    ollama run fails with CUDA error: context is destroyed on a multi-GPU systemOllama is initializing across a mixed-GPU topologyPin Ollama to one GPU. For a foreground test, run CUDA_VISIBLE_DEVICES=0 ollama serve; for a system service, add Environment="CUDA_VISIBLE_DEVICES=0" to an Ollama systemd drop-in and restart Ollama
    A direct Claude Code setup using an Anthropic-compatible Ollama endpoint produces prose but does not edit filesSome model/server combinations do not emit tool calls reliablyUse ollama launch claude with Qwen3.6 as shown in this playbook

    NOTE

    DGX Spark uses a Unified Memory Architecture (UMA), which enables dynamic memory sharing between the GPU and CPU. If you see memory pressure, flush the buffer cache with:

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

    Resources

    • Ollama Documentation
    • Ollama Launch Method
    • Qwen3.6 Model Page
    • Claude Code + Ollama Guide
    • OpenCode Ollama Provider
    • Codex + Ollama Guide
    • DGX Spark Documentation
    • DGX Spark Forum
    Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation