-
Notifications
You must be signed in to change notification settings - Fork 812
Qualcomm arange #16833
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
base: main
Are you sure you want to change the base?
Qualcomm arange #16833
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16833
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 Unrelated FailureAs of commit dbf00c4 with merge base b928496 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
59b74e5 to
73bfc7d
Compare
This PR needs a
|
|
@haowhsu-quic @winskuo-quic @shewu-quic @DannyYuyang-quic any chance you know a good way to handle this patch? |
|
@JacobSzwejbka has imported this pull request. If you are a Meta employee, you can view this in D91345139. |
shewu-quic
left a comment
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.
Thanks for fixing it.
| start, end = node.args[0:2] | ||
| step = node.args[2] if len(node.args) > 2 else 1 | ||
| out_tensor = torch.arange(start, end, step) | ||
| dtype = node.kwargs.get("dtype") |
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 about use node.meta["val"].dtype? I think it will not be None.
| f"Output {i} mismatch: got {out}, expected {ref}", | ||
| ) | ||
|
|
||
| def test_arange_dtype_from_kwargs(self): |
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.
Could you reuse original unit test for arange op?
Such as add more dtype coverage.
| def test_qnn_backend_arange(self): |
| def test_qnn_backend_arange(self): |
No description provided.