We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd34624 commit b964b0bCopy full SHA for b964b0b
script/submit-mlperf-results/customize.py
@@ -17,6 +17,14 @@ def preprocess(i):
17
file_path = env['MLC_MLPERF_SUBMISSION_FILE']
18
submitter_name = env.get('MLC_MLPERF_SUBMITTER', '')
19
20
+ # check the file_path is absolute or relative
21
+ # if it is relative, convert to absolute
22
+ if not os.path.isabs(file_path):
23
+ file_path = os.path.abspath(
24
+ os.path.join(
25
+ env['MLC_TMP_CURRENT_PATH'],
26
+ file_path))
27
+
28
r = get_signed_url(
29
server,
30
benchmark,
0 commit comments