fix: fix bug

This commit is contained in:
wql 2024-11-29 17:12:09 +08:00
parent a0e9a9bf8c
commit 30e006ccac
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ bash ../npu_status.sh ${output_dir} 60 0 &
npu_status_pid=$!
# echo "${npu_status_pid}"
bash /usr/local/Ascend/llm_model/tests/modeltest/run.sh pa_fp16 performance_single [[256,256]] input.txt 1 "$(model_name)" "$(model_path)" "$(gpu_cnt)" &
bash /usr/local/Ascend/llm_model/tests/modeltest/run.sh pa_fp16 performance_single [[256,256]] input.txt 1 ${model_name} ${model_path} ${gpu_cnt} &
train_pid=$!
wait $train_pid
@ -77,5 +77,5 @@ if [ $train_status -ne 0 ]; then
output_dir="${output_dir}_fail"
fi
cp "/usr/local/Ascend/llm_model/tests/modeltest/outputs/results/NPU/performance_test/performance_single/fp16/$(result_folder_name)/performance_single_pa_batch1_tp$(gpu_cnt)_formatted_result.csv" $(output_dir)
cp "/usr/local/Ascend/llm_model/tests/modeltest/outputs/results/NPU/performance_test/performance_single/fp16/$(result_folder_name)/performance_single_pa_batch1_tp$(gpu_cnt)_result.csv" $(output_dir)
cp "/usr/local/Ascend/llm_model/tests/modeltest/outputs/results/NPU/performance_test/performance_single/fp16/${result_folder_name}/performance_single_pa_batch1_tp${gpu_cnt}_formatted_result.csv" ${output_dir}
cp "/usr/local/Ascend/llm_model/tests/modeltest/outputs/results/NPU/performance_test/performance_single/fp16/${result_folder_name}/performance_single_pa_batch1_tp${gpu_cnt}_result.csv" ${output_dir}