Skip to content

Output the submission directory in push to GitHub #533

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 9 commits into from
Jul 25, 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
12 changes: 12 additions & 0 deletions script/push-mlperf-inference-results-to-github/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,15 @@ def preprocess(i):
env['MLC_GIT_PUSH_CMD'] = "git push"

return {'return': 0}


def postprocess(i):

os_info = i['os_info']
env = i['env']
meta = i['meta']
automation = i['automation']

env['MLC_MLPERF_RESULTS_SYNC_DIR'] = env['MLC_GIT_REPO_CHECKOUT_PATH']

return {'return': 0}
4 changes: 4 additions & 0 deletions script/push-mlperf-inference-results-to-github/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ automation_uid: 5b4e0237da074764
category: MLPerf benchmark support
default_env:
MLC_MLPERF_RESULTS_GIT_REPO_URL: https://github.com/mlcommons/mlperf_inference_submissions_v4.0
new_env_keys:
- MLC_MLPERF_RESULTS_SYNC_DIR
print_env_at_the_end:
MLC_MLPERF_RESULTS_SYNC_DIR: Path to the locally synced submission directory
deps:
- names:
- python3
Expand Down
Loading