-
Notifications
You must be signed in to change notification settings - Fork 23k
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
[ONNX] Add linspace symbolic #58854
[ONNX] Add linspace symbolic #58854
Conversation
edited
- Adds support for linspace op
- Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html
- Enabled some arange unit tests which were disabled for opset 9
💊 CI failures summary and remediationsAs of commit 2a45070 (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: pytorch_linux_backward_compatibility_check_test (1/2)Step: "Run tests" (full log | diagnosis details | 🔁 rerun)
|
86b3584
to
ce3a454
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.
looks good overall, please rebase
ce3a454
to
365c150
Compare
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com>
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> [ghstack-poisoned]
* Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com> Differential Revision: [D29494911](https://our.internmc.facebook.com/intern/diff/D29494911) [ghstack-poisoned]
Summary: Pull Request resolved: #60246 * Adds support for linspace op * Modifies arange symbolic in opset 9 to replicate the same behavior in which dtype is determined (similar to opset 11) as in https://pytorch.org/docs/stable/generated/torch.arange.html * Enabled some arange unit tests which were disabled for opset 9 Test Plan: Imported from OSS Reviewed By: zou3519, ZolotukhinM Differential Revision: D29494911 Pulled By: SplitInfinity fbshipit-source-id: bddff18a90f8a78121c8ecdd1dafc15c69962d66 Co-authored-by: Shubham Bhokare <shubhambhokare@gmail.com>