From ac26ff61888f0a3f6767f0787a36e00da6ea126e Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Sun, 27 Aug 2023 18:00:34 +0100 Subject: [PATCH 1/2] Update customize.py- fix typo --- cm-mlops/script/get-tensorrt/customize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cm-mlops/script/get-tensorrt/customize.py b/cm-mlops/script/get-tensorrt/customize.py index efe2e16dec..e763f8ee5b 100644 --- a/cm-mlops/script/get-tensorrt/customize.py +++ b/cm-mlops/script/get-tensorrt/customize.py @@ -86,7 +86,7 @@ def preprocess(i): tags = [ "get", "tensorrt" ] if env.get('CM_TENSORRT_REQUIRE_DEV', '') != 'yes' tags.append("_dev") - return {'return': 1, 'error': 'Please envoke cm run script ' + " ".join(tags) + " --tar_file={full path to the TensorRT tar file}'} + return {'return': 1, 'error': 'Please envoke cm run script ' + " ".join(tags) + ' --tar_file={full path to the TensorRT tar file}'} print ('Untaring file - can take some time ...') From 5ae91b9431439540bad2dec5793c6f9fecc74c87 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Sun, 27 Aug 2023 21:58:53 +0100 Subject: [PATCH 2/2] Update customize.py --- cm-mlops/script/get-tensorrt/customize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cm-mlops/script/get-tensorrt/customize.py b/cm-mlops/script/get-tensorrt/customize.py index e763f8ee5b..f46c27fdbd 100644 --- a/cm-mlops/script/get-tensorrt/customize.py +++ b/cm-mlops/script/get-tensorrt/customize.py @@ -84,7 +84,7 @@ def preprocess(i): if env.get('CM_TENSORRT_TAR_FILE_PATH','')=='': tags = [ "get", "tensorrt" ] - if env.get('CM_TENSORRT_REQUIRE_DEV', '') != 'yes' + if env.get('CM_TENSORRT_REQUIRE_DEV', '') != 'yes': tags.append("_dev") return {'return': 1, 'error': 'Please envoke cm run script ' + " ".join(tags) + ' --tar_file={full path to the TensorRT tar file}'}