Skip to content

Commit

Permalink
debugging: removing parallelize....
Browse files Browse the repository at this point in the history
  • Loading branch information
proserve committed Dec 31, 2023
1 parent 05c9bdd commit 52cc09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def parse_arge():
def run_model(model_id_or_path, tasks, num_fewshot=0):
model_args = {
"pretrained": model_id_or_path, # required: taken from UI, no default value
"parallelize": True,
# "parallelize": True,
"trust_remote_code": True
}
model_args_str = make_model_args_str(model_args)
Expand All @@ -83,7 +83,7 @@ def run_peft(model_id_path, peft_model_id_or_path, tasks, num_fewshot=0):
model_args = {
"pretrained": model_id_path, # required: taken from UI, no default value
"peft": peft_model_id_or_path,
"parallelize": True,
# "parallelize": True,
"trust_remote_code": True
}
model_args_str = make_model_args_str(model_args)
Expand Down

0 comments on commit 52cc09a

Please sign in to comment.