-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[PyTorch] Add unit test for c10::Synchronized<T> #74062
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
Since this class was added, it's missing a unit test. @dbort first noticed it, so adding one in this commit. Differential Revision: [D34800969](https://our.internmc.facebook.com/intern/diff/D34800969/) [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 4538391 (more details on the Dr. CI page):
🕵️ 2 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
| Job | Step | Action |
|---|---|---|
| Run clang-format | 🔁 rerun |
This comment was automatically generated by Dr. CI (expand for details).
Please report bugs/suggestions to the (internal) Dr. CI Users group.
Since this class was added, it's missing a unit test. dbort first noticed it, so adding one in this commit. Differential Revision: [D34800969](https://our.internmc.facebook.com/intern/diff/D34800969/) ghstack-source-id: 151080043 Pull Request resolved: #74062
dbort
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.
Thank you so much for adding this! Looks great.
Please take a look at the clang-tidy and clang-format warnings/errors on internal CI.
c10/test/util/Synchronized_test.cpp
Outdated
| #include "c10/util/Synchronized.h" | ||
| #include <c10/util/Synchronized.h> |
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.
Duplicate includes
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.
Thanks VSCode!
Since this class was added, it's missing a unit test. dbort first noticed it, so adding one in this commit. Differential Revision: [D34800969](https://our.internmc.facebook.com/intern/diff/D34800969/) [ghstack-poisoned]
Pull Request resolved: #74062 Since this class was added, it's missing a unit test. @dbort first noticed it, so adding one in this commit. ghstack-source-id: 151114689 Differential Revision: [D34800969](https://our.internmc.facebook.com/intern/diff/D34800969/)
Since this class was added, it's missing a unit test. dbort first noticed it, so adding one in this commit. Differential Revision: [D34800969](https://our.internmc.facebook.com/intern/diff/D34800969/) [ghstack-poisoned]
Pull Request resolved: #74062 Since this class was added, it's missing a unit test. @dbort first noticed it, so adding one in this commit. ghstack-source-id: 151122696 Differential Revision: [D34800969](https://our.internmc.facebook.com/intern/diff/D34800969/)
Summary: Pull Request resolved: #74062 Since this class was added, it's missing a unit test. dbort first noticed it, so adding one in this commit. ghstack-source-id: 151122696 Test Plan: `buck test //xplat/caffe2/c10:c10_test` Reviewed By: dbort Differential Revision: D34800969 fbshipit-source-id: e665ab0df2faf505536bf27bdf29fcd3e70fe699
|
Hey @dhruvbird. |
|
Why this change was landed when it clearly broke Windows builds and clang-format? |
|
This pull request has been reverted by 4adfe06. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk). |
|
This pull request has been reverted by 4adfe06. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk). |
Stack from ghstack (oldest at bottom):
Since this class was added, it's missing a unit test. @dbort first noticed it, so adding one in this commit.
Differential Revision: D34800969