Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[executorch] Let custom ops registration code only import ATen headers#107064

Closed
larryliu0820 wants to merge 1 commit into
pytorch:mainfrom
larryliu0820:export-D48282828
Closed

[executorch] Let custom ops registration code only import ATen headers#107064
larryliu0820 wants to merge 1 commit into
pytorch:mainfrom
larryliu0820:export-D48282828

Conversation

@larryliu0820

Copy link
Copy Markdown
Contributor

Summary: Basically we generate CustomOpsNativeFunctions.h for registering custom ops into PyTorch JIT runtime. This header needs to hookup with the C++ kernel implementation of all the custom ops. For this reason it should include ATen headers instead of Executorch headers. This PR changes it.

Test Plan: Rely on existing CI jobs

Differential Revision: D48282828

@pytorch-bot

pytorch-bot Bot commented Aug 11, 2023

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ 2 Unrelated Failures

As of commit dee2dea:

UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:

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

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Aug 11, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

1 similar comment
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

…rs (pytorch#107064)

Summary:
Pull Request resolved: pytorch#107064

Basically we generate `CustomOpsNativeFunctions.h` for registering custom ops into PyTorch JIT runtime. This header needs to hookup with the C++ kernel implementation of all the custom ops. For this reason it should include ATen headers instead of Executorch headers. This PR changes it.

Test Plan: Rely on existing CI jobs

Reviewed By: kirklandsign

Differential Revision: D48282828

fbshipit-source-id: 72302976f0375bc9560b83d1632703e07c614e3e
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

facebook-github-bot pushed a commit to pytorch/executorch that referenced this pull request Aug 13, 2023
Summary:
X-link: pytorch/pytorch#107064

Basically we generate `CustomOpsNativeFunctions.h` for registering custom ops into PyTorch JIT runtime. This header needs to hookup with the C++ kernel implementation of all the custom ops. For this reason it should include ATen headers instead of Executorch headers. This PR changes it.

Reviewed By: kirklandsign

Differential Revision: D48282828

fbshipit-source-id: cf4ed96a7fb899b85a71d7efbc3fcd6c5a38632d
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 13, 2023
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants