Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4baae86
Update batch size to state
anandhu-eng May 19, 2025
7cfca34
batch size - priority to state dict
anandhu-eng May 19, 2025
06d81d6
[Automated Commit] Format Codebase [skip ci]
github-actions[bot] May 19, 2025
61e8eaa
update run command arguments for v5.0
anandhu-eng May 20, 2025
24ff3a0
[Automated Commit] Format Codebase [skip ci]
github-actions[bot] May 20, 2025
618996a
extract nvidia gpu name automatically
anandhu-eng May 20, 2025
537e647
[Automated Commit] Format Codebase [skip ci]
github-actions[bot] May 20, 2025
8b2ccfc
Update customize.py
anandhu-eng May 20, 2025
796c363
update batch size extraction logic
anandhu-eng May 20, 2025
cdca719
[Automated Commit] Format Codebase [skip ci]
github-actions[bot] May 20, 2025
90ec0df
update packages
anandhu-eng May 20, 2025
c279990
add version for nvidia harness
anandhu-eng May 20, 2025
f707c9f
Update meta.yaml
anandhu-eng May 20, 2025
07046e7
updated package version
anandhu-eng May 20, 2025
79de08b
Merge branch 'dev' into dev
arjunsuresh May 22, 2025
ec27be0
modify batch size format based on inference version
anandhu-eng May 24, 2025
572d538
revert gpu and dla info extraction from state
anandhu-eng May 25, 2025
7605329
[Automated Commit] Format Codebase [skip ci]
github-actions[bot] May 25, 2025
f41b152
Update meta.yaml
anandhu-eng May 25, 2025
d500b5f
Merge branch 'dev' into dev
arjunsuresh May 26, 2025
0b0c1fd
Merge branch 'dev' into dev
arjunsuresh May 28, 2025
15ddcd6
Merge branch 'dev' into dev
arjunsuresh Jun 2, 2025
f881888
Merge branch 'dev' into dev
anandhu-eng Jun 11, 2025
6dba495
fix meta
anandhu-eng Jun 11, 2025
81ee075
Fix typo
anandhu-eng Jun 11, 2025
9efd8f0
[Automated Commit] Format Codebase [skip ci]
github-actions[bot] Jun 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions script/app-mlperf-inference-nvidia/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def preprocess(i):
if os_info['platform'] == 'windows':
return {'return': 1, 'error': 'Windows is not supported in this script yet'}
env = i['env']
state = i['state']

if is_true(env.get('MLC_RUN_STATE_DOCKER', '')):
return {'return': 0}
Expand Down Expand Up @@ -110,7 +111,8 @@ def preprocess(i):
shutil.rmtree(target_data_path)
if not os.path.exists(tsv_file):
os.makedirs(target_data_path, exist_ok=True)
# cmds.append("make download_data BENCHMARKS='stable-diffusion-xl'")
# cmds.append("make download_data
# BENCHMARKS='stable-diffusion-xl'")
env['MLC_REQUIRE_COCO2014_DOWNLOAD'] = 'yes'
cmds.append(
f"""cp -r \\$MLC_DATASET_PATH_ROOT/captions/captions.tsv {target_data_path}/captions_5k_final.tsv""")
Expand Down Expand Up @@ -154,7 +156,8 @@ def preprocess(i):

if not os.path.exists(target_data_path) or not os.path.exists(
inference_cases_json_path) or not os.path.exists(calibration_cases_json_path):
# cmds.append(f"ln -sf {env['MLC_DATASET_PATH']} {target_data_path}")
# cmds.append(f"ln -sf {env['MLC_DATASET_PATH']}
# {target_data_path}")
cmds.append("make download_data BENCHMARKS='3d-unet'")

model_path = os.path.join(
Expand All @@ -174,7 +177,8 @@ def preprocess(i):
if not os.path.exists(target_data_path_base_dir):
cmds.append(f"mkdir -p {target_data_path_base_dir}")
if not os.path.exists(target_data_path):
# cmds.append(f"ln -sf {env['MLC_DATASET_LIBRISPEECH_PATH']} {target_data_path}")
# cmds.append(f"ln -sf {env['MLC_DATASET_LIBRISPEECH_PATH']}
# {target_data_path}")
cmds.append("make download_data BENCHMARKS='rnnt'")

model_path = os.path.join(
Expand Down
Loading