-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Adding custom testing based on opinfos input for ops with custom rules. #67500
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
[ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow For more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 2d6d3c1 (more details on the Dr. CI page): 💚 💚 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. |
…custom rules." [ghstack-poisoned]
…custom rules." [ghstack-poisoned]
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.
weight, bias = conv_in.args | ||
weight = weight.type(torch.long) | ||
|
||
with self.assertRaises(RuntimeError): |
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.
can have a test to assert that dtype_propagation doesn't dtype the output tensor in this case?
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.
Makes sense. I'll have to add a bit more logic to handle that.
(conv2d_fn, sample_inputs_conv2d), | ||
(adaptive_avg_pool2d_fn, sample_inputs_adaptive_avg_pool2d), | ||
): | ||
for dtype in (torch.int8, torch.float64): |
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.
how did you decide on these two types?
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.
Just seemed like two types that would be commonly used, and I wanted one int, and one float type
…custom rules." [ghstack-poisoned]
…custom rules." [ghstack-poisoned]
…custom rules." [ghstack-poisoned]< 8000 /pre>
…custom rules." [ghstack-poisoned]
@Gamrix has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…custom rules." Differential Revision: [D32175957](https://our.internmc.facebook.com/intern/diff/D32175957) [ghstack-poisoned]
@Gamrix has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…custom rules." Differential Revision: [D32175957](https://our.internmc.facebook.com/intern/diff/D32175957) [ghstack-poisoned]
@Gamrix has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This pull request has been reverted by b1ac7f5. To re-land this change, follow these steps. |
…custom rules." Differential Revision: [D32175957](https://our.internmc.facebook.com/intern/diff/D32175957) [ghstack-poisoned]
…custom rules." * #66898 [ghstack-poisoned]
@Gamrix has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Stack from ghstack:
Differential Revision: D32497547