Skip to content

Rename ENV CM_MLPERF_PERFORMANCE_SAMPLE_COUNT #90

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 3 commits into from
Dec 29, 2024
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
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-amd/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ input_mapping:
mlperf_conf: CM_MLPERF_CONF
mode: CM_MLPERF_LOADGEN_MODE
output_dir: CM_MLPERF_OUTPUT_DIR
performance_sample_count: CM_MLPERF_PERFORMANCE_SAMPLE_COUNT
performance_sample_count: CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT
scenario: CM_MLPERF_LOADGEN_SCENARIO
user_conf: CM_MLPERF_USER_CONF
skip_preprocess: CM_SKIP_PREPROCESS_DATASET
Expand Down
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-dummy/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ input_mapping:
mlperf_conf: CM_MLPERF_CONF
mode: CM_MLPERF_LOADGEN_MODE
output_dir: CM_MLPERF_OUTPUT_DIR
performance_sample_count: CM_MLPERF_PERFORMANCE_SAMPLE_COUNT
performance_sample_count: CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT
scenario: CM_MLPERF_LOADGEN_SCENARIO
user_conf: CM_MLPERF_USER_CONF
skip_preprocess: CM_SKIP_PREPROCESS_DATASET
Expand Down
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-intel/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ input_mapping:
mlperf_conf: CM_MLPERF_CONF
mode: CM_MLPERF_LOADGEN_MODE
output_dir: CM_MLPERF_OUTPUT_DIR
performance_sample_count: CM_MLPERF_PERFORMANCE_SAMPLE_COUNT
performance_sample_count: CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT
scenario: CM_MLPERF_LOADGEN_SCENARIO
user_conf: CM_MLPERF_USER_CONF
skip_preprocess: CM_SKIP_PREPROCESS_DATASET
Expand Down
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-nvidia/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ variations:
default_variations:
batch-size: batch_size.2048
env:
CM_MLPERF_PERFORMANCE_SAMPLE_COUNT: "2048"
CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT: "2048"

a100,sxm,retinanet,offline,run_harness:
default_variations:
Expand Down
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-qualcomm/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ input_mapping:
mlperf_conf: CM_MLPERF_CONF
mode: CM_MLPERF_LOADGEN_MODE
output_dir: CM_MLPERF_OUTPUT_DIR
performance_sample_count: CM_MLPERF_PERFORMANCE_SAMPLE_COUNT
performance_sample_count: CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT
scenario: CM_MLPERF_LOADGEN_SCENARIO
user_conf: CM_MLPERF_USER_CONF
devices: CM_QAIC_DEVICES
Expand Down
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-redhat/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ input_mapping:
mlperf_conf: CM_MLPERF_CONF
mode: CM_MLPERF_LOADGEN_MODE
output_dir: CM_MLPERF_OUTPUT_DIR
performance_sample_count: CM_MLPERF_PERFORMANCE_SAMPLE_COUNT
performance_sample_count: CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT
scenario: CM_MLPERF_LOADGEN_SCENARIO
user_conf: CM_MLPERF_USER_CONF
skip_preprocess: CM_SKIP_PREPROCESS_DATASET
Expand Down
2 changes: 1 addition & 1 deletion script/generate-mlperf-inference-user-conf/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ input_mapping:
server_target_qps: CM_MLPERF_LOADGEN_SERVER_TARGET_QPS
singlestream_target_latency: CM_MLPERF_LOADGEN_SINGLESTREAM_TARGET_LATENCY
multistream_target_latency: CM_MLPERF_LOADGEN_MULTISTREAM_TARGET_LATENCY
performance_sample_count: CM_MLPERF_PERFORMANCE_SAMPLE_COUNT
performance_sample_count: CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT

# Env keys which are exposed to higher level scripts
new_env_keys:
Expand Down
4 changes: 2 additions & 2 deletions script/generate-mlperf-inference-user-conf/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ def preprocess(i):
user_conf += ml_model_name + "." + scenario + \
"." + metric + " = " + str(metric_value) + "\n"

if env.get('CM_MLPERF_PERFORMANCE_SAMPLE_COUNT', '') != '':
performance_sample_count = env['CM_MLPERF_PERFORMANCE_SAMPLE_COUNT']
if env.get('CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT', '') != '':
performance_sample_count = env['CM_MLPERF_LOADGEN_PERFORMANCE_SAMPLE_COUNT']
user_conf += ml_model_name + ".*.performance_sample_count_override = " + \
performance_sample_count + "\n"

Expand Down
Loading