Skip to content

Commit 49c7809

Browse files
authored
Merge branch 'master' into docs_profiler_linking
2 parents 862169b + 02f92a9 commit 49c7809

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ def _generate_sync_fn(self) -> None:
9191
"""Used to compute the syncing function and cache it."""
9292
fn = self.no_op if self.fn is None or not self.should or self.rank_zero_only else self.fn
9393
# save the function as `_fn` as the meta are being re-created and the object references need to match.
94-
# ignore typing, bad support for `partial`: mypy/issues/1484
95-
self._fn: Callable = partial(fn, reduce_op=self.op, group=self.group) # type: ignore[unused-ignore]
94+
self._fn: Callable = partial(fn, reduce_op=self.op, group=self.group)
9695

9796
@property
9897
def __call__(self) -> Any:

0 commit comments

Comments
 (0)