-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Clarify track_running_stats docs; Make SyncBatchNorm track_running_stats behavior consistent #44445
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
Conversation
| exponential_average_factor = self.momentum | ||
|
|
||
| need_sync = self.training or not self.track_running_stats | ||
| r""" |
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.
Any reason for using rstring instead of comments for the following two doc blocks?
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.
hmm not really. They were strings from _BatchNorm so I kept them this way when copying.
💊 CI failures summary and remediationsAs of commit 2f20f1d (more details on the Dr. CI page):
Extra GitHub checks: 1 failed
ci.pytorch.org: 1 failedcodecov.io: 1 failed
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 3 times. |
Codecov Report
@@ Coverage Diff @@
## master #44445 +/- ##
==========================================
- Coverage 67.99% 67.98% -0.01%
==========================================
Files 382 382
Lines 49385 49391 +6
==========================================
Hits 33579 33579
- Misses 15806 15812 +6
Continue to review full report at Codecov.
|
facebook-github-bot
left a comment
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.
@mrshenli has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
context: #38084
Fixes #{issue number}