-
Notifications
You must be signed in to change notification settings - Fork 751
Enable constant methods in cadence export. #7948
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/7948
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit dccb218 with merge base e52b3fc ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D68637824 |
e2a8936 to
66220f7
Compare
Summary: Add option to specify constant methods in export. The constants show up as methods (similar to "forward") in the serialized .pte. Differential Revision: D68637824
|
This pull request was exported from Phabricator. Differential Revision: D68637824 |
backends/cadence/aot/compiler.py
Outdated
| import logging | ||
| from pathlib import Path | ||
| from typing import Callable, cast, Optional | ||
| from typing import Any, Callable, cast, Optional |
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.
Use object than Any
Summary: Add option to specify constant methods in export. The constants show up as methods (similar to "forward") in the serialized .pte. Reviewed By: zonglinpeng Differential Revision: D68637824
66220f7 to
b9c6488
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68637824 |
Summary: Add option to specify constant methods in export. The constants show up as methods (similar to "forward") in the serialized .pte. Reviewed By: zonglinpeng Differential Revision: D68637824
b9c6488 to
dccb218
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68637824 |
Differential Revision: D68637824 Pull Request resolved: #7948
Differential Revision: D68637824 Pull Request resolved: pytorch#7948
Summary: Add option to specify constant methods in export.
Differential Revision: D68637824