Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Terms of Use
Privacy Policy
Your Privacy Choices
Contact

Copyright © 2026 NVIDIA Corporation

View All Playbooks
View All Playbooks

onboarding

  • MIG on DGX Station

data science

  • Topic Modeling
  • Text to Knowledge Graph on DGX Station

tools

  • NVFP4 Quantization

fine tuning

  • NVFP4 Pretraining with Megatron Bridge
  • Nanochat Training

use case

  • Run NemoClaw with a Local LLM
  • DGX Station AI Skills for Coding Agents
  • Profiler-Driven Kernel Optimization for Fine-Tuning
  • Local Healthcare Agent on DGX Station
  • Secure Long Running AI Agents with OpenShell on DGX Station
  • Local Coding Agent

inference

  • vLLM for Inference
  • Image & Video Generation with ComfyUI
  • Isaac GR00T N1.6 Fine-Tuning
  • LLM Inference with SGLang

LLM Inference with SGLang

30 MIN

Serve LLMs with SGLang on DGX Station (Qwen3-8B default; Qwen3.6 MoE optional)—prefix-cached multi-turn, structured output, benchmarks, and inference-server guidance

BlackwellDGX StationGB300InferenceRadixAttentionSGLangStructured Output
View on GitHub
OverviewOverviewInstructionsInstructionsTroubleshootingTroubleshooting

Common issues

SymptomCauseFix
"permission denied" when running dockerUser not in docker groupRun sudo usermod -aG docker $USER && newgrp docker
Container fails to start with GPU errorNVIDIA Container Toolkit not configuredRun nvidia-ctk runtime configure --runtime=docker and restart Docker
device >= 0 && device < num_gpus INTERNAL ASSERT FAILED--gpus '"device=N"' index does not exist on this StationRe-run nvidia-smi --query-gpu=index,name --format=csv,noheader and use the actual GB300 index, or --gpus all if there is only one GPU
RuntimeError: ... buildNdTmaDescriptor ... Check failed: false during CUDA-graph captureDefault trtllm_mha attention backend is incompatible with Blackwell SM103Pass --attention-backend flashinfer to sglang serve
AssertionError: FlashAttention v3 Backend requires SM>=80 and SM<=90--attention-backend fa3 selected on Blackwell (SM103)Use --attention-backend flashinfer instead
User lacks permission to set NUMA affinity ... try adding --cap-add SYS_NICE warningDocker dropped the SYS_NICE capabilityAdd --cap-add SYS_NICE to the docker run command
python3 -m venv .venv fails with apt install python3.12-venv hintUbuntu 24.04 ships without python3-venvRun sudo apt update && sudo apt install -y python3-venv (or use python3 -m pip install --user --break-system-packages requests)
"Token is required" or 401 errorMissing HuggingFace token for a gated modelExport HF_TOKEN before running the docker command and accept the model license on huggingface.co
Server exits with OOM errorModel too large for available GPU memoryLower --mem-fraction-static (e.g., 0.7) or reduce --context-length. Check GPU memory with nvidia-smi
json_schema response_format returns errorSGLang version too oldEnsure you are using lmsysorg/sglang:latest-cu130. Older versions may not support json_schema format
Server starts but CUDA errors on inferenceWrong CUDA version for BlackwellUse the latest-cu130 image tag. SM103 requires CUDA 13.0+
Slow first request after server startKernel JIT + CUDA-graph captureFirst launch can take 10–15 min for Qwen/Qwen3-8B and 30–45 min for Qwen/Qwen3.6-35B-A3B before the server prints "fired up and ready to roll!". Subsequent requests are fast.
Connection refused on port 30000Server still loading model or capturing CUDA graphsCheck docker logs sglang-server — wait for the Uvicorn startup message and "The server is fired up and ready to roll!"
Med cached prefill column is n/a in the benchmarkOpenAI-style cached_tokens not enabled on the serverAdd --enable-cache-report to sglang serve so usage.prompt_tokens_details.cached_tokens is populated
/server_info body floods the benchmark "cache highlights" outputOlder benchmark_multiturn.py matched any line containing "cache" — including the single-line /server_info JSONUse the version of benchmark_multiturn.py shipped with this playbook (it skips JSON blobs and lines longer than 200 chars); the full body is still saved to --cache-detail-file
Benchmark shows higher median latency on later turnsExpected under parallel load + longer transcriptsRadixAttention reduces repeated prefill on shared prefixes—use docker logs (#cached-token) and optionally --num-conversations 1. See Step 9 and sglang_benchmark_cache_details.log
deepseek-ai/DeepSeek-V4-* fails to loadUnsupported in this SGLang build or insufficient VRAMCheck SGLang docs for model support; try DeepSeek-V4-Flash before Pro; lower --mem-fraction-static and --context-length

NOTE

On DGX Station the GB300 may be at device 0 or 1 depending on configuration (some Stations also expose a workstation GPU at 0). Always verify with nvidia-smi --query-gpu=index,name --format=csv,noheader before launching the container.

Resources

  • SGLang (GitHub)
  • SGLang Documentation
  • SGLang OpenAI API Reference