Skip to content

Cleanup mobilenet runs #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion script/get-lib-armnn/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ automation_alias: script
automation_uid: 5b4e0237da074764
cache: true
category: Detection or installation of tools and artifacts
default_version: '23.11'
default_version: '25.02'
deps:
- tags: detect,os
env:
Expand Down
6 changes: 4 additions & 2 deletions script/run-all-mlperf-models/run-mobilenet-models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function run() {
}
POWER=" --power=yes --adr.mlperf-power-client.power_server=192.168.0.15 --adr.mlperf-power-client.port=4940 "
POWER=""
extra_option=""
#extra_option=" --minimize_disk_usage=yes"
extra_option=" --minimize_disk_usage=no"
extra_tags=""
#extra_option=" --adr.mlperf-inference-implementation.compressed_dataset=on"
#extra_tags=",_only-fp32"
Expand All @@ -41,7 +42,8 @@ run "mlcr run,mobilenet-models,_tflite,_armnn,_neon$extra_tags \
${extra_option} "


extra_option=" --adr.mlperf-inference-implementation.compressed_dataset=on"
extra_option=" $extra_option --adr.mlperf-inference-implementation.compressed_dataset=on"
extra_tag=",_only-fp32"
run "mlcr run,mobilenet-models,_tflite$extra_tags \
--adr.compiler.tags=gcc \
${extra_option} "
Expand Down
4 changes: 3 additions & 1 deletion script/run-mlperf-inference-mobilenet-models/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def preprocess(i):
return r
importlib.reload(mlc.action)

if is_true(env.get('MLC_MINIMIZE_DISK_SPACE', '')):
if is_true(env.get('MLC_MINIMIZE_DISK_USAGE', '')):
r = cache_action.access(clean_input)
if r['return'] > 0:
print(r)
Expand All @@ -206,12 +206,14 @@ def preprocess(i):
if is_true(env.get('MLC_TEST_ONE_RUN', '')):
return {'return': 0}

'''
r = cache_action.access(clean_input)
if r['return'] > 0:
print(r)
# return r
else:
importlib.reload(mlc.action)
'''
return {'return': 0}


Expand Down
3 changes: 2 additions & 1 deletion script/run-mlperf-inference-mobilenet-models/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default_env:
MLC_MLPERF_RUN_INT8: 'yes'
MLC_MLPERF_RUN_MOBILENETS: 'no'
MLC_USE_DATASET_FROM_HOST: 'yes'
MLC_MINIMIZE_DISK_SPACE: 'yes'
MLC_MINIMIZE_DISK_USAGE: 'no'
deps:
- tags: get,sys-utils-mlc
docker:
Expand All @@ -35,6 +35,7 @@ docker:
imagenet_path: MLC_DATASET_IMAGENET_PATH
results_dir: MLC_MLPERF_INFERENCE_RESULTS_DIR
submission_dir: MLC_MLPERF_INFERENCE_SUBMISSION_DIR
minimize_disk_usage: MLC_MINIMIZE_DISK_USAGE
fake_run_deps: false
pre_run_cmds:
- mlc pull repo
Expand Down
Loading