model_item=gpt3
model=gpt
fp_item=fp16
mp_degree=1
pp_degree=1
dp_degree=2
micro_batch_size=8
global_batch_size=16
run_mode=DP2-MP1-PP1
device_num=N1C2
max_iter=1000
use_sharding=false

# run
bash ./test_tipc/static/hybrid_parallelism/${model}/benchmark_common/prepare.sh
bash ./test_tipc/static/hybrid_parallelism/${model}/benchmark_common/run_benchmark.sh ${model_item} ${fp_item} ${mp_degree} ${pp_degree} ${dp_degree} ${micro_batch_size} ${global_batch_size} ${run_mode} ${device_num} ${max_iter} ${use_sharding} 2>&1;
