set-performance-mode
Automatically generated README for this automation recipe: set-performance-mode
Category: DevOps automation
License: Apache 2.0
- CM meta description for this script: _cm.json
- Output cached? False
Reuse this script in your project
Install MLCommons CM automation meta-framework
Pull CM repository with this automation recipe (CM script)
cm pull repo mlcommons@cm4mlops
Print CM help from the command line
cmr "set system performance power mode" --help
Run this script
Run this script via CLI
cm run script --tags=set,system,performance,power,mode[,variations]
Run this script via CLI (alternative)
cmr "set system performance power mode [variations]"
Run this script from Python
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'set,system,performance,power,mode'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
Run this script via Docker (beta)
cm docker script "set system performance power mode[variations]"
Variations
-
No group (any combination of variations can be selected)
Click here to expand this section.
_reproducibility
- ENV variables:
- CM_SET_OS_PERFORMANCE_REPRODUCIBILITY_MODE:
yes
- CM_SET_OS_PERFORMANCE_REPRODUCIBILITY_MODE:
- ENV variables:
-
Group "device"
Click here to expand this section.
_cpu
(default)- ENV variables:
- CM_SET_PERFORMANCE_MODE_OF:
cpu
- CM_SET_PERFORMANCE_MODE_OF:
- ENV variables:
-
Group "performance-mode"
Click here to expand this section.
_performance
(default)- ENV variables:
- CM_SET_PERFORMANCE_MODE:
performance
- CM_SET_PERFORMANCE_MODE:
- ENV variables:
-
Group "power"
Click here to expand this section.
_power
- ENV variables:
- CM_SET_PERFORMANCE_MODE:
power
- CM_SET_PERFORMANCE_MODE:
- ENV variables:
Default variations
_cpu,_performance
Native script being run
Script output
cmr "set system performance power mode [variations]" -j