Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump: release version 0.2.25 #343

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/litdata/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import time

__version__ = "0.2.24"
__version__ = "0.2.25"
__author__ = "Lightning AI et al."
__author_email__ = "[email protected]"
__license__ = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/litdata/streaming/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def save_checkpoint(self, checkpoint_dir: str = ".checkpoints") -> Optional[str]
"""Save the current state of the writer to a checkpoint."""
checkpoint_dir = os.path.join(self._cache_dir, checkpoint_dir)
if not os.path.exists(checkpoint_dir):
os.makedirs(checkpoint_dir)
os.makedirs(checkpoint_dir, exist_ok=True)

if self._chunks_info == self.last_checkpoint_chunk_info:
# to avoid saving the same checkpoint twice
Expand Down
Loading