Skip to content

Commit

Permalink
Update litgpt/scripts/download.py
Browse files Browse the repository at this point in the history
Thanks!

Co-authored-by: Andrei-Aksionov <58434077+Andrei-Aksionov@users.noreply.github.com>
  • Loading branch information
rasbt and Andrei-Aksionov authored Jan 9, 2025
1 parent 9f563d3 commit e89d972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litgpt/scripts/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def download_from_hub(
free_space_gb = free_space_bytes / (1024**3)

if weight_size_gb > free_space_gb:
if os.getenv("LIGHTNING_CLUSTER_ID") is not None:
if os.getenv("LIGHTNING_CLOUD_SPACE_ID") is not None:
studio_text = " Please switch to a larger Studio with more disk space."
else:
studio_text = ""
Expand Down

0 comments on commit e89d972

Please sign in to comment.