-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[2/N] Replace exceptions with static_assert(false) in some templates #130116
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/130116
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit a5ade25 with merge base d496145 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
8ffa906
to
06e3214
Compare
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.
What's the effect of && sizeof(Dtype)
?
A trick to let static_assert depend on specific template instantiations. |
@pytorchmergebot merge |
Merge failedReason: Approvers from one of the following sets are needed:
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: trunk / win-vs2019-cpu-py3 / test (default, 2, 3, windows.4xlarge.nonephemeral) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Follows #127371
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10