-
Notifications
You must be signed in to change notification settings - Fork 616
Remove arg index from the get_arg and set_arg of a torch Node #12326
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12326
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit f6ae97d with merge base bdbad3f ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D77976838 |
This PR needs a
|
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
41677a9
to
a38d2e3
Compare
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
a38d2e3
to
ee5ca95
Compare
This pull request was exported from Phabricator. Differential Revision: D77976838 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D77976838 |
ee5ca95
to
d39cc39
Compare
Summary: Pull Request resolved: #12326 Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
d39cc39
to
2a179cd
Compare
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
2a179cd
to
22da5af
Compare
This pull request was exported from Phabricator. Differential Revision: D77976838 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D77976838 |
Summary: Pull Request resolved: #12326 Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
22da5af
to
d043880
Compare
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
d043880
to
2748ed1
Compare
Summary: Pull Request resolved: #12326 Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node. Reviewed By: abeakkas Differential Revision: D77976838
2748ed1
to
6a2909c
Compare
This pull request was exported from Phabricator. Differential Revision: D77976838 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D77976838 |
6a2909c
to
f6ae97d
Compare
Summary: Instead of using the arg index, rely on the normalized kwargs dictionary for a uniform view of a node's arguments. This diff cleans up the get_arg and set_arg api so that callers do not need to additionally keep track of arg indices. This simplifies the calling code and also prevents unnecessary code maintenance in case the op signature changes thereby changing the relative positioning of the args within a node.
Reviewed By: abeakkas
Differential Revision: D77976838