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
OpInfos for torch.atleast_{1d, 2d, 3d} #67355
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 fa70996 (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. |
[ghstack-poisoned]
[ghstack-poisoned]
ghstack-source-id: 2fc773fc8033b68f9d89c9b17a29dfffaf3560d2 Pull Request resolved: #67355
input_list.append(make_tensor_partial(shape)) | ||
samples = [ | ||
SampleInput(input_list, ), | ||
SampleInput(torch.tensor(0, dtype=dtype, device=device, requires_grad=requires_grad),), |
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.
Adding more individual tensors might be easy and provide more coverage:
samples = []
input_list = []
for shape in shapes:
input_list.append(make_tensor_partial(shape))
samples.append(SampleInput(make_tensor_partial(shape)))
samples.append(SampleInput(input_list))
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.
yeah I was just wondering if it's actually necessary, but sure
@pytorchbot ciflow rerun -l ciflow/all -l ciflow/slow-gradcheck |
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.
Cool!
Made a small tweak suggestion. Otherwise this looks great as long as the tests pass. I added the labels for extra testing.
Ug, the test failures look real and this needs those fx skips (although @Chillee is working on unifying those skips with the typical OpInfo skips now...) |
[ghstack-poisoned]
Looks like the functorch test will need to be skipped. How to skip that test depends, I think, on whether this goes in before or after #67520. |
ping @anjali411 -- I think this just needs a tweak to the skips and it's good to go |
[ghstack-poisoned]
@anjali411 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Differential Revision: [D32649416](https://our.internmc.facebook.com/intern/diff/D32649416) [ghstack-poisoned]
@anjali411 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@anjali411 merged this pull request in c7d5e0f. |
Summary: Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D32649416 Pulled By: anjali411 fbshipit-source-id: 1b42e86c7124427880fff52fbe490481059da967 [ghstack-poisoned]
Stack from ghstack:
Differential Revision: D32649416