Skip to content

Commit f9c0713

Browse files
Bump: release version 0.2.25 (#343)
* Bump: release version 0.2.25 * fix probable failing case --------- Co-authored-by: Deependu Jha <[email protected]>
1 parent e97fd61 commit f9c0713

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/litdata/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import time
1616

17-
__version__ = "0.2.24"
17+
__version__ = "0.2.25"
1818
__author__ = "Lightning AI et al."
1919
__author_email__ = "[email protected]"
2020
__license__ = "Apache-2.0"

src/litdata/streaming/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def save_checkpoint(self, checkpoint_dir: str = ".checkpoints") -> Optional[str]
511511
"""Save the current state of the writer to a checkpoint."""
512512
checkpoint_dir = os.path.join(self._cache_dir, checkpoint_dir)
513513
if not os.path.exists(checkpoint_dir):
514-
os.makedirs(checkpoint_dir)
514+
os.makedirs(checkpoint_dir, exist_ok=True)
515515

516516
if self._chunks_info == self.last_checkpoint_chunk_info:
517517
# to avoid saving the same checkpoint twice

0 commit comments

Comments
 (0)