-
Notifications
You must be signed in to change notification settings - Fork 3.6k
summarize total size of model params in bytes #5590
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
Merged
SkafteNicki
merged 30 commits into
Lightning-AI:release/1.2-dev
from
kartik4949:model_size
Jan 25, 2021
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
af8c258
simplified model size calc
kartik4949 899b122
fix spaces
kartik4949 91f5964
fix newlines
kartik4949 2dfe164
minor refactor
kartik4949 e09160e
Update pytorch_lightning/core/memory.py
kartik4949 34b7352
make model size property
kartik4949 027c1a7
fix doctest
kartik4949 56a47c6
Update pytorch_lightning/core/memory.py
kartik4949 64fd7d4
remove explicit doctest from file
kartik4949 5fa17f1
better docs
kartik4949 fb5882d
model precalculate size 1.0 mbs
kartik4949 d48a2e8
better comment
kartik4949 747ca30
Update tests/core/test_memory.py
kartik4949 aae411d
Update tests/core/test_memory.py
kartik4949 eda6581
merge _model_size into model_size property itself
kartik4949 6ce79fe
minor comment fix
kartik4949 20758ed
Merge branch 'release/1.2-dev' into model_size
kartik4949 7084d25
add feature to changelog
kartik4949 66dccdb
Merge branch 'release/1.2-dev' into model_size
mergify[bot] 4a8902c
Merge branch 'release/1.2-dev' into model_size
mergify[bot] 8602baf
Merge branch 'release/1.2-dev' into model_size
mergify[bot] d112167
added precision test
kartik4949 f26e888
Added precision test
kartik4949 a117015
Small refactor
kartik4949 82c01b0
merge updates
kartik4949 8639bfc
isort
kartik4949 1ed41af
minor def name typo
kartik4949 214035c
remove monkeypath set env as boringmodel wont need any torch hub cache
kartik4949 e3db80c
Merge branch 'release/1.2-dev' into model_size
mergify[bot] e6dc2ba
Merge branch 'release/1.2-dev' into model_size
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.