Skip to content

Commit

Permalink
react test evaluation config (#1861)
Browse files Browse the repository at this point in the history
* update

* update

* update
  • Loading branch information
zhulinJulia24 authored Jun 26, 2024
1 parent 378c6d3 commit 052f550
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 128 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/action_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def evaluate(models: List[str], datasets: List[str], workspace: str):

work_dir = os.path.join(workspace, target_model)
cmd_eval = [
f'python3 {opencompass_dir}/run.py {config_path_new} -w {work_dir} --max-num-workers 8' # noqa: E501
f'python3 {opencompass_dir}/run.py {config_path_new} -w {work_dir} --reuse --max-num-workers 8' # noqa: E501
]
eval_log = os.path.join(workspace, f'eval.{ori_model}.txt')
ret = run_cmd(cmd_eval, log_path=eval_log, cwd=lmdeploy_dir)
Expand Down
Loading

0 comments on commit 052f550

Please sign in to comment.