Skip to content

Commit

Permalink
Bump: release version 0.2.25 (#343)
Browse files Browse the repository at this point in the history
* Bump: release version 0.2.25

* fix probable failing case

---------

Co-authored-by: Deependu Jha <[email protected]>
  • Loading branch information
bhimrazy and deependujha authored Aug 28, 2024
1 parent e97fd61 commit f9c0713
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit f9c0713

Please sign in to comment.