diff --git a/api/auth_utils/metrics.txt b/api/auth_utils/metrics.txt deleted file mode 100644 index 2c901b6b..00000000 --- a/api/auth_utils/metrics.txt +++ /dev/null @@ -1 +0,0 @@ -source for metrics.py can be found at: https://gitlab-master.nvidia.com/tlt/tao-toolkit-metrics-secret/-/blob/main/metrics.py diff --git a/api/handlers/tis_handler.py b/api/handlers/tis_handler.py index bc5b0c48..ce3adfe6 100644 --- a/api/handlers/tis_handler.py +++ b/api/handlers/tis_handler.py @@ -40,7 +40,6 @@ def start(org_name, model_id, handler_metadata, model_name, replicas=1): model_repo = get_model_bundle_root(org_name, model_id) bundle_requirements_file = os.path.join(model_repo, model_name, "requirements.txt") # TODO: can leverage the shared pv to print logs inside the triton server. - # https://gitlab-master.nvidia.com/dlmed/medical-service/-/merge_requests/71#note_17855255 pre_command = f"umask 0 && pip install -r {bundle_requirements_file}" if os.path.exists(bundle_requirements_file) else "umask 0" run_command = f"{pre_command} && /opt/tritonserver/bin/tritonserver --model-repository={model_repo} --model-control-mode=explicit --load-model=*" # ports for http, grpc and metrics