-
Notifications
You must be signed in to change notification settings - Fork 741
Fix name of const tensors in const_prop_pass.py #7301
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/7301
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit c09bdb3 with merge base 3f7eb3b ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D66568874 |
3ed2228 to
6c8813e
Compare
Summary: After XNNPack delegation, for llama predictor, some const tensors in the exported program are eliminated, e.g., c__prop_tensor_constant32 in P1688172607. If we run constant_prop_pass after this point, the const tensor naming logic in the implementation is incorrect, and could create redefinition of const tensors (error in P1687944413). This diff fixes the naming logic of const tensors in the pass. Differential Revision: D66568874
|
This pull request was exported from Phabricator. Differential Revision: D66568874 |
6c8813e to
43afdd8
Compare
Summary: After XNNPack delegation, for llama predictor, some const tensors in the exported program are eliminated, e.g., c__prop_tensor_constant32 in P1688172607. If we run constant_prop_pass after this point, the const tensor naming logic in the implementation is incorrect, and could create redefinition of const tensors (error in P1687944413). This diff fixes the naming logic of const tensors in the pass. Differential Revision: D66568874
|
This pull request was exported from Phabricator. Differential Revision: D66568874 |
Summary: After XNNPack delegation, for llama predictor, some const tensors in the exported program are eliminated, e.g., c__prop_tensor_constant32 in P1688172607. If we run constant_prop_pass after this point, the const tensor naming logic in the implementation is incorrect, and could create redefinition of const tensors (error in P1687944413). This diff fixes the naming logic of const tensors in the pass. Differential Revision: D66568874
43afdd8 to
c09bdb3
Compare
|
This pull request was exported from Phabricator. Differential Revision: D66568874 |
Summary:
After XNNPack delegation, for llama predictor, some const tensors in the exported program are eliminated, e.g., c__prop_tensor_constant32 in P1688172607.
If we run constant_prop_pass after this point, the const tensor naming logic in the implementation is incorrect, and could create redefinition of const tensors (error in P1687944413).
This diff fixes the naming logic of const tensors in the pass.
Differential Revision: D66568874