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

    Vibe Coding in VS Code

    30 MIN

    Use DGX Spark as a local or remote Vibe Coding assistant with Ollama and Continue

    • DGX
    • Spark
    • VibeCoding
    OverviewOverviewInstructionsInstructionsTroubleshootingTroubleshooting

    Step 1
    Install Ollama

    Install the latest version of Ollama using the following command:

    curl -fsSL https://ollama.com/install.sh | sh
    

    Once the service is running, pull the desired model:

    ollama pull gpt-oss:120b
    

    Step 2
    (Optional) Enable Remote Access

    To allow remote connections (e.g., from a workstation using VSCode and Continue), modify the Ollama systemd service:

    sudo systemctl edit ollama
    

    Add the following lines beneath the commented section:

    [Service]
    Environment="OLLAMA_HOST=0.0.0.0:11434"
    Environment="OLLAMA_ORIGINS=*"
    

    Reload and restart the service:

    sudo systemctl daemon-reload
    sudo systemctl restart ollama
    

    If using a firewall, open port 11434:

    sudo ufw allow 11434/tcp
    

    Verify that the workstation can connect to your DGX Spark's Ollama server:

    curl -v http://YOUR_SPARK_IP:11434/api/version
    

    Replace YOUR_SPARK_IP with your DGX Spark's IP address. If the connection fails please see the Troubleshooting tab.

    Step 3
    Install VSCode

    For DGX Spark (ARM-based), download and install VSCode: Navigate to https://code.visualstudio.com/download and download the Linux ARM64 version of VSCode. After the download completes note the downloaded package name. Use it in the next command in place of DOWNLOADED_PACKAGE_NAME.

    sudo dpkg -i DOWNLOADED_PACKAGE_NAME
    

    If using a remote workstation, install VSCode appropriate for your system architecture.

    Step 4
    Install Continue.dev Extension

    Open VSCode and install Continue.dev from the Marketplace:

    • Go to Extensions view in VSCode
    • Search for Continue published by Continue.dev and install the extension. After installation, click the Continue icon on the right-hand bar.

    Step 5
    Local Inference Setup

    • Click Or, configure your own models
    • Click Click here to view more providers
    • Choose Ollama as the Provider
    • For Model, select Autodetect
    • Test inference by sending a test prompt.

    Your downloaded model will now be the default (e.g., gpt-oss:120b) for inference.

    Step 6
    Setting up a Workstation to Connect to the DGX Spark' Ollama Server

    To connect a workstation running VSCode to a remote DGX Spark instance the following must be completed on that workstation:

    • Install Continue as instructed in Step 4
    • Click on the Continue icon on the left pane
    • Click Or, configure your own models
    • Click Click here to view more providers
    • Select Ollama as the Provider
    • Select Autodetect as the Model.

    Continue will fail to detect the model as it is attempting to connect to a locally hosted Ollama server.

    • Find the gear icon in the upper right corner of the Continue window and click on it.
    • On the left pane, click Models
    • Next to the first dropdown menu under Chat click the gear icon.
    • Continue's config.yaml will open. Take note of your DGX Spark's IP address.
    • Replace the configuration with the following. YOUR_SPARK_IP should be replaced with your DGX Spark's IP.
    name: Config
    version: 1.0.0
    schema: v1
    
    assistants:
      - name: default
        model: OllamaSpark
    
    models:
      - name: OllamaSpark
        provider: ollama
        model: gpt-oss:120b
        apiBase: http://YOUR_SPARK_IP:11434
        title: gpt-oss:120b
        roles:
          - chat
          - edit
          - autocomplete
    

    Replace YOUR_SPARK_IP with the IP address of your DGX Spark.
    Add additional model entries for any other Ollama models you wish to host remotely.

    Resources

    • DGX Spark Documentation
    • Ollama Documentation
    • VSCode
    • Continue.dev
    • DGX Spark Forum
    • DGX Spark User Performance Guide
    Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation