Lightning-AI / Lightning-AI/litgpt

Show a warning if there is no enough space to download weights

Open
#1,841 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
13.7k
Forks
1.5k
Avg merge
15h 37m
Merged PRs (30d)
1

Description

There should be a warning if a user is trying to download weights that are larger than the current free disk space.

If the code is running inside a Studio and there is no enough space - suggest switching to another machine with a bigger disk space.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Locate the code path that downloads model weights and inspect how the runtime identifies Studio environments; done means warning when free disk space is insufficient and suggesting a larger machine when running in Studio.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.