Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
natolambert committed Oct 24, 2024
1 parent 80b5cf1 commit 91a0b86
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/submit_eval_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def adjust_gpus(task_spec, experiment_group, model_name, gpu_multiplier):
# if num_gpus > 1, double it again for oe-eval configs
# open_instruct GPT adjustment wasn't quite enough
# adjusted here so the GPU configs in open-instruct eval are not impacted by the change
# tested reasonably extensively with 70B models.
# tested reasonably extensively with 70B
if num_gpus > 1:
num_gpus *= 2
oe_eval_cmd += f" --num_gpus {num_gpus}"
Expand Down Expand Up @@ -632,8 +632,9 @@ def adjust_gpus(task_spec, experiment_group, model_name, gpu_multiplier):
hf_dataset = args.upload_to_hf
# to match the way oe-eval script works.
# if we prepended hf- to the model name, remove it.
if model_name.startswith("hf-"):
model_name = model_name[3:]
# if model_name.startswith("hf-"):
# model_name = model_name[3:]
# Above is no longer the case, oe-eval includes hf- again
task_spec['arguments'] = [task_spec['arguments'][0] + f" --upload_to_hf {hf_dataset} --hf_upload_name results/{model_name}"]

d["tasks"] = [task_spec]
Expand Down

0 comments on commit 91a0b86

Please sign in to comment.