Skip to content

Update portable op names to match functions.yaml #1049

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

Closed
wants to merge 1 commit into from

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented Oct 20, 2023

Summary:

  • selected_op.yaml; contains op_names collected from the model

  • dtype selective build; for each op_name, generate kernel code only if the dtype is used in the model

  • this diff: make sure op_names in op_.cpp file match the op name collected by selected_op.yaml. This is the op name from functions.yaml

Note: the op names are not used for anything besides selective build, so this change should not break anything.

Reviewed By: manuelcandales

Differential Revision: D50425923

@netlify
Copy link

netlify bot commented Oct 20, 2023

Deploy Preview for resplendent-gnome-14e531 canceled.

Name Link
🔨 Latest commit 6f4df08
🔍 Latest deploy log https://app.netlify.com/sites/resplendent-gnome-14e531/deploys/6532e61c2040290008014c12

@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 Oct 20, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

lucylq added a commit to lucylq/executorch-1 that referenced this pull request Oct 20, 2023
Summary:
Pull Request resolved: pytorch#1049

- selected_op.yaml; contains *op_names* collected from the model
- dtype selective build; for each *op_name*, generate kernel code only if the dtype is used in the model

- this diff: make sure op_names in op_<op>.cpp file match the op name collected by selected_op.yaml. This is the op name from [functions.yaml](https://fburl.com/code/uok7njmb)

Note: the op names are not used for anything besides selective build, so this change should not break anything.

Reviewed By: manuelcandales

Differential Revision: D50425923

fbshipit-source-id: 34e7966cc1ef19d98895d87ae82b1be6cbac2090
Summary:
Pull Request resolved: pytorch#1049

- selected_op.yaml; contains *op_names* collected from the model
- dtype selective build; for each *op_name*, generate kernel code only if the dtype is used in the model

- this diff: make sure op_names in op_<op>.cpp file match the op name collected by selected_op.yaml. This is the op name from [functions.yaml](https://fburl.com/code/uok7njmb)

Note: the op names are not used for anything besides selective build, so this change should not break anything.

Reviewed By: manuelcandales

Differential Revision: D50425923

fbshipit-source-id: 753a2795ba6224fa50310702905da6441aa69b1a
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8f446e3.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants