Skip to content

Commit

Permalink
u[date
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas authored and thomas committed Dec 1, 2023
1 parent 5ebed6a commit 238e8e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lightning/data/streaming/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ def _collect_distributed_state_dict(state_dict: Dict[str, Any], world_size: int)


def _should_replace_path(path: str) -> bool:
"""Whether the input path is a special path to be replaced."""
if path is None or path == "":
return True

Expand Down

0 comments on commit 238e8e1

Please sign in to comment.