Skip to main content
NVIDIA
FLUX.1-Kontext
Container
NVIDIA
FLUX.1-Kontext

FLUX.1-Kontext NIM houses FLUX.1 Kontext [dev] model which is a 12 billion parameter rectified flow transformer capable of editing images based on text instructions.

LayerLabelCreated
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
["/bin/bash" "-c" "/opt/nim/start_server.sh"]
12/15/2025 9:21 PM UTC
sha256:61b6666ada73aee4955c010df64094be3b54776c9ff396e9a9f12885a671881aRUN
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) 2025 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
12/15/2025 9:21 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
PYTHONWARNINGS=ignore::UserWarning,ignore::SyntaxWarning,ignore::FutureWarning,ignore::DeprecationWarning,ignore:(?i).*deprecated.*
12/15/2025 9:21 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
SERVER_START_SCRIPT_PATH=/opt/nim/start_server.sh
12/15/2025 9:21 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4USER
nvs:1000
12/15/2025 9:21 PM UTC
sha256:2350a553e2d4512017aa2992c8d6102dfdfa84387d062ef2fd41b5f08936a44cRUN
chown 1000.1000 /home/triton-server
12/15/2025 9:21 PM UTC
sha256:010225760109cebf0065c7c91a720131b6c7a007c11aada8c222f970d1a74820RUN
mkdir /home/triton-server
12/15/2025 9:21 PM UTC
sha256:21b8105cd07903ebaa69d2019a09c1bcf4252629cba48f2b458338b63f144b67RUN
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
12/15/2025 9:21 PM UTC
sha256:216292c0169f4e5c58b226cf72b713929f719781078cc042ce04143f492ea254RUN
mkdir -p /.cache &&
  chmod -R 777 /.cache
12/15/2025 9:21 PM UTC
sha256:29457c8f61e6cb72d003757aecc81e39bd08356a10ea89971d9dc83fc825aa50RUN
chmod -R 755 /opt/nvidia/entrypoint.d/
12/15/2025 9:21 PM UTC
1-10 of 155 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.