Skip to main content
NVIDIA
SGLang Model-Free NIM Experimental
Container
NVIDIA

SGLang Model-Free NIM Experimental

SGLang Model-Free NIM is a production-ready inference microservice that serves a broad range of LLMs supplied at runtime in Hugging Face format, with automatic backend selection and optimized configurations.

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
/opt/nim/start_server.sh
11/24/2026 9:18 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4USER
nvs:1000
11/24/2026 9:18 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/opt/nim
11/24/2026 9:18 AM UTC
sha256:f29fea6ea2530c3ff179af6f904b8569fa9e049e6188bc3b19b554c00c3b6453RUN
SGLANG_RUST_BUILD_MODE=never EXPECT_SGLANG_VERSION=0.5.24.dev2087+g9c64454bb EXPECT_NIM_STACK_COMMIT=81b27c45855bd1f9c5453973112961d2a350b61c EXPECT_NIMLIB_VERSION=0.25.5 EXPECT_NIM_SDK_VERSION=0.13.0 EXPECT_DEEP_GEMM_VERSION=0.2.9 EXPECT_PILLOW_VERSION=13.0.0 IMAGE_PARITY=enforce IMAGE_PARITY_INKLING1=enforce BRINGUP_ALLOW_TML_RENDERERS=0 NIM_VERSION=2.1.9-variant-inkling-2-mini STAGE3_REF=sglang-9c6445-5a68ddd9-p84650238-nimstack-81b27c45 flat copy without tml-renderers (image id sha256:4284d3b0d7489f287c646a263ec185cb41c5efc4ab3e01dcd9c4bf19934b1d8e) of china-sglang-basecontainer-stage3@sha256:162330eca14484fafbbd401c77d6959cbd01657e97f3d93d26fa201484e9d5d4 NIM_SDK_DOWNLOAD_MAX_RETRY_COUNT_DEFAULT=8 NIM_SDK_DOWNLOAD_BACKOFF_INTERVAL_MS_DEFAULT=1000 RECIPE_GATE=required /bin/bash -lc set -euo pipefail; test -x /opt/nim/start_server.sh; test ! -e /opt/nim/etc/default/model_manifest.yaml; test ! -d /opt/nim/tuning_configs; test ! -e /opt/nim/recipes; test -z "${NIM_NAME:-}"; test -z "${NIM_MODEL_NAME:-}"; test -z "${NIM_SERVED_MODEL_NAME:-}"; test -z "${NIM_MODEL_PATH:-}"; test -z "${NIM_CONFIG_FILE:-}"; test "${SGLANG_NUMA_BIND_V2}" = 0; test "${SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION}" = 0; test "${PYTORCH_CUDA_ALLOC_CONF}" = "expandable_segments:True"; test "${SGLANG_RUST_BUILD_MODE:-}" = never; test -z "${SGLANG_DG_CACHE_DIR:-}"; test -s /opt/nim/etc/default/stage4-queue.txt; test -f /opt/nim/etc/default/stage4-preimage.sha256; runuser -u nvs -- bash -c 'set -euo pipefail; f=/opt/nim/etc/default/.write-probe; : > "$f"; rm -f "$f"; ! : > /opt/nim/etc/default/stage4-queue.txt' 2>/dev/null; grep -q 'exec /opt/nim/start_server.sh list-model-profiles' /usr/local/bin/list-model-profiles; python3 -c "import nim_stack, sglang; from nim_stack.compiler.ir import ConfigSource; assert hasattr(ConfigSource, 'CONFIG_FILE'); from sglang.srt.environ import envs; assert envs.SGLANG_NUMA_BIND_V2.get() is False and envs.SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION.get() is False; print('final gate: model-free identity, queue footprint and ENV switches ok')"; rm -rf /opt/nim/.cache/runtime-cache /root/.cache; test -z "$(find /opt/nim/.cache /opt/nim/runtime-cache ! -user 1000 -print -quit)"
11/24/2026 9:18 AM UTC
sha256:256b02de09b53b8c01b7b624398afc1e57666fc488b5e06b6c6f7513be91d4bdRUN
SGLANG_RUST_BUILD_MODE=never EXPECT_SGLANG_VERSION=0.5.24.dev2087+g9c64454bb EXPECT_NIM_STACK_COMMIT=81b27c45855bd1f9c5453973112961d2a350b61c EXPECT_NIMLIB_VERSION=0.25.5 EXPECT_NIM_SDK_VERSION=0.13.0 EXPECT_DEEP_GEMM_VERSION=0.2.9 EXPECT_PILLOW_VERSION=13.0.0 IMAGE_PARITY=enforce IMAGE_PARITY_INKLING1=enforce BRINGUP_ALLOW_TML_RENDERERS=0 NIM_VERSION=2.1.9-variant-inkling-2-mini STAGE3_REF=sglang-9c6445-5a68ddd9-p84650238-nimstack-81b27c45 flat copy without tml-renderers (image id sha256:4284d3b0d7489f287c646a263ec185cb41c5efc4ab3e01dcd9c4bf19934b1d8e) of china-sglang-basecontainer-stage3@sha256:162330eca14484fafbbd401c77d6959cbd01657e97f3d93d26fa201484e9d5d4 NIM_SDK_DOWNLOAD_MAX_RETRY_COUNT_DEFAULT=8 NIM_SDK_DOWNLOAD_BACKOFF_INTERVAL_MS_DEFAULT=1000 RECIPE_GATE=required /bin/bash -lc set -euo pipefail; rm -rf /opt/nim/.cache/runtime-cache /opt/nim/runtime-cache/sglang/cache/.cache /root/.cache /opt/nim/build /tmp/hf; install -d -o 1000 -g 1000 -m 0755 /opt/nim/runtime-cache/torchinductor /opt/nim/runtime-cache/triton; chown -R 1000:1000 /opt/nim/.cache /opt/nim/runtime-cache; chown 1000:1000 /opt/nim/etc/default; test -z "$(find /opt/nim/.cache /opt/nim/runtime-cache ! -user 1000 -print -quit)"; test ! -e /opt/nim/build; test -z "$(ls -A /opt/nim/patches 2>/dev/null)"; test -z "$(find /sgl-workspace/sglang/python /usr/local/lib/python3.12/dist-packages/nim_stack /usr/local/lib/python3.12/dist-packages/nimlib -type f \( -name '*.orig' -o -name '*.rej' \) -print -quit)"; runuser -u nvs -- bash -c 'set -euo pipefail; cat /opt/nim/VERSION /opt/nim/etc/default/sglang-model-free-nim-version /opt/nim/etc/default/sglang-model-free-nim-engine /opt/nim/etc/default/stage4-queue.txt /opt/nim/etc/default/stage4-preimage.sha256 > /dev/null; export BACKEND_TYPE=sglang NIM_CACHE_PATH=/opt/nim/.cache; unset SGLANG_DG_CACHE_DIR SGLANG_CACHE_DIR; source /opt/nim/scripts/runtime_cache_contract.sh; nim_init_runtime_cache_env; nim_prepare_nim_cache; nim_prepare_hf_home; nim_prepare_backend_runtime_caches; test "$TORCHINDUCTOR_CACHE_DIR" = /opt/nim/runtime-cache/torchinductor; test "$TRITON_CACHE_DIR" = /opt/nim/runtime-cache/triton; test "$SGLANG_CACHE_DIR" = /opt/nim/runtime-cache/sglang/cache; test "$SGLANG_DG_CACHE_DIR" = /opt/nim/.cache; test -w "$SGLANG_DG_CACHE_DIR"; echo "cache contract as $(id -un): compiler caches under /opt/nim/runtime-cache, DeepGEMM JIT cache $SGLANG_DG_CACHE_DIR (writable) — ok"'; runuser -u nvs -- bash -c 'set -euo pipefail; export BACKEND_TYPE=sglang NIM_CACHE_PATH=/opt/nim/.cache NIM_RUNTIME_CACHE_PATH=/tmp/nim-rc-selftest; unset SGLANG_DG_CACHE_DIR SGLANG_CACHE_DIR; source /opt/nim/scripts/runtime_cache_contract.sh; nim_init_runtime_cache_env; test "$TORCHINDUCTOR_CACHE_DIR" = /tmp/nim-rc-selftest/torchinductor; test "$TRITON_CACHE_DIR" = /tmp/nim-rc-selftest/triton; test "$SGLANG_CACHE_DIR" = /tmp/nim-rc-selftest/sglang/cache; echo "cache contract: NIM_RUNTIME_CACHE_PATH rebases the compiler caches and the engine cache — ok"'; rm -rf /tmp/nim-rc-selftest /opt/nim/.cache/runtime-cache; test -z "$(find /opt/nim/.cache /opt/nim/runtime-cache ! -user 1000 -print -quit)"
11/24/2026 9:18 AM UTC
sha256:600238351f04a146d4cb94f300843212e29dc582b7b225617e9cc3c79a6410c9RUN
SGLANG_RUST_BUILD_MODE=never EXPECT_SGLANG_VERSION=0.5.24.dev2087+g9c64454bb EXPECT_NIM_STACK_COMMIT=81b27c45855bd1f9c5453973112961d2a350b61c EXPECT_NIMLIB_VERSION=0.25.5 EXPECT_NIM_SDK_VERSION=0.13.0 EXPECT_DEEP_GEMM_VERSION=0.2.9 EXPECT_PILLOW_VERSION=13.0.0 IMAGE_PARITY=enforce IMAGE_PARITY_INKLING1=enforce BRINGUP_ALLOW_TML_RENDERERS=0 NIM_VERSION=2.1.9-variant-inkling-2-mini STAGE3_REF=sglang-9c6445-5a68ddd9-p84650238-nimstack-81b27c45 flat copy without tml-renderers (image id sha256:4284d3b0d7489f287c646a263ec185cb41c5efc4ab3e01dcd9c4bf19934b1d8e) of china-sglang-basecontainer-stage3@sha256:162330eca14484fafbbd401c77d6959cbd01657e97f3d93d26fa201484e9d5d4 NIM_SDK_DOWNLOAD_MAX_RETRY_COUNT_DEFAULT=8 NIM_SDK_DOWNLOAD_BACKOFF_INTERVAL_MS_DEFAULT=1000 RECIPE_GATE=required /bin/bash -lc set -euo pipefail; case "${RECIPE_GATE}" in required) allow="";; optional) allow="--allow-empty";; *) echo "RECIPE_GATE must be required or optional" >&2; exit 1;; esac; golden=""; if [ -d /opt/nim/build/recipes/golden ]; then golden="--golden /opt/nim/build/recipes/golden"; fi; cd /tmp; NIM_LOG_LEVEL=WARNING PYTHONDONTWRITEBYTECODE=1 python3 /opt/nim/build/tools/probe_recipes_cpu.py --recipes /opt/nim/build/recipes --fixture-model /opt/nim/build/tools/fixture-model ${golden} ${allow} 2> /tmp/recipe-gate.err ||
  { grep -v '^INFO\|^WARNING' /tmp/recipe-gate.err | tail -40; exit 1; }; if ls /opt/nim/build/recipes/*.yaml > /dev/null 2>&1; then HF_HOME=/tmp/hf-gate HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 NIM_LOG_LEVEL=WARNING PYTHONDONTWRITEBYTECODE=1 python3 /opt/nim/build/tools/check_recipes.py --recipes /opt/nim/build/recipes --fixture-model /opt/nim/build/tools/fixture-model > /tmp/recipe-contract.log 2> /tmp/recipe-contract.err ||
  { grep -E '^==|FAIL|^recipe gate' /tmp/recipe-contract.log | tail -60; tail -20 /tmp/recipe-contract.err; exit 1; }; grep -E '^recipe gate: ([0-9]+)/\1 recipes pass$' /tmp/recipe-contract.log; HF_HOME=/tmp/hf-gate HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 PYTHONDONTWRITEBYTECODE=1 python3 /opt/nim/build/tools/probe_recipe_engine_cpu.py --recipes /opt/nim/build/recipes --fixture-model /opt/nim/build/tools/fixture-model > /tmp/recipe-engine.log 2>&1 ||
  { tail -40 /tmp/recipe-engine.log; exit 1; }; grep -E '^engine recipe gate: ([0-9]+)/\1 recipes resolve$' /tmp/recipe-engine.log; fi; rm -rf /tmp/recipe-gate.err /tmp/recipe-contract.log /tmp/recipe-contract.err /tmp/recipe-engine.log /tmp/hf-gate
11/24/2026 9:18 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
RECIPE_GATE=required
11/24/2026 9:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
TORCHINDUCTOR_CACHE_DIR=/opt/nim/runtime-cache/torchinductor TRITON_CACHE_DIR=/opt/nim/runtime-cache/triton SGLANG_NUMA_BIND_V2=0 SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
11/24/2026 9:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
NIM_SDK_DOWNLOAD_MAX_RETRY_COUNT=8 NIM_SDK_DOWNLOAD_BACKOFF_INTERVAL_MS=1000
11/24/2026 9:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
NIM_SDK_DOWNLOAD_BACKOFF_INTERVAL_MS_DEFAULT=1000
11/24/2026 9:14 AM UTC
1-10 of 103 items

Modal Content

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.