Skip to content

Commit 9c84503

Browse files
authored
download to local dir (#12)
1 parent e301e6e commit 9c84503

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

_requirements/test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ pytest >=6.0
33
pytest-cov
44
pytest-mock
55
mypy ==1.13.0
6+
7+
pytorch-lightning >=2.0

src/litmodels/cloud_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def upload_model(
7373

7474
def download_model(
7575
name: str,
76-
download_dir: Optional[str] = None,
76+
download_dir: str = ".",
7777
progress_bar: bool = True,
7878
) -> str:
7979
"""Download a checkpoint from the model store.

0 commit comments

Comments
 (0)