2024-09-19 14:03:17 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# bash batch_run.sh 3
|
|
|
|
|
|
|
|
repeat_cnt=$1
|
|
|
|
|
2024-09-19 15:33:20 +08:00
|
|
|
source /usr/local/Ascend/ascend-toolkit/set_env.sh
|
2024-09-19 15:25:12 +08:00
|
|
|
|
2024-09-19 14:03:17 +08:00
|
|
|
for ((i=0; i<repeat_cnt; i++)); do
|
|
|
|
bash run_once.sh lora_sft Qwen-7B 8 500
|
|
|
|
bash run_once.sh lora_sft Qwen-7B 8 1000
|
|
|
|
bash run_once.sh lora_sft Qwen-7B 1 500
|
|
|
|
bash run_once.sh lora_sft Qwen-7B 1 1000
|
|
|
|
bash run_once.sh lora_sft Baichuan2-7B 8 500
|
|
|
|
bash run_once.sh lora_sft Baichuan2-7B 8 1000
|
|
|
|
bash run_once.sh lora_sft Baichuan2-7B 1 500
|
|
|
|
bash run_once.sh lora_sft Baichuan2-7B 1 1000
|
|
|
|
|
|
|
|
bash run_once.sh inference Qwen-7B 8 500
|
|
|
|
bash run_once.sh inference Qwen-7B 8 1000
|
|
|
|
bash run_once.sh inference Qwen-7B 1 500
|
|
|
|
bash run_once.sh inference Qwen-7B 1 1000
|
|
|
|
bash run_once.sh inference Baichuan2-7B 8 500
|
|
|
|
bash run_once.sh inference Baichuan2-7B 8 1000
|
|
|
|
bash run_once.sh inference Baichuan2-7B 1 500
|
|
|
|
bash run_once.sh inference Baichuan2-7B 1 1000
|
2024-09-19 15:25:12 +08:00
|
|
|
|
2024-09-19 16:58:50 +08:00
|
|
|
# bash run_once.sh lora_sft chatglm2-6B 8 500
|
|
|
|
# bash run_once.sh lora_sft chatglm2-6B 8 1000
|
|
|
|
# bash run_once.sh lora_sft chatglm2-6B 1 500
|
|
|
|
# bash run_once.sh lora_sft chatglm2-6B 1 1000
|
|
|
|
# bash run_once.sh lora_sft llama-2-7b-ms 8 500
|
|
|
|
# bash run_once.sh lora_sft llama-2-7b-ms 8 1000
|
|
|
|
# bash run_once.sh lora_sft llama-2-7b-ms 1 500
|
|
|
|
# bash run_once.sh lora_sft llama-2-7b-ms 1 1000
|
|
|
|
|
|
|
|
# bash run_once.sh inference chatglm2-6B 8 500
|
|
|
|
# bash run_once.sh inference chatglm2-6B 8 1000
|
|
|
|
# bash run_once.sh inference chatglm2-6B 1 500
|
|
|
|
# bash run_once.sh inference chatglm2-6B 1 1000
|
|
|
|
# bash run_once.sh inference llama-2-7b-ms 8 500
|
|
|
|
# bash run_once.sh inference llama-2-7b-ms 8 1000
|
|
|
|
# bash run_once.sh inference llama-2-7b-ms 1 500
|
|
|
|
# bash run_once.sh inference llama-2-7b-ms 1 1000
|
2024-09-19 15:25:12 +08:00
|
|
|
|
2024-09-19 14:03:17 +08:00
|
|
|
done
|