Skip to content

Commit dd04e75

Browse files
committed
disable also log in logger connector (also calls metric)
1 parent db486dc commit dd04e75

File tree

1 file changed

+1
-0
lines changed
  • src/lightning/pytorch/trainer/connectors/logger_connector

1 file changed

+1
-0
lines changed

src/lightning/pytorch/trainer/connectors/logger_connector/result.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ def _extract_batch_size(self, value: _ResultMetric, batch_size: Optional[int], m
351351

352352
return batch_size
353353

354+
@torch.compiler.disable
354355
def log(
355356
self,
356357
fx: str,

0 commit comments

Comments
 (0)