-
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
Fig logging with log_gpu_memory='min_max' #9013
Conversation
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## master #9013 +/- ##
=======================================
- Coverage 93% 89% -4%
=======================================
Files 175 175
Lines 14399 14381 -18
=======================================
- Hits 13339 12738 -601
- Misses 1060 1643 +583 |
I think we should consider reverting the changes in #8174 and exploring other options. See the open review comments in the PR. Additionally, calling Since it's quite possible that These comments are not strictly related to the changes you did here @SkafteNicki. Just commenting here because reverting it would make this patch unnecessary. |
@carmocca I agree, I don't think this logic needs to sit in the trainer this way. calling the lightning module's log from within the trainer, which under the hood actually calls back into the trainer is too hard to keep track of :(
The more places that rely on cc @edward-io |
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.
@carmocca @ananthsub while I agree #8174 was not optimal, it broke what is being fixed here so I think we should still go ahead with Nicki's fix. And we have the adjustments to the test as well.
I agree, we have to fix forward here. I filed #9032 to see how we can better formalize this |
for more information, see https://pre-commit.ci
What does this PR do?
Fixes #9010
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃