Skip to content

Commit

Permalink
move csv_name
Browse files Browse the repository at this point in the history
  • Loading branch information
MeouSker77 committed Jun 5, 2024
1 parent 14b9e97 commit 5374ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/llm/dev/benchmark/all-in-one/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1823,12 +1823,12 @@ def run_pipeline_parallel_gpu(repo_id,
import pandas as pd
for api in conf.test_api:
global csv_name
csv_name = f'{current_dir}/{api}-results-{today}.csv'
if not OmegaConf.is_list(conf["batch_size"]):
batch_list = [conf["batch_size"]]
else:
batch_list = conf["batch_size"]
for batch_size in batch_list:
csv_name = f'{current_dir}/{api}-results-{today}.csv'
for model in conf.repo_id:
in_out_pairs = conf['in_out_pairs'].copy()
if excludes:
Expand Down

0 comments on commit 5374ba9

Please sign in to comment.