File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/lightning/pytorch/core Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ def log(
531531 logger = logger ,
532532 on_step = on_step ,
533533 on_epoch = on_epoch ,
534- reduce_fx = reduce_fx , # type: ignore[arg-type]
534+ reduce_fx = reduce_fx ,
535535 enable_graph = enable_graph ,
536536 add_dataloader_idx = add_dataloader_idx ,
537537 batch_size = batch_size ,
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ function show_batched_output {
4848 # heuristic: stop if there's mentions of errors. this can prevent false negatives when only some of the ranks fail
4949 if perl -nle ' print if /error|(?<!(?-i)on_)exception|traceback|(?<!(?-i)x)failed/i' standalone_test_output.txt | grep -qv -f testnames.txt; then
5050 echo " Potential error! Stopping."
51+ perl -nle ' print if /error|(?<!(?-i)on_)exception|traceback|(?<!(?-i)x)failed/i' standalone_test_output.txt
5152 rm standalone_test_output.txt
5253 exit 1
5354 fi
You can’t perform that action at this time.
0 commit comments