Skip to content

Commit

Permalink
Merge branch 'mlperf-inference' into mlperf-inference
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Nov 18, 2024
2 parents a9ae411 + f72ffc1 commit 8b42ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/get-cudnn/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def preprocess(i):
my_tar.close()

import re
version_match = re.match(r'cudnn-.*?-(\d.\d.\d.\d)', folder_name)
version_match = re.match(r'cudnn-.*?-(\d+.\d+.\d+.\d+)', folder_name)
if not version_match:
return {'return': 1, 'error': 'Extracted CUDNN folder does not seem proper - Version information missing'}
version = version_match.group(1)
Expand Down
2 changes: 1 addition & 1 deletion script/get-tensorrt/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def preprocess(i):
my_tar.close()

import re
version_match = re.match(r'TensorRT-(\d.\d.\d.\d)', folder_name)
version_match = re.match(r'TensorRT-(\d+.\d+.\d+.\d+)', folder_name)
if not version_match:
return {'return': 1, 'error': 'Extracted TensorRT folder does not seem proper - Version information missing'}
version = version_match.group(1)
Expand Down

0 comments on commit 8b42ced

Please sign in to comment.