Unverified Commit 2bb7beec authored by Leymore's avatar Leymore Committed by GitHub
Browse files

[Fix] use eval field check (#441)

parent d6261e10
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment