-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cortex-M: annotate and preserve in-place activations #21819
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,6 +113,7 @@ config = EdgeCompileConfig( | |
| torch.ops.aten.hardsigmoid_.default, | ||
| torch.ops.aten.hardswish.default, | ||
| torch.ops.aten.hardswish_.default, | ||
| torch.ops.aten.silu.default, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I guess this answers my question about how to know. But still doesn't seem super scalable?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed. I forgot to tag you on #21826. It was actually worse than just these 2 places. |
||
| ], | ||
| _check_ir_validity=False, | ||
| _core_aten_ops_exception_list=[torch.ops.aten.max_pool2d.default], | ||
|
|
||
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.
Is there a longer term solution for this - how does the end user know that silu should be supplied here to get correct handling of silu?