Skip to main content
NVIDIA
FLUX.2-klein-4B
Container
NVIDIA
FLUX.2-klein-4B

FLUX.2 [klein] unifies generation and editing in a single compact architecture, delivering state-of-the-art quality with end-to-end inference in as low as under a second.

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
["/bin/bash" "-c" "/opt/nim/start_server.sh"]
04/28/2026 2:13 PM UTC
sha256:919f19ae92fb87b42e1e8e1c90e7b5eaeac99a367d9258cbf480a7715e28e451RUN
RUN /bin/sh -c touch $SERVER_START_SCRIPT_PATH &&
  chmod a+rx $SERVER_START_SCRIPT_PATH &&
  cat > $SERVER_START_SCRIPT_PATH <<-'EOF' #!/usr/bin/env bash set -eu # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: LicenseRef-NvidiaProprietary for file in /opt/nim/start_server.d/*; do if [[ "$file" == *.sh ]]; then . "$file" elif [[ "$file" == *.txt ]]; then cat "$file" fi done start_server EOF # buildkit
04/28/2026 2:13 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
SGLANG_USE_RUNAI_MODEL_STREAMER=False
04/28/2026 2:13 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
PYTHONWARNINGS=ignore::UserWarning,ignore::SyntaxWarning,ignore::FutureWarning,ignore::DeprecationWarning,ignore:(?i).*deprecated.*
04/28/2026 2:13 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
SERVER_START_SCRIPT_PATH=/opt/nim/start_server.sh
04/28/2026 2:13 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4USER
nvs:1000
04/28/2026 2:13 PM UTC
sha256:f9976e788c70077236fb93f7feee00562bf5fcb1008b43e7b25cfdb3b186a202RUN
chown 1000.1000 /home/triton-server
04/28/2026 2:13 PM UTC
sha256:e6b75f8217f8246763950843ad99fa294c411027305374fe54e8d98b700c4048RUN
mkdir /home/triton-server
04/28/2026 2:13 PM UTC
sha256:8287128875e6962ed8007715b9f9843f262b362c6e1676edb3fb503ac35400fbRUN
groupadd --gid 1000 --non-unique nvs &&
  useradd --create-home --shell /usr/sbin/nologin --uid 1000 --non-unique --gid 1000 nvs &&
  chown 1000.1000 $NIM_DIR_PATH &&
  chmod a+w $NIM_DIR_PATH
04/28/2026 2:13 PM UTC
sha256:a22224924becbf8478e32905f797bbf616db5b574acdbe88bf56e6b35d4017cbRUN
mkdir -p /.cache &&
  chmod -R 777 /.cache
04/28/2026 2:13 PM UTC
1-10 of 175 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.