Prune superseded model runtimes and the download cache; check free space before setup
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Start at the local model setup flow referenced by #66 and trace runtime installation, generation retention, download-cache handling, and the disk-usage boundary. Use owned filesystem and disk-usage fakes to cover successful installation, rollback retention, cache pruning, and insufficient-space errors; done means failed candidates remain cleaned up and no real downloads are needed.
Written by the indexing model from the issue text.
Description
Raised by the Code Lawyer audit of #66 (local model setup), and deferred to this issue by the maintainer.
Problem
- After a repair or reinstall, earlier runtime generations (several GB each) are never deleted, even though nothing references them.
model-runtimes/download-cacheis never pruned.- Setup doesn't check free disk space before it starts.
Failed candidate runtimes are already cleaned up correctly.
Proposal
- Keep the previous generation for rollback, and delete anything older once a new generation is verified.
- Prune the download cache after a successful install.
- Check free space before downloading, and refuse with a clear message (required vs. available) when there isn't enough.
Tests: owned fakes for the filesystem and disk-usage boundary. No real downloads.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flyingrobots/AI-TTS
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
flyingrobots/AI-TTS#225 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
flyingrobots/AI-TTS#8 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
flyingrobots/AI-TTS#7 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
flyingrobots/AI-TTS#166 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 38/100
flyingrobots/AI-TTS#165 ·
Maintainers usually reply within 1 day
All issues in flyingrobots/AI-TTS
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
future-agi/future-agi#6392 ·
Maintainers usually reply within 1 day
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day