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
  • Build Knowledge Graphs with txt2kg

    30 MIN

    Extract triples with Ollama or vLLM, store them in a graph database, and explore them in a GPU-accelerated web UI

    • Application
    • DGX Spark
    • DGX Station
    • Ollama
    • vLLM
    View on GitHub
    OverviewOverviewInstructionsInstructionsTroubleshootingTroubleshooting

    Common issues

    The Hardware platform column shows where an issue is most relevant. "All hardware platforms" applies to every supported platform.

    SymptomHardware platformCauseFix
    Ollama performance issuesAll hardware platformsSuboptimal Ollama settingsSet environment variables: OLLAMA_FLASH_ATTENTION=1, OLLAMA_KEEP_ALIVE=30m, OLLAMA_MAX_LOADED_MODELS=1, OLLAMA_KV_CACHE_TYPE=q8_0
    Memory pressure when switching Ollama modelsDGX SparkUnified memory buffer cache not releasedFlush buffer cache (see UMA note below)
    VRAM exhausted or memory pressureDGX StationGPU memory fragmentationClear GPU memory: nvidia-smi --gpu-reset or restart Docker containers
    Slow triple extractionAll hardware platformsLarge model or large context windowReduce document chunk size or use a faster model
    ArangoDB connection refusedAll hardware platforms (Ollama stack)Service not fully startedWait ~30s after ./start.sh, then verify with docker ps
    ArangoDB exits with <jemalloc>: Unsupported system page sizeDGX Station systems with 64 KB page-size kernelsThe upstream ArangoDB image may include jemalloc built for smaller pagesUse ./start.sh --neo4j for Neo4j + Ollama
    Qdrant exits or crash-loops with <jemalloc>: Unsupported system page sizeDGX Station systems with 64 KB page-size kernels using --vector-searchThe upstream Qdrant image may include jemalloc built for smaller pagesLeave vector search disabled, or retry after the Qdrant image is updated for 64 KB pages
    Container fails to start with GPU errorAll hardware platformsNVIDIA Container Toolkit not configuredRun nvidia-ctk runtime configure --runtime=docker and restart Docker
    Port already in useAll hardware platformsPrevious instance still runningRun ./stop.sh (with the same stack flags) or docker compose down
    Need another graph or LLM stackAll hardware platformsDefault stack is not the one you wantUse ./start.sh --neo4j for Neo4j + Ollama or ./start.sh --vllm for Neo4j + vLLM
    vLLM takes long to become readyAll hardware platforms (vLLM stack)Model load can take 30+ minutesThe UI may show an initializing banner while the model loads. Check progress: docker logs vllm-service -f

    The 64 KB page-size rows above apply to affected DGX Station systems only; DGX Spark is not affected.

    NOTE

    Unified memory (UMA). On hardware platforms with unified memory, GPU and CPU share memory dynamically. Some applications have not yet been updated for UMA, so you may hit memory issues even within capacity. If that happens, manually flush the buffer cache:

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

    NOTE

    Model size vs. memory. Larger models generally improve triple quality. If you hit memory limits, reduce context window size, use a quantized variant, or choose a smaller model for your hardware platform.

    Resources

    • Ollama Documentation
    • ArangoDB Documentation
    • Neo4j Documentation
    • vLLM Documentation
    • DGX Spark Documentation
    • DGX Spark Forum
    • DGX Station Support
    • NVIDIA Developer Forums
    Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation