Skip to content

Commit

Permalink
Update customize.py- fix typo (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin authored Aug 28, 2023
2 parents 96297c3 + 5ae91b9 commit 8180270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cm-mlops/script/get-tensorrt/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ 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}'}
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 ...')
Expand Down

0 comments on commit 8180270

Please sign in to comment.