Skip to content

Merge from GO #292

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 5 commits into from
Mar 6, 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
1 change: 1 addition & 0 deletions script/generate-mlperf-inference-user-conf/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ def run_files_exist(mode, OUTPUT_DIR, run_files, env):
if (
"result_validity" not in mlperf_log.get_keys()
or mlperf_log["result_validity"] != "VALID"
or "error_invalid_config" in mlperf_log.get_keys()
):
return False

Expand Down
4 changes: 4 additions & 0 deletions script/get-aocc/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ tags:
- get
- aocc
uid: 1ceb0656e99a44ec
variations:
_path.#:
env:
MLC_AOCC_DIR_PATH: #
6 changes: 6 additions & 0 deletions script/get-gcc/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ def preprocess(i):
recursion_spaces = i['recursion_spaces']
file_name_c = 'gcc.exe' if os_info['platform'] == 'windows' else 'gcc'

if 'MLC_GCC_BIN_WITH_PATH' not in env:
if env.get('MLC_GCC_DIR_PATH', '') != '':
gcc_path = env['MLC_GCC_DIR_PATH']
if os.path.exists(os.path.join(gcc_path, 'bin', 'gcc')):
env['MLC_TMP_PATH'] = os.path.join(gcc_path, 'bin')

if env.get('MLC_HOST_OS_FLAVOR', '') == 'rhel':
if "12" in env.get('MLC_VERSION', '') or "12" in env.get(
'MLC_VERSION_MIN', ''):
Expand Down
4 changes: 4 additions & 0 deletions script/get-gcc/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ tags:
- cpp-compiler
- get-gcc
uid: dbf4ab5cbed74372
variations:
_path.#:
env:
MLC_GCC_DIR_PATH: #
4 changes: 4 additions & 0 deletions script/get-lib-armnn/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ versions:
env:
MLC_LIB_ARMNN_VERSION: v23.11
MLC_TMP_GIT_BRANCH_NAME: branches/armnn_23_11
'25.02':
env:
MLC_LIB_ARMNN_VERSION: v23.11
MLC_TMP_GIT_BRANCH_NAME: branches/armnn_23_11
9 changes: 7 additions & 2 deletions script/push-mlperf-inference-results-to-github/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ if [[ -n ${MLC_MLPERF_INFERENCE_SUBMISSION_DIR} ]]; then
fi
test $? -eq 0 || exit $?

git commit -a -m "${MLC_MLPERF_RESULTS_REPO_COMMIT_MESSAGE}"
test $? -eq 0 || exit $?
if ! git diff-index --quiet HEAD --; then
git commit -a -m "${MLC_MLPERF_RESULTS_REPO_COMMIT_MESSAGE}"
test $? -eq 0 || exit $?
else
echo "No changes to commit."
fi


echo ${MLC_GIT_PUSH_CMD}
${MLC_GIT_PUSH_CMD}
Expand Down
Loading