-
Notifications
You must be signed in to change notification settings - Fork 527
Arm backend: Don't handle const placeholders in match_arg_ranks_pass #9134
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
This pass did previously handle constant placeholders directly by modifying the data in the state_dict, whereas call_functions are handled by inserting view ops. Since the introduction of the FuseConsantOpsPass however, ops acting on constant placeholders are computed AOT and fused into one single node. We can therefore now handle all nodes the same way here by inserting view nodes, removing the need for a special case in this pass. Change-Id: If282eea352205e1b0b10b9b747642fa0d6caa4b3
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9134
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Cancelled JobsAs of commit 0b965bb with merge base ddf0d9e ( NEW FAILURE - The following job has failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "topic: not user facing" |
@pytorchbot label ciflow/trunk |
Didn't find following labels among repository labels: partner:arm |
@pytorchbot label "partner: arm" |
@digantdesai, @kimishpatel can you please take a look? |
macos fails unrelated |
…ytorch#9134) This pass did previously handle constant placeholders directly by modifying the data in the state_dict, whereas call_functions are handled by inserting view ops. Since the introduction of the FuseConsantOpsPass however, ops acting on constant placeholders are computed AOT and fused into one single node. We can therefore now handle all nodes the same way here by inserting view nodes, removing the need for a special case in this pass. Signed-off-by: Martin Lindström <[email protected]>
This pass did previously handle constant placeholders directly by modifying the data in the state_dict, whereas call_functions are handled by inserting view ops. Since the introduction of the FuseConsantOpsPass however, ops acting on constant placeholders are computed AOT and fused into one single node.
We can therefore now handle all nodes the same way here by inserting view nodes, removing the need for a special case in this pass.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218