From 0d7fc1b7ba501ff1e26880fa507f7b704ea99f78 Mon Sep 17 00:00:00 2001 From: anandhu-eng Date: Mon, 29 Jul 2024 16:24:09 +0530 Subject: [PATCH 01/11] added platform details measurement script --- script/get-platform-details/_cm.json | 19 ++++ script/get-platform-details/customize.py | 40 +++++++ script/get-platform-details/run.bat | 1 + script/get-platform-details/run.sh | 138 +++++++++++++++++++++++ 4 files changed, 198 insertions(+) create mode 100644 script/get-platform-details/_cm.json create mode 100644 script/get-platform-details/customize.py create mode 100644 script/get-platform-details/run.bat create mode 100644 script/get-platform-details/run.sh diff --git a/script/get-platform-details/_cm.json b/script/get-platform-details/_cm.json new file mode 100644 index 0000000000..5214ebbf5c --- /dev/null +++ b/script/get-platform-details/_cm.json @@ -0,0 +1,19 @@ +{ + "alias": "get-platform-details", + "automation_alias": "script", + "automation_uid": "5b4e0237da074764", + "cache": true, + "category": "Platform information", + "deps": [ + { + "tags": "detect,os" + } + ], + "tags": [ + "get", + "platform", + "details", + "platform-details" + ], + "uid": "f0801943c17f4e48" +} diff --git a/script/get-platform-details/customize.py b/script/get-platform-details/customize.py new file mode 100644 index 0000000000..e55740f67f --- /dev/null +++ b/script/get-platform-details/customize.py @@ -0,0 +1,40 @@ +from cmind import utils +import os +import subprocess + +def check_installation(command, os_info): + if os_info['platform'] == "windows": + return subprocess.call([command, '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) == 0 + elif os_info['platform'] == "linux": + return subprocess.call(['which',command], stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0 #0 means the package is there + +def preprocess(i): + + os_info = i['os_info'] + env = i['env'] + + if os_info['platform'] == "windows": + return {'return':1, 'error':'get-platform-details script not yet supported in windows!'} + + print(env['CM_HOST_OS_KERNEL_VERSION']) + + if not check_installation("numactl",os_info): + os.environ['CM_INSTALL_NUMACTL'] = 'True' + + if not check_installation("cpupower",os_info): + os.environ['CM_INSTALL_CPUPOWER'] = 'True' + + return {'return':0} + + +def postprocess(i): + + state = i['state'] + + env = i['env'] + + os_info = i['os_info'] + + automation = i['automation'] + + return {'return':0} diff --git a/script/get-platform-details/run.bat b/script/get-platform-details/run.bat new file mode 100644 index 0000000000..73412b64ab --- /dev/null +++ b/script/get-platform-details/run.bat @@ -0,0 +1 @@ +echo "This CM script not supported for windows yet" diff --git a/script/get-platform-details/run.sh b/script/get-platform-details/run.sh new file mode 100644 index 0000000000..576773c49c --- /dev/null +++ b/script/get-platform-details/run.sh @@ -0,0 +1,138 @@ +#!/bin/bash + +OUTPUT_FILE="system_info.txt" + +echo "WARNING: sudo permission is needed to some packages for measuring the platform details" + +# Install numactl if not installed +if [[ $CM_INSTALL_NUMACTL == "True" ]]; then + echo "Installing numactl..." + sudo apt-get update + sudo apt-get install -y numactl +fi + +# for accessing cpupower package +# NOTW: To be tested on more devices +if [[ $CM_INSTALL_CPUPOWER == "True" ]]; then + echo "Installing linux-tools-common for cpupower package..." + sudo apt-get update + sudo apt-get install -y linux-tools-$CM_HOST_OS_KERNEL_VERSION +fi + +if [[ ${CM_HOST_OS_FLAVOR} == "macos" ]]; then + echo "WARNING: To be done for the mac os" +else + echo "Platform Details" > $OUTPUT_FILE + echo "" >> $OUTPUT_FILE + echo "------------------------------------------------------------" >> $OUTPUT_FILE + echo "1. uname -a" >> $OUTPUT_FILE + eval "uname -a" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "2. w" >> $OUTPUT_FILE + eval "w" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "3. Username" >> $OUTPUT_FILE + echo "From environment variable \$USER: $USER" >> $OUTPUT_FILE + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "4. ulimit -a" >> $OUTPUT_FILE + eval "ulimit -a" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "5. sysinfo process ancestry" >> $OUTPUT_FILE + eval "pstree" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "6. /proc/cpuinfo" >> $OUTPUT_FILE + eval "cat /proc/cpuinfo" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "7. lscpu" >> $OUTPUT_FILE + eval "lscpu" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "8. numactl --hardware" >> $OUTPUT_FILE + eval "numactl --hardware" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "9. /proc/meminfo" >> $OUTPUT_FILE + eval "cat /proc/meminfo" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "10. who -r" >> $OUTPUT_FILE + eval "who -r" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "11. Systemd service manager version" >> $OUTPUT_FILE + eval "systemctl --version | head -n 1" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "12. Services, from systemctl list-unit-files" >> $OUTPUT_FILE + eval "systemctl list-unit-files" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "13. Linux kernel boot-time arguments, from /proc/cmdline" >> $OUTPUT_FILE + eval "cat /proc/cmdline" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "14. cpupower frequency-info" >> $OUTPUT_FILE + eval "cpupower frequency-info" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "15. sysctl" >> $OUTPUT_FILE + eval "sudo sysctl -a" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "16. /sys/kernel/mm/transparent_hugepage" >> $OUTPUT_FILE + eval "cat /sys/kernel/mm/transparent_hugepage/enabled" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "17. /sys/kernel/mm/transparent_hugepage/khugepaged" >> $OUTPUT_FILE + eval "cat /sys/kernel/mm/transparent_hugepage/khugepaged/defrag" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "18. OS release" >> $OUTPUT_FILE + eval "cat /etc/os-release" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "19. Disk information" >> $OUTPUT_FILE + eval "lsblk" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "20. /sys/devices/virtual/dmi/id" >> $OUTPUT_FILE + eval "ls /sys/devices/virtual/dmi/id" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "21. dmidecode" >> $OUTPUT_FILE + eval "sudo dmidecode" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "22. BIOS" >> $OUTPUT_FILE + eval "sudo dmidecode -t bios" >> $OUTPUT_FILE + test $? -eq 0 || exit $? + echo "------------------------------------------------------------" >> $OUTPUT_FILE + + echo "System information has been saved to $PWD/$OUTPUT_FILE" +fi From 1cc0838ddd5afc7b3044610763efda75035dc704 Mon Sep 17 00:00:00 2001 From: anandhu-eng Date: Tue, 30 Jul 2024 10:37:48 +0530 Subject: [PATCH 02/11] capture extra cpu info --- script/detect-cpu/run.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/script/detect-cpu/run.sh b/script/detect-cpu/run.sh index e53c5df44d..bdbfcfa68f 100644 --- a/script/detect-cpu/run.sh +++ b/script/detect-cpu/run.sh @@ -8,4 +8,15 @@ else echo "CM_HOST_MEMORY_CAPACITY=$memory_capacity">>tmp-run-env.out disk_capacity=`df -h --total -l |grep total |tr -s ' '|cut -d' ' -f2` echo "CM_HOST_DISK_CAPACITY=$disk_capacity">>tmp-run-env.out + # extract cpu information which are not there in lscpu + cpuinfo=$(cat /proc/cpuinfo) + echo "CM_HOST_CPU_WRITE_PROTECT_SUPPORT=$(echo "$cpuinfo" | grep -m 1 "wp" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CPU_MICROCODE=$(echo "$cpuinfo" | grep -m 1 "microcode" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CPU_FPU_SUPPORT=$(echo "$cpuinfo" | grep -m 1 "fpu" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CPU_FPU_EXCEPTION_SUPPORT=$(echo "$cpuinfo" | grep -m 1 "fpu_exception" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CPU_BUGS=$(echo "$cpuinfo" | grep -m 1 "bugs" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CPU_TLB_SIZE=$(echo "$cpuinfo" | grep -m 1 "TLB size" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CPU_CFLUSH_SIZE=$(echo "$cpuinfo" | grep -m 1 "clush size" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_CACHE_ALLIGNMENT_SIZE=$(echo "$cpuinfo" | grep -m 1 "cache_alignment" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out + echo "CM_HOST_POWER_MANAGEMENT=$(echo "$cpuinfo" | grep -m 1 "power management" | cut -d ':' -f 2 | xargs)">>tmp-run-env.out fi From 7935a6e00ef685e21918145770838363a3e99f6f Mon Sep 17 00:00:00 2001 From: anandhu-eng Date: Tue, 30 Jul 2024 17:12:21 +0530 Subject: [PATCH 03/11] handle system installation through cm --- script/get-platform-details/_cm.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/script/get-platform-details/_cm.json b/script/get-platform-details/_cm.json index 5214ebbf5c..99a16e1cf4 100644 --- a/script/get-platform-details/_cm.json +++ b/script/get-platform-details/_cm.json @@ -9,6 +9,16 @@ "tags": "detect,os" } ], + "prehook_deps": [ + { + "enable_if_env": { + "CM_INSTALL_NUMACTL": [ + "True" + ] + }, + "tags": "get,sys-util,generic,_numactl" + } + ], "tags": [ "get", "platform", From bfd2947ee5a8562840a3f0727e542c005543eb57 Mon Sep 17 00:00:00 2001 From: anandhu-eng Date: Mon, 5 Aug 2024 14:08:55 +0530 Subject: [PATCH 04/11] installation of dependencies through cm-tmp fix --- script/get-generic-sys-util/_cm.json | 15 +++++++++++++++ script/get-generic-sys-util/customize.py | 10 ++++++++++ script/get-platform-details/_cm.json | 10 +++++++++- script/get-platform-details/customize.py | 6 +++--- script/get-platform-details/run.sh | 15 --------------- 5 files changed, 37 insertions(+), 19 deletions(-) diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index 302810e787..354773e208 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -50,6 +50,21 @@ } } }, + "linux-tools": { + "deps":[ + { + "tags":"detect,os" + } + ], + "env": { + "CM_SYS_UTIL_NAME": "linux-tools" + }, + "state": { + "linux-tools": { + "apt": "linux-tools-<<>>" + } + } + }, "sox": { "env": { "CM_SYS_UTIL_NAME": "sox" diff --git a/script/get-generic-sys-util/customize.py b/script/get-generic-sys-util/customize.py index 6ec4bfe05a..27a4f83919 100644 --- a/script/get-generic-sys-util/customize.py +++ b/script/get-generic-sys-util/customize.py @@ -1,5 +1,6 @@ from cmind import utils import os +import re def preprocess(i): @@ -30,6 +31,15 @@ def preprocess(i): package_name = package.get(pm) if not package_name: return {'return': 1, 'error': 'No package name specified for {} and util name {}'.format(pm, util)} + + # Temporary handling of dynamic state variables + tmp_values = re.findall(r'<<<(.*?)>>>', str(package_name)) + for tmp_value in tmp_values: + if tmp_value not in env: + return {'return':1, 'error':'variable {} is not in env'.format(tmp_value)} + if tmp_value in env: + if type(package_name) == str: + package_name = package_name.replace("<<<"+tmp_value+">>>", str(env[tmp_value])) install_cmd = env.get('CM_HOST_OS_PACKAGE_MANAGER_INSTALL_CMD') if not install_cmd: diff --git a/script/get-platform-details/_cm.json b/script/get-platform-details/_cm.json index 99a16e1cf4..950a72f9be 100644 --- a/script/get-platform-details/_cm.json +++ b/script/get-platform-details/_cm.json @@ -2,7 +2,7 @@ "alias": "get-platform-details", "automation_alias": "script", "automation_uid": "5b4e0237da074764", - "cache": true, + "cache": false, "category": "Platform information", "deps": [ { @@ -17,6 +17,14 @@ ] }, "tags": "get,sys-util,generic,_numactl" + }, + { + "enable_if_env": { + "CM_INSTALL_CPUPOWER": [ + "True" + ] + }, + "tags": "get,sys-util,generic,_linux-tools" } ], "tags": [ diff --git a/script/get-platform-details/customize.py b/script/get-platform-details/customize.py index e55740f67f..235657a3f7 100644 --- a/script/get-platform-details/customize.py +++ b/script/get-platform-details/customize.py @@ -19,11 +19,11 @@ def preprocess(i): print(env['CM_HOST_OS_KERNEL_VERSION']) if not check_installation("numactl",os_info): - os.environ['CM_INSTALL_NUMACTL'] = 'True' + env['CM_INSTALL_NUMACTL'] = 'True' if not check_installation("cpupower",os_info): - os.environ['CM_INSTALL_CPUPOWER'] = 'True' - + env['CM_INSTALL_CPUPOWER'] = 'True' + return {'return':0} diff --git a/script/get-platform-details/run.sh b/script/get-platform-details/run.sh index 576773c49c..05fdb57de7 100644 --- a/script/get-platform-details/run.sh +++ b/script/get-platform-details/run.sh @@ -4,21 +4,6 @@ OUTPUT_FILE="system_info.txt" echo "WARNING: sudo permission is needed to some packages for measuring the platform details" -# Install numactl if not installed -if [[ $CM_INSTALL_NUMACTL == "True" ]]; then - echo "Installing numactl..." - sudo apt-get update - sudo apt-get install -y numactl -fi - -# for accessing cpupower package -# NOTW: To be tested on more devices -if [[ $CM_INSTALL_CPUPOWER == "True" ]]; then - echo "Installing linux-tools-common for cpupower package..." - sudo apt-get update - sudo apt-get install -y linux-tools-$CM_HOST_OS_KERNEL_VERSION -fi - if [[ ${CM_HOST_OS_FLAVOR} == "macos" ]]; then echo "WARNING: To be done for the mac os" else From cab8591aa695f72d1a9d56349850339cbfe03a67 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Mon, 5 Aug 2024 17:18:44 +0530 Subject: [PATCH 05/11] Fix psmisc deps for get-patform-details --- script/get-generic-sys-util/_cm.json | 13 +++++++++++++ script/get-platform-details/_cm.json | 3 +++ 2 files changed, 16 insertions(+) diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index 354773e208..d6ccb1d5e0 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -143,6 +143,19 @@ } } }, + "psmisc": { + "env": { + "CM_SYS_UTIL_NAME": "psmisc" + }, + "state": { + "psmisc": { + "apt": "psmisc", + "dnf": "psmisc", + "yum": "psmisc", + "brew": "pstree" + } + } + }, "libpng-dev": { "env": { "CM_SYS_UTIL_NAME": "libpng-dev" diff --git a/script/get-platform-details/_cm.json b/script/get-platform-details/_cm.json index 950a72f9be..a628f032cc 100644 --- a/script/get-platform-details/_cm.json +++ b/script/get-platform-details/_cm.json @@ -7,6 +7,9 @@ "deps": [ { "tags": "detect,os" + }, + { + "tags": "get,sys-util,generic,_psmisc" } ], "prehook_deps": [ From 667dc7cacf8fbafcdf78280cebff84a497e7a7ec Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Mon, 5 Aug 2024 17:23:14 +0530 Subject: [PATCH 06/11] Fix psmisc deps for get-patform-details --- script/get-generic-sys-util/_cm.json | 13 +++++++++++++ script/get-platform-details/_cm.json | 3 +++ 2 files changed, 16 insertions(+) diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index d6ccb1d5e0..4286be3e3d 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -156,6 +156,19 @@ } } }, + "systemd": { + "env": { + "CM_SYS_UTIL_NAME": "systemd" + }, + "state": { + "systemd": { + "apt": "systemd", + "dnf": "systemd", + "yum": "systemd", + "brew": "" + } + } + }, "libpng-dev": { "env": { "CM_SYS_UTIL_NAME": "libpng-dev" diff --git a/script/get-platform-details/_cm.json b/script/get-platform-details/_cm.json index a628f032cc..d0a52089f9 100644 --- a/script/get-platform-details/_cm.json +++ b/script/get-platform-details/_cm.json @@ -10,6 +10,9 @@ }, { "tags": "get,sys-util,generic,_psmisc" + }, + { + "tags": "get,sys-util,generic,_systemd" } ], "prehook_deps": [ From 998482076420e22a545ed6f56728d4692d105693 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Mon, 5 Aug 2024 17:28:44 +0530 Subject: [PATCH 07/11] Fix psmisc deps for get-patform-details --- script/get-generic-sys-util/_cm.json | 13 +++++++++++++ script/get-platform-details/_cm.json | 3 +++ 2 files changed, 16 insertions(+) diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index 4286be3e3d..30f4277a9e 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -169,6 +169,19 @@ } } }, + "dmidecode": { + "env": { + "CM_SYS_UTIL_NAME": "dmidecode" + }, + "state": { + "dmidecode": { + "apt": "dmidecode", + "dnf": "dmidecode", + "yum": "dmidecode", + "brew": "" + } + } + }, "libpng-dev": { "env": { "CM_SYS_UTIL_NAME": "libpng-dev" diff --git a/script/get-platform-details/_cm.json b/script/get-platform-details/_cm.json index d0a52089f9..3c6c5b4bd6 100644 --- a/script/get-platform-details/_cm.json +++ b/script/get-platform-details/_cm.json @@ -13,6 +13,9 @@ }, { "tags": "get,sys-util,generic,_systemd" + }, + { + "tags": "get,sys-util,generic,_dmidecode" } ], "prehook_deps": [ From d133353a0ab7c5e6c32f722808d6fd12e69b479c Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Mon, 5 Aug 2024 14:32:31 +0100 Subject: [PATCH 08/11] Fix cpupower installation issue with get-platform-details --- script/get-platform-details/customize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/get-platform-details/customize.py b/script/get-platform-details/customize.py index 235657a3f7..d7affa2608 100644 --- a/script/get-platform-details/customize.py +++ b/script/get-platform-details/customize.py @@ -21,8 +21,8 @@ def preprocess(i): if not check_installation("numactl",os_info): env['CM_INSTALL_NUMACTL'] = 'True' - if not check_installation("cpupower",os_info): - env['CM_INSTALL_CPUPOWER'] = 'True' + #if not check_installation("cpupower",os_info): + env['CM_INSTALL_CPUPOWER'] = 'True' return {'return':0} From 8a8f48e7fa5b4d24560bbaddaf3b02916eacb457 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Mon, 5 Aug 2024 19:23:07 +0530 Subject: [PATCH 09/11] Use python venv inside cm docker --- script/build-dockerfile/customize.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/build-dockerfile/customize.py b/script/build-dockerfile/customize.py index 546fabc89a..f64a78d890 100644 --- a/script/build-dockerfile/customize.py +++ b/script/build-dockerfile/customize.py @@ -180,6 +180,8 @@ def preprocess(i): f.write(EOL+'# Install python packages' + EOL) python = get_value(env, config, 'PYTHON', 'CM_DOCKERFILE_PYTHON') + f.write('RUN {} -m venv cm-venv'.format(python) + " " + EOL) + f.write('RUN source cm-venv/bin/activate' + EOL) f.write('RUN {} -m pip install --user '.format(python) + " ".join(get_value(env, config, 'python-packages')) + ' ' + pip_extra_flags + ' ' + EOL) f.write(EOL+'# Download CM repo for scripts' + EOL) From e0ccec222e0cfa64b7c093fa620c5e52a9c4c46b Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 6 Aug 2024 16:38:25 +0530 Subject: [PATCH 10/11] Fixes dlrm-v2 variation for reference implementation --- script/app-mlperf-inference-mlcommons-python/_cm.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/app-mlperf-inference-mlcommons-python/_cm.yaml b/script/app-mlperf-inference-mlcommons-python/_cm.yaml index 0afd087f31..2438778b57 100644 --- a/script/app-mlperf-inference-mlcommons-python/_cm.yaml +++ b/script/app-mlperf-inference-mlcommons-python/_cm.yaml @@ -1029,21 +1029,21 @@ variations: deps: - tags: get,generic-python-lib,_package.nibabel - dlrm-99.9: + dlrm-v2-99.9: group: models base: - - dlrm + - dlrm-v2_ env: CM_MODEL: dlrm-99.9 - dlrm-99: + dlrm-v2-99: group: models base: - - dlrm + - dlrm-v2_ env: CM_MODEL: dlrm-99 - dlrm: + dlrm-v2_: env: CM_MLPERF_MODEL_SKIP_BATCHING: true deps: From 45a12c25673574aded565c0efddc69aff6b96b35 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 6 Aug 2024 16:41:25 +0530 Subject: [PATCH 11/11] Use local repo by default --- automation/script/module_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/script/module_misc.py b/automation/script/module_misc.py index 2c72e059fb..d84e9c1952 100644 --- a/automation/script/module_misc.py +++ b/automation/script/module_misc.py @@ -1739,7 +1739,7 @@ def docker(i): image_repo = i.get('docker_image_repo','') if image_repo == '': - image_repo = 'cknowledge' + image_repo = 'local' # Host system needs to have docker r = self_module.cmind.access({'action':'run',