chore: move code
This commit is contained in:
parent
bab7110cf2
commit
0365da13d2
|
@ -4,8 +4,6 @@
|
|||
|
||||
repeat_cnt=$1
|
||||
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh
|
||||
|
||||
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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# bash run_once.sh lora_sft Qwen-7B 8 50
|
||||
# bash run_once.sh lora_sft Qwen-7B 1 50
|
||||
# bash run_once.sh lora_sft 9g-8B 8 50
|
||||
# bash run_once.sh lora_sft 9g-8B 8 500
|
||||
# bash run_once.sh inference Qwen-7B 8 50
|
||||
run_type="$1"
|
||||
model="$2"
|
||||
|
@ -17,6 +17,8 @@ echo "max_steps: ${max_steps}"
|
|||
|
||||
current_datetime=$(date +%Y%m%d%H%M%S)
|
||||
|
||||
source /usr/local/Ascend/ascend-toolkit/set_env.sh
|
||||
|
||||
if [ "${run_type}"="lora_sft" ]; then
|
||||
run_name="${run_type}_${model}_${gpu_cnt}_gpu_${max_steps}_step_${current_datetime}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue