-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Fix TORCH_CHECK macros when glog is used #83216
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
Makes TORCH_CHECK_* run unconditionally, leaving only TORCH_DCHECK_* special-cased to be optimized out in release builds.
🔗 Helpful links
✅ No Failures (0 Pending)As of commit d0970fa (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
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.
LGTM, thanks!
@pytorchbot merge |
@pytorchbot successfully started a merge job. Check the current status here. |
Hey @wconstab. |
Summary: Makes TORCH_CHECK_* run unconditionally, leaving only TORCH_DCHECK_* special-cased to be optimized out in release builds. Fixes a bug in #82032, relating to this comment #82032 (comment) Pull Request resolved: #83216 Approved by: https://github.com/ezyang, https://github.com/datumbox Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/abb2204f6a9c5af4e14e11cc69de8bcb5cceaea0 Reviewed By: seemethere Differential Revision: D38624296 Pulled By: wconstab fbshipit-source-id: 23f8db4b3cad7ba9d2105a33b0d40736326f7c4a
Makes TORCH_CHECK_* run unconditionally, leaving only TORCH_DCHECK_*
special-cased to be optimized out in release builds.
Fixes a bug in #82032, relating to this comment
#82032 (comment)