Skip to content

Commit d492d69

Browse files
committed
add warning about num_workers
1 parent 28adc86 commit d492d69

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

submission_runner.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,12 @@ def main(_):
637637
if FLAGS.framework == 'pytorch':
638638
pytorch_init(USE_PYTORCH_DDP, RANK, profiler)
639639

640+
# TODO: remove once issue resolved.
641+
if FLAGS.pytorch_eval_num_workers != 0:
642+
logging.warning(
643+
'WARNING: Setting pytorch_eval_num_workers != 0, will result '
644+
'in incorrect evals currently, see issues/732.')
645+
640646
workload_metadata = WORKLOADS[FLAGS.workload]
641647

642648
# Prevent OOM on librispeech conformer.

0 commit comments

Comments
 (0)