-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: display model storage size #7877
Open
keturn
wants to merge
11
commits into
invoke-ai:main
Choose a base branch
from
keturn:feat/show_model_size
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+215
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5ebccb3
to
b81e0f5
Compare
1075fbd
to
8cd6940
Compare
keturn
commented
Apr 4, 2025
invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelListItem.tsx
Outdated
Show resolved
Hide resolved
Okay, this technically works now. Do we want to disambiguate "size"? Call it "storage size" or "disk size" or something to distinguish from RAM size or pixel size? |
File Size? Model Size? I think it probably is clearest 🤔 |
3c00786
to
4ecc699
Compare
to disambiguate from RAM size or pixel size
29bac7d
to
5a31815
Compare
psychedelicious
approved these changes
Apr 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I made a couple small changes:
- Add and use the
filesize
library to handle formatting the file size. - Tweak the UI layout.
- Rebase on main.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api
backend
PRs that change backend files
frontend
PRs that change frontend files
frontend-deps
PRs that change frontend dependencies
python
PRs that change python files
python-tests
PRs that change python tests
services
PRs that change app services
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
How much disk space is each model taking up? Inquiring minds want to know.
Filesystem management tools could tell us this too, but if users go mucking around in the models filesystem and delete things there (outside of the app) then the database no longer reflects reality.
Related Issues / Discussions
https://discord.com/channels/1020123559063990373/1357425455816507452
QA Instructions
Merge Plan
There is a database migration!
Checklist
What's New
copy (if doing a release after this PR)