Skip to content

Commit

Permalink
Move oss upload to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
anw90 committed Dec 13, 2024
1 parent edc3f54 commit a6f5cc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion benchmarks/accuracy/fastchat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ function install_fastchat {
git clone https://github.com/AlibabaPAI/FastChat_TorchAcc.git
fi

if python -c "import fschat" &>/dev/null; then
output=$(python -m pip list | grep fschat)
if [[ -n $output ]]; then
echo "All requirements are installed."
else
echo "Install requirements ..."
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/accuracy/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ function collect_and_show_results {

do_train
do_evaluation
upload_to_oss
collect_and_show_results
upload_to_oss

0 comments on commit a6f5cc2

Please sign in to comment.