You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="This flag sets the Python version for RHEL platform of Triton Inference Server to be built. Default: the latest supported version.",
2693
2720
)
2721
+
parser.add_argument(
2722
+
"--build-secret",
2723
+
action="append",
2724
+
required=False,
2725
+
nargs=2,
2726
+
metavar=("key", "value"),
2727
+
help="Add build secrets in the form of <key> <value>. These secrets are used during the build process for vllm. The secrets are passed to the Docker build step as `--secret id=<key>`. The following keys are expected and their purposes are described below:\n\n"
2728
+
" - 'req': A file containing a list of dependencies for pip (e.g., requirements.txt).\n"
2729
+
" - 'vllm_index_url': The index URL for the pip install.\n"
2730
+
" - 'pytorch_triton_url': The location of the PyTorch wheel to download.\n"
2731
+
" - 'build_public_vllm': A flag (default is 'true') indicating whether to build the public VLLM version.\n\n"
2732
+
"Ensure that the required environment variables for these secrets are set before running the build.",
2733
+
)
2694
2734
FLAGS=parser.parse_args()
2695
2735
2696
2736
ifFLAGS.imageisNone:
@@ -2717,6 +2757,8 @@ def enable_all():
2717
2757
FLAGS.override_backend_cmake_arg= []
2718
2758
ifFLAGS.extra_backend_cmake_argisNone:
2719
2759
FLAGS.extra_backend_cmake_arg= []
2760
+
ifFLAGS.build_secretisNone:
2761
+
FLAGS.build_secret= []
2720
2762
2721
2763
# if --enable-all is specified, then update FLAGS to enable all
2722
2764
# settings, backends, repo-agents, caches, file systems, endpoints, etc.
0 commit comments