mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Fix] use eval field check (#441)
This commit is contained in:
parent
d6261e109d
commit
2bb7beeca3
2
run.py
2
run.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user