Skip to main content
MoonshotAI
Kimi K2.6
Container
MoonshotAI
Kimi K2.6

The Kimi-K2.6 Certified NIM Container is a deployable inference container for serving Kimi-K2.6, a third-party multimodal Mixture-of-Experts model capable of processing text, image, and video inputs for text generation.

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4USER
nvs:1000
04/22/2026 8:51 AM UTC
sha256:3367e63d0b338c0a59422177fb184e3a9ca3652aeed812bea776923358231c97RUN
NIM_NAME=moonshotai/Kimi-K2.6 NIM_MODEL_NAME=moonshotai/Kimi-K2.6 MANIFEST_FILE=model_manifest.yaml python3 -m pip uninstall -y imageio-ffmpeg moviepy av opencv-python-headless torchcodec ||
  true &&
  rm -rf /usr/local/lib/python3.12/dist-packages/imageio_ffmpeg* /usr/local/lib/python3.12/dist-packages/moviepy* /usr/local/lib/python3.12/dist-packages/av* /usr/local/lib/python3.12/dist-packages/opencv_python_headless* /usr/local/lib/python3.12/dist-packages/cv2 /usr/local/lib/python3.12/dist-packages/torchcodec* /usr/local/lib/python3.12/dist-packages/imageio/plugins/ffmpeg.py /usr/local/lib/python3.12/dist-packages/imageio/plugins/__pycache__/ffmpeg* &&
  rm -rf /root/.cache/pip
04/22/2026 8:51 AM UTC
sha256:61129720387c6d7004d5e2b7c29df3f1d668a48893d2cd75461453da8d236264RUN
NIM_NAME=moonshotai/Kimi-K2.6 NIM_MODEL_NAME=moonshotai/Kimi-K2.6 MANIFEST_FILE=model_manifest.yaml if [ -d /usr/local/lib/python3.12/dist-packages/flashinfer_cubin ]; then mkdir -p /usr/local/lib/python3.12/dist-packages/flashinfer_cubin/cubins &&
  chown -R nvs:1000 /usr/local/lib/python3.12/dist-packages/flashinfer_cubin/cubins; fi
04/22/2026 8:51 AM UTC
sha256:bfc5c5e1b8c0c267cbe5b3eab263650242401783ca373801fe405dacd56bdaa9RUN
NIM_NAME=moonshotai/Kimi-K2.6 NIM_MODEL_NAME=moonshotai/Kimi-K2.6 MANIFEST_FILE=model_manifest.yaml patch -d / -p1 < /workspace/patch/flashinfer_ensure_symlink_filelock.patch &&
  patch -d /usr/local/lib/python3.12/dist-packages/ -p1 < /workspace/patch/nim_inference_sdk_change.patch &&
  patch -d /sgl-workspace/sglang -p1 < /workspace/patch/sglang_21902.patch &&
  patch -d /sgl-workspace/sglang -p1 < /workspace/patch/anthropic-stop-sequence-reporting.patch &&
  patch -d /sgl-workspace/sglang -p1 < /workspace/patch/anthropic-thinking-type-widen.patch &&
  patch -d /sgl-workspace/sglang -p1 < /workspace/patch/anthropic-thinking-default-disabled.patch &&
  patch -d /sgl-workspace/sglang -p1 < /workspace/patch/sglang_response.patch &&
  patch -d /sgl-workspace/sglang -p1 < /workspace/patch/sglang_tokenizer_parallel_sample_shm_fix.patch
04/22/2026 8:51 AM UTC
sha256:5226bfdd0e081fa5f992ae9d1e565b68733499b032e7adfa7249356825927ef9COPY
patch/sglang_api.py /usr/local/lib/python3.12/dist-packages/nimlib/nim_inference_api_builder/sglang_api.py
04/22/2026 6:53 AM UTC
sha256:d3eb48f0b8dae7e84aae0376ef1c69acd7d56f5e25d915125bfb4fb71572b609COPY
patch/inference.py /opt/nim/inference.py
04/22/2026 6:53 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
NIM_MODEL_LOADER_EXTRA_CONFIG={"enable_multithread_load": "true","num_threads": 32}
04/22/2026 6:53 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
NIM_REASONING_PARSER_NAME=kimi_k2
04/22/2026 6:53 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
NIM_TOOL_CALL_PARSER_NAME=kimi_k2
04/22/2026 6:53 AM UTC
sha256:f31799b901e710e648a985839705171009b4d32e8b7dac42d6760362281e37eaCOPY
model_manifest.yaml /opt/nim/etc/default/model_manifest.yaml
04/22/2026 6:53 AM UTC
...

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.