-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Fix] Move log value to cpu. #4592
Merged
Merged
Changes from 5 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
819f213
move value to cpu to save memory
tchaton 2386c0f
update
tchaton 477cd36
move to cpu
tchaton abbd672
try something
tchaton fc44142
update
tchaton e2fb444
Merge branch 'master' into bugfix/4556_gpu_memory_log
tchaton 858ea60
update
tchaton 30afb93
add back out_dict.update({k: v})
tchaton d9caa5d
add move_metrics_to_cpu
tchaton 3a6244b
Merge branch 'master' into bugfix/4556_gpu_memory_log
tchaton a57dcfe
update
tchaton f30bba2
Merge branch 'bugfix/4556_gpu_memory_log' of https://github.com/PyTor…
tchaton bcd7908
Merge branch 'master' into bugfix/4556_gpu_memory_log
tchaton eff18c2
Merge branch 'master' into bugfix/4556_gpu_memory_log
tchaton be4e0f3
Update pytorch_lightning/utilities/memory.py
tchaton d41273b
resolve comments
tchaton 873e9c0
Update pytorch_lightning/core/step_result.py
tchaton 5e80eb9
Update pytorch_lightning/trainer/connectors/logger_connector/logger_c…
tchaton 5be63ce
Merge branch 'master' into bugfix/4556_gpu_memory_log
SeanNaren 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 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 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 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 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.
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.
Shouldn't there also be a detach()?
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.
detach is called just before.