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"]
03/13/2026 12:14 AM UTC
sha256:f19e01431c15518d5abd3cc3f79672ddbc2550e2cf8a33bc75d9aecb8e78e365RUN
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
03/13/2026 12:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
PYTHONWARNINGS=ignore::UserWarning,ignore::SyntaxWarning,ignore::FutureWarning,ignore::DeprecationWarning,ignore:(?i).*deprecated.*
03/13/2026 12:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
SERVER_START_SCRIPT_PATH=/opt/nim/start_server.sh
03/13/2026 12:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4USER
nvs:1000
03/13/2026 12:14 AM UTC
sha256:1dd93fa29687a0166711ca3d323f9e202b861c492b8a8a684bca2bf35f309cbbRUN
chown 1000.1000 /home/triton-server
03/13/2026 12:14 AM UTC
sha256:d46971deee5ce49f7950777c025bbddfb954867aec49f5c4b37b165002bd57e9RUN
mkdir /home/triton-server
03/13/2026 12:14 AM UTC
sha256:f813c812d74a09f5c485e0fa0af3574a84856b23e4e130eb8156bde5281b240dRUN
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
03/13/2026 12:14 AM UTC
sha256:3f10b16381e664a2fe55c87d1fdbe762791b93149b9e4fb91dde992ea6b4be77RUN
mkdir -p /.cache &&
  chmod -R 777 /.cache
03/13/2026 12:14 AM UTC
sha256:b0afedf0a8e008f5f1d1607b2d430e55705dc286a6fdf6e2359d75d62ecc74d1RUN
chmod -R 755 /opt/nvidia/entrypoint.d/
03/13/2026 12:14 AM UTC
1-10 of 169 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.