-
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
add rank warning #1428
add rank warning #1428
Conversation
now it is implemented only for model, but shall we doe rank warning also for callbacks? |
i think it needs to be a standalone package.
don't make it so we have to instantiate an instance... also instance doesn't make sense since we just need to call it from wherever. |
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.
see comments
Also, replace all the warnings across the project with this. |
but the rank is depending on the backend so you cannot use a global rank value... can you? |
Codecov Report
@@ Coverage Diff @@
## master #1428 +/- ##
=======================================
- Coverage 92% 92% -0%
=======================================
Files 63 66 +3
Lines 3404 3508 +104
=======================================
+ Hits 3123 3212 +89
- Misses 281 296 +15 |
but this has to have an extra parameter of the actual rank... |
warnings inside lightning are ALL rank specific. |
Hello @Borda! Thanks for updating this PR.
Comment last updated at 2020-04-09 17:26:48 UTC |
* add rank warning * changelog * use rank_zero_warn * user trainer_init * replace warnings * fix test * flake8 * docs * changelog * bug lol
What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃