Elffuss BraidHub

kikocis/llama-stack public

bb9be718c121 · 509 BRawPermalink
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the terms described in the LICENSE file in
5# the root directory of this source tree.
6
7import os
8import subprocess
9import sys
10
11
12def install_wheel_from_presigned():
13 file = "install-wheel-from-presigned.sh"
14 script_path = os.path.join(os.path.dirname(__file__), file)
15 try:
16 subprocess.run(["sh", script_path] + sys.argv[1:], check=True)
17 except Exception:
18 sys.exit(1)