-
Notifications
You must be signed in to change notification settings - Fork 741
Add aot_arm_compiler flag to allow the reordering of the inputs #7005
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
* Add capability to use cmd input order in the backend * Extend the test infrastructure to handle this
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7005
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit a863305 with merge base 43555d2 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label ciflow/trunk |
|
@pytorchbot label 'partner: arm' |
|
@pytorchbot label "topic: not user facing" |
| def vela_bin_pack_io(prefix, data, shape_order=None): | ||
| vela_input_shapes = data[prefix + "_shape"] | ||
|
|
||
| order = shape_order if shape_order else range(len(vela_input_shapes)) |
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.
nit: order = shape_order or range(len(vela_input_shapes)) would be more idiomatic
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.
Thank you for the review, and I agree.
I will fix this in another commit.
Thanks,
Saoirse
Summary
Adding a argument to aot_arm_compiler to allow for the ordering of the inputs.