Skip to content

Commit

Permalink
[Fix] use eval field check (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leymore authored Sep 27, 2023
1 parent d6261e1 commit 2bb7bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def main():
fill_eval_cfg(cfg, args)

if args.partition is not None:
if RUNNERS.get(cfg.infer.runner.type) == SlurmRunner:
if RUNNERS.get(cfg.eval.runner.type) == SlurmRunner:
cfg.eval.runner.partition = args.partition
cfg.eval.runner.quotatype = args.quotatype
else:
Expand Down

0 comments on commit 2bb7bee

Please sign in to comment.