Skip to content
Open
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
61 changes: 0 additions & 61 deletions docs/source/3x/benchmark.md

This file was deleted.

60 changes: 0 additions & 60 deletions docs/source/benchmark.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/pytorch/cv/mixed_precision/run_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function run_benchmark {
${mode_cmd} \
${extra_cmd}
elif [[ ${mode} == "performance" ]]; then
incbench --num_c 4 main.py \
python main.py \
--pretrained \
--tuned_checkpoint ${tuned_checkpoint} \
-b ${batch_size} \
Expand Down
3 changes: 1 addition & 2 deletions examples/pytorch/cv/static_quant/run_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ function run_benchmark {
${extra_cmd} \
${mode_cmd}
elif [[ ${mode} == "performance" ]]; then
incbench --num_cores_per_instance 4 \
main.py \
python main.py \
--pretrained \
-a resnet18 \
-b ${batch_size} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function run_benchmark {
--batch_size ${batch_size} \
${extra_cmd} ${mode_cmd}
elif [[ ${mode} == "performance" ]]; then
incbench --num_cores_per_instance 4 run_clm_no_trainer.py \
python run_clm_no_trainer.py \
--model ${model_name_or_path} \
--approach ${approach} \
--batch_size ${batch_size} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function run_benchmark {
--batch_size ${batch_size} \
${extra_cmd} ${mode_cmd}
elif [[ ${mode} == "performance" ]]; then
incbench --num_cores_per_instance 4 run_clm_no_trainer.py \
python run_clm_no_trainer.py \
--model ${model_name_or_path} \
--batch_size ${batch_size} \
--output_dir ${tuned_checkpoint} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function init_params {
batch_size=16
tuned_checkpoint=saved_results
task=lambada_openai
incbench_cmd="incbench --num_cores_per_instance 4"
echo ${max_eval_samples}
for var in "$@"
do
Expand Down Expand Up @@ -107,7 +106,6 @@ function run_benchmark {
elif [ "${topology}" = "opt_125m_woq_autoround_int4_hpu" ]; then
model_name_or_path="facebook/opt-125m"
extra_cmd=$extra_cmd" --woq_algo AutoRound"
incbench_cmd="incbench --num_instances 1"
elif [ "${topology}" = "opt_125m_woq_autotune_int4" ]; then
model_name_or_path="facebook/opt-125m"
elif [ "${topology}" = "llama3_1_8b_gptq_int4_hf" ]; then
Expand All @@ -134,7 +132,7 @@ function run_benchmark {
--batch_size ${batch_size} \
${extra_cmd} ${mode_cmd}
elif [[ ${mode} == "performance" ]]; then
${incbench_cmd} run_clm_no_trainer.py \
python run_clm_no_trainer.py \
--model ${model_name_or_path} \
--batch_size ${batch_size} \
--output_dir ${tuned_checkpoint} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function run_tuning {
--save-model ${tuned_checkpoint} --test-freq=2048 --print-auc $ARGS \
--load-model=${input_model} --accuracy_only
elif [[ ${mode} == "performance" ]]; then
incbench --num_cores_per_instance 4 $MODEL_SCRIPT \
python $MODEL_SCRIPT \
--raw-data-file=${dataset_location}/day --processed-data-file=${dataset_location}/terabyte_processed.npz \
--data-set=terabyte --benchmark \
--memory-map --mlperf-bin-loader --round-targets=True --learning-rate=1.0 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function run_benchmark {
--batch_size ${batch_size} \
--benchmark
elif [[ ${mode} == "performance" ]]; then
incbench --num_c 4 main.py \
python main.py \
--input_model ${input_model} \
--dataset_location ${dataset_location} \
--mode ${mode} \
Expand Down
Loading
Loading