Skip to content

Commit 301de96

Browse files
authored
Cleanup mobilenet runs (#279)
* Added only_fp32 variation for compressed input mobilenet runs * Dont clean dataset for every mobilenet run * Dont clean dataset for every mobilenet run * Update armnn version
1 parent 7ec1c43 commit 301de96

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

script/get-lib-armnn/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ automation_alias: script
33
automation_uid: 5b4e0237da074764
44
cache: true
55
category: Detection or installation of tools and artifacts
6-
default_version: '23.11'
6+
default_version: '25.02'
77
deps:
88
- tags: detect,os
99
env:

script/run-all-mlperf-models/run-mobilenet-models.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ function run() {
2424
}
2525
POWER=" --power=yes --adr.mlperf-power-client.power_server=192.168.0.15 --adr.mlperf-power-client.port=4940 "
2626
POWER=""
27-
extra_option=""
27+
#extra_option=" --minimize_disk_usage=yes"
28+
extra_option=" --minimize_disk_usage=no"
2829
extra_tags=""
2930
#extra_option=" --adr.mlperf-inference-implementation.compressed_dataset=on"
3031
#extra_tags=",_only-fp32"
@@ -41,7 +42,8 @@ run "mlcr run,mobilenet-models,_tflite,_armnn,_neon$extra_tags \
4142
${extra_option} "
4243

4344

44-
extra_option=" --adr.mlperf-inference-implementation.compressed_dataset=on"
45+
extra_option=" $extra_option --adr.mlperf-inference-implementation.compressed_dataset=on"
46+
extra_tag=",_only-fp32"
4547
run "mlcr run,mobilenet-models,_tflite$extra_tags \
4648
--adr.compiler.tags=gcc \
4749
${extra_option} "

script/run-mlperf-inference-mobilenet-models/customize.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def preprocess(i):
195195
return r
196196
importlib.reload(mlc.action)
197197

198-
if is_true(env.get('MLC_MINIMIZE_DISK_SPACE', '')):
198+
if is_true(env.get('MLC_MINIMIZE_DISK_USAGE', '')):
199199
r = cache_action.access(clean_input)
200200
if r['return'] > 0:
201201
print(r)
@@ -206,12 +206,14 @@ def preprocess(i):
206206
if is_true(env.get('MLC_TEST_ONE_RUN', '')):
207207
return {'return': 0}
208208

209+
'''
209210
r = cache_action.access(clean_input)
210211
if r['return'] > 0:
211212
print(r)
212213
# return r
213214
else:
214215
importlib.reload(mlc.action)
216+
'''
215217
return {'return': 0}
216218

217219

script/run-mlperf-inference-mobilenet-models/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ default_env:
99
MLC_MLPERF_RUN_INT8: 'yes'
1010
MLC_MLPERF_RUN_MOBILENETS: 'no'
1111
MLC_USE_DATASET_FROM_HOST: 'yes'
12-
MLC_MINIMIZE_DISK_SPACE: 'yes'
12+
MLC_MINIMIZE_DISK_USAGE: 'no'
1313
deps:
1414
- tags: get,sys-utils-mlc
1515
docker:
@@ -35,6 +35,7 @@ docker:
3535
imagenet_path: MLC_DATASET_IMAGENET_PATH
3636
results_dir: MLC_MLPERF_INFERENCE_RESULTS_DIR
3737
submission_dir: MLC_MLPERF_INFERENCE_SUBMISSION_DIR
38+
minimize_disk_usage: MLC_MINIMIZE_DISK_USAGE
3839
fake_run_deps: false
3940
pre_run_cmds:
4041
- mlc pull repo

0 commit comments

Comments
 (0)