Skip to content

run-mlperf-power-client

Automatically generated README for this automation recipe: run-mlperf-power-client

Category: MLPerf benchmark support

License: Apache 2.0

  • Notes from the authors, contributors and users: README-extra

  • 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

cmr "run mlc mlcommons mlperf power client power-client" --help

Run this script

Run this script via CLI
cm run script --tags=run,mlc,mlcommons,mlperf,power,client,power-client [--input_flags]
Run this script via CLI (alternative)
cmr "run mlc mlcommons mlperf power client power-client " [--input_flags]
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'run,mlc,mlcommons,mlperf,power,client,power-client'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "run mlc mlcommons mlperf power client power-client" [--input_flags]

Script flags mapped to environment

  • --loadgen_logs_dir=valueCM_MLPERF_LOADGEN_LOGS_DIR=value
  • --log_dir=valueCM_MLPERF_POWER_LOG_DIR=value
  • --max_amps=valueCM_MLPERF_POWER_MAX_AMPS=value
  • --max_volts=valueCM_MLPERF_POWER_MAX_VOLTS=value
  • --ntp_server=valueCM_MLPERF_POWER_NTP_SERVER=value
  • --port=valueCM_MLPERF_POWER_SERVER_PORT=value
  • --power_server=valueCM_MLPERF_POWER_SERVER_ADDRESS=value
  • --run_cmd=valueCM_MLPERF_RUN_CMD=value
  • --server=valueCM_MLPERF_POWER_SERVER_ADDRESS=value
  • --server_port=valueCM_MLPERF_POWER_SERVER_PORT=value
  • --timestamp=valueCM_MLPERF_POWER_TIMESTAMP=value

Default environment

These keys can be updated via --env.KEY=VALUE or env dictionary in @input.json or using script flags.

  • CM_MLPERF_POWER_LOG_DIR: logs
  • CM_MLPERF_RUN_CMD: ``
  • CM_MLPERF_POWER_SERVER_ADDRESS: localhost
  • CM_MLPERF_POWER_NTP_SERVER: time.google.com

Native script being run

No run file exists for Windows


Script output

cmr "run mlc mlcommons mlperf power client power-client " [--input_flags] -j