Skip to content

Conversation

@cccclai
Copy link
Contributor

@cccclai cccclai commented Feb 14, 2025

Summary: There are some edge lowering case missing. Change the logic to look for the op first because it's not decomposed

Differential Revision: D69636086

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 14, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8494

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 3a97268 with merge base 7964bca (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 14, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69636086

silu_node = src_partition.nodes[0]
with graph_module.graph.inserting_after(inputs[0]):
for node in graph.nodes:
if node.op == "call_function" and node.target in [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can use set here {.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh actually it's just one op and we can just compare...

Copy link
Collaborator

@haowhsu-quic haowhsu-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Feb 14, 2025
Summary:

There are some edge lowering case missing. Change the logic to look for the op first because it's not decomposed

Differential Revision: D69636086
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69636086

Copy link
Collaborator

@winskuo-quic winskuo-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.
Seems like there are lint issues.

Summary:

There are some edge lowering case missing. Change the logic to look for the op first because it's not decomposed

Reviewed By: billmguo

Differential Revision: D69636086
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69636086

@facebook-github-bot facebook-github-bot merged commit 9032d77 into pytorch:main Feb 14, 2025
47 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants