Skip to content

Commit

Permalink
remove non-essential comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ninginthecloud committed Oct 26, 2021
1 parent 43057d3 commit aa78bb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pytorch_lightning/utilities/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ def get_len(dataloader: DataLoader) -> Union[int, float]:
"""

if has_len(dataloader):
# if has_len_all_ranks(dataloader):
return len(dataloader)

return float("inf")

0 comments on commit aa78bb5

Please sign in to comment.