From 8bc932351c07e1239299d1ce761f3b43e2181ede Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Thu, 27 Feb 2025 18:10:05 +0000 Subject: [PATCH 1/4] Invalidate invalid config results --- script/generate-mlperf-inference-user-conf/customize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/generate-mlperf-inference-user-conf/customize.py b/script/generate-mlperf-inference-user-conf/customize.py index a9f8e3eaa..70d920ed4 100644 --- a/script/generate-mlperf-inference-user-conf/customize.py +++ b/script/generate-mlperf-inference-user-conf/customize.py @@ -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 From 3bdc3c15eb1b24d3be22f109290c415d88d8c54b Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Fri, 28 Feb 2025 14:14:47 +0000 Subject: [PATCH 2/4] Fix v25.02 for armnn --- script/get-lib-armnn/meta.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/get-lib-armnn/meta.yaml b/script/get-lib-armnn/meta.yaml index ff71bf95a..53b5e210d 100644 --- a/script/get-lib-armnn/meta.yaml +++ b/script/get-lib-armnn/meta.yaml @@ -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 From b046acd03f5f374af0ae8430cb15ffeee165c810 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Fri, 28 Feb 2025 15:58:46 +0000 Subject: [PATCH 3/4] Fix git push command if working directory is clean --- script/push-mlperf-inference-results-to-github/run.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/script/push-mlperf-inference-results-to-github/run.sh b/script/push-mlperf-inference-results-to-github/run.sh index ffac61801..5994b1068 100644 --- a/script/push-mlperf-inference-results-to-github/run.sh +++ b/script/push-mlperf-inference-results-to-github/run.sh @@ -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} From ea738acbd7ea9d568ed516c973fd586fe63a7f55 Mon Sep 17 00:00:00 2001 From: mlcommons-bot Date: Thu, 6 Mar 2025 23:14:53 +0000 Subject: [PATCH 4/4] Added _path.# variations for gcc,aocc --- script/get-aocc/meta.yaml | 4 ++++ script/get-gcc/customize.py | 6 ++++++ script/get-gcc/meta.yaml | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/script/get-aocc/meta.yaml b/script/get-aocc/meta.yaml index 429a9ba95..c620a5d03 100644 --- a/script/get-aocc/meta.yaml +++ b/script/get-aocc/meta.yaml @@ -43,3 +43,7 @@ tags: - get - aocc uid: 1ceb0656e99a44ec +variations: + _path.#: + env: + MLC_AOCC_DIR_PATH: # diff --git a/script/get-gcc/customize.py b/script/get-gcc/customize.py index a8c8b3099..01749aba5 100644 --- a/script/get-gcc/customize.py +++ b/script/get-gcc/customize.py @@ -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', ''): diff --git a/script/get-gcc/meta.yaml b/script/get-gcc/meta.yaml index 27a3b6feb..4de1812f5 100644 --- a/script/get-gcc/meta.yaml +++ b/script/get-gcc/meta.yaml @@ -30,3 +30,7 @@ tags: - cpp-compiler - get-gcc uid: dbf4ab5cbed74372 +variations: + _path.#: + env: + MLC_GCC_DIR_PATH: #