Compare commits

...

4 Commits

Author SHA1 Message Date
bd57b6bb08 Update
[ghstack-poisoned]
2025-11-11 18:59:04 +00:00
b0b7468b1a Update (base update)
[ghstack-poisoned]
2025-11-11 18:59:04 +00:00
7b3006dc33 Update
[ghstack-poisoned]
2025-10-04 00:52:39 +00:00
88ab60ecdd Update (base update)
[ghstack-poisoned]
2025-10-04 00:52:39 +00:00
2 changed files with 4 additions and 5 deletions

View File

@ -569,7 +569,7 @@ elif [[ "${TEST_CONFIG}" == *inductor* && "${TEST_CONFIG}" != *perf* ]]; then
fi
if [[ "${TEST_CONFIG}" == *dynamic* ]]; then
DYNAMO_BENCHMARK_FLAGS+=(--dynamic-shapes --dynamic-batch-only)
DYNAMO_BENCHMARK_FLAGS+=(--dynamic-shapes)
fi
if [[ "${TEST_CONFIG}" == *cpu* ]]; then
@ -707,8 +707,7 @@ test_perf_for_dashboard() {
fi
if [[ "$DASHBOARD_TAG" == *dynamic-true* ]]; then
$TASKSET python "benchmarks/dynamo/$suite.py" \
"${target_flag[@]}" --"$mode" --"$dtype" --backend "$backend" --dynamic-shapes \
--dynamic-batch-only "$@" \
"${target_flag[@]}" --"$mode" --"$dtype" --backend "$backend" --dynamic-shapes "$@" \
--output "$TEST_REPORTS_DIR/${backend}_dynamic_${suite}_${dtype}_${mode}_${device}_${target}.csv"
fi
if [[ "$DASHBOARD_TAG" == *cppwrapper-true* ]]; then
@ -966,7 +965,7 @@ test_inductor_torchbench_cpu_smoketest_perf(){
if [[ ${model_cfg[3]} == "dynamic" ]]; then
$TASKSET python benchmarks/dynamo/torchbench.py \
--inference --performance --"$data_type" -dcpu -n50 --only "$model_name" --dynamic-shapes \
--dynamic-batch-only --freezing --timeout 9000 --"$backend" --output "$output_name"
--freezing --timeout 9000 --"$backend" --output "$output_name"
else
$TASKSET python benchmarks/dynamo/torchbench.py \
--inference --performance --"$data_type" -dcpu -n50 --only "$model_name" \

View File

@ -105,7 +105,7 @@ def _run_torchbench_model(
)
dynamic = cmd_args.dynamic
dynamic_args = ["--dynamic-shapes", "--dynamic-batch-only"] if dynamic else []
dynamic_args = ["--dynamic-shapes"] if dynamic else []
args = (
[