Skip to content

Commit

Permalink
added assert for pytorch model file
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpfeifer committed Dec 15, 2024
1 parent 6e6329e commit 1122880
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_download_model():
s = Path("checkpoints") / repo_id
assert f"Saving converted checkpoint to {str(s)}" in output
assert ("checkpoints" / REPO_ID).exists()
assert ("checkpoints" / REPO_ID / "pytorch_model.bin").exists()

# Also test valid but unsupported repo IDs
command = ["litgpt", "download", "CohereForAI/aya-23-8B"]
Expand Down

0 comments on commit 1122880

Please sign in to comment.