Skip to content

Fixes get,igbh,dataset on host #252

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 21, 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
3 changes: 2 additions & 1 deletion script/get-dataset-igbh/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ deps:
- tags: get,python
names:
- get-python
- tags: get,generic-python-lib,_package.igb,_url.git+https://github.com/gateoverflow/IGB-Datasets.git
- tags: get,generic-python-lib,_package.igb,_url.git+https://github.com/IllinoisGraphBenchmark/IGB-Datasets
- tags: get,generic-python-lib,_package.colorama
- tags: get,generic-python-lib,_package.tqdm
- tags: get,generic-python-lib,_package.torch


prehook_deps:
Expand Down
36 changes: 28 additions & 8 deletions script/run-mlperf-inference-mobilenet-models/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,42 @@ default_env:
MLC_MLPERF_RUN_FP32: 'yes'
MLC_MLPERF_RUN_INT8: 'yes'
MLC_MLPERF_RUN_MOBILENETS: 'no'
MLC_USE_DATASET_FROM_HOST: 'yes'
deps:
- tags: get,sys-utils-mlc
docker:
deps:
- tags: get,mlperf,inference,results,dir,local
names:
- get-mlperf-inference-results-dir
skip_if_env:
OUTPUT_BASE_DIR: [ on ]
- tags: get,mlperf,inference,submission,dir,local
names:
- get-mlperf-inference-submission-dir
skip_if_env:
MLC_MLPERF_INFERENCE_SUBMISSION_DIR: [ on ]
- tags: get,dataset,imagenet,validation,original,_full
enable_if_env:
MLC_USE_DATASET_FROM_HOST:
- 'yes'
names:
- imagenet-original
- dataset-original
input_mapping:
imagenet_path: IMAGENET_PATH
results_dir: RESULTS_DIR
submission_dir: SUBMISSION_DIR
imagenet_path: MLC_DATASET_IMAGENET_PATH
results_dir: MLC_MLPERF_INFERENCE_RESULTS_DIR
submission_dir: MLC_MLPERF_INFERENCE_SUBMISSION_DIR
docker_run_final_cmds:
- mlcr run,mlperf,inference,mobilenet-models,_find-performance --adr.mlperf-inference-implementation.fake_run=True
--adr.compiler.tags=gcc
- mlcr run,mlperf,inference,mobilenet-models,_find-performance --adr.mlperf-inference-implementation.fake_run=True --adr.compiler.tags=gcc
fake_run_deps: false
mounts:
- ${{ IMAGENET_PATH }}:${{ IMAGENET_PATH }}
- ${{ RESULTS_DIR }}:${{ RESULTS_DIR }}
- ${{ SUBMISSION_DIR }}:${{ SUBMISSION_DIR }}
- "${{ MLC_DATASET_IMAGENET_PATH }}:${{ MLC_DATASET_IMAGENET_PATH }}"
- "${{ MLC_MLPERF_INFERENCE_RESULTS_DIR }}:${{ MLC_MLPERF_INFERENCE_RESULTS_DIR }}"
- "${{ OUTPUT_BASE_DIR }}:${{ OUTPUT_BASE_DIR }}"
- "${{ MLC_MLPERF_INFERENCE_SUBMISSION_DIR }}:${{ MLC_MLPERF_INFERENCE_SUBMISSION_DIR }}"
run: true
docker_it: true
input_mapping:
find-performance: MLC_MLPERF_FIND_PERFORMANCE_MODE
imagenet_path: IMAGENET_PATH
Expand Down
Loading