Skip to content

Consolidate EXECUTORCH_BUILD_CUSTOM option #2935

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 2 commits into from
Closed

Conversation

larryliu0820
Copy link
Contributor

Summary:
Currently EXECUTORCH_BUILD_CUSTOM is not being respected properly.

If this option is false, we should not build llama2/custom_ops anywhere.

If this option is true, we should build llama2/custom_ops in both llama runner binary and pybind.

This PR consolidates it.

Differential Revision: D55907750

Copy link

pytorch-bot bot commented Apr 9, 2024

🔗 Helpful Links

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

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

❌ 3 New Failures, 2 Unrelated Failures

As of commit adc04ba with merge base 554cd27 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs 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 Apr 9, 2024
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit that referenced this pull request Apr 9, 2024
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly. 

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

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

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

larryliu0820 added a commit that referenced this pull request Apr 9, 2024
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly. 

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

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

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

larryliu0820 added a commit that referenced this pull request Apr 9, 2024
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly. 

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

Differential Revision: D55907750
facebook-github-bot pushed a commit that referenced this pull request Apr 9, 2024
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly. 

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

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

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

facebook-github-bot pushed a commit that referenced this pull request Apr 9, 2024
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly. 

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

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

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

facebook-github-bot pushed a commit that referenced this pull request Apr 10, 2024
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly.

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

Reviewed By: lucylq

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

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

Summary:

Fix the way we use `at::from_blob()` and add proper namespace to `CompileTimeFunctionPointer` so to not confused with `at::CompileTimeFunctionPointer`.

bypass-github-pytorch-ci-checks
bypass-export-ci-checks

Reviewed By: lucylq

Differential Revision: D55907751
Summary:

Currently `EXECUTORCH_BUILD_CUSTOM` is not being respected properly.

If this option is false, we should not build `llama2/custom_ops` anywhere.

If this option is true, we should build `llama2/custom_ops` in both llama runner binary and pybind.

This PR consolidates it.

bypass-github-pytorch-ci-checks
bypass-export-ci-checks

Reviewed By: lucylq

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d209e41.

@mergennachin mergennachin mentioned this pull request Apr 26, 2024
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.

3 participants