Skip to content

Build optimized library with CMake #2530

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

GregoryComer
Copy link
Member

Support optimized kernel library in CMake builds.

Copy link

pytorch-bot bot commented Mar 20, 2024

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Unrelated Failure

As of commit 0925c2f with merge base 0b12daf (image):

NEW FAILURES - The following jobs have failed:

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

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@GregoryComer GregoryComer force-pushed the cmake-optimized-lib branch 3 times, most recently from c48f51b to 2cdaebd Compare March 20, 2024 11:31
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@GregoryComer GregoryComer force-pushed the cmake-optimized-lib branch 4 times, most recently from 0b752e8 to faff2e1 Compare March 21, 2024 12:36
@GregoryComer GregoryComer changed the title Building optimized library with CMake Build optimized library with CMake Mar 21, 2024
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 21, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.


Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

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

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.


Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

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

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary:
Support optimized kernel library in CMake builds. Note that I'm excluding gelu and log_softmax temporarily, as they require sleef. I will add support in a follow-up to build sleef and enable those two ops.

Test Plan: Built executor_runner with optimized_ops_lib and debug logging enabled. Confirmed that optimized kernels were loaded. Ran add example with optimized add kernel.

Differential Revision: D55118200

Pulled By: GregoryComer
@facebook-github-bot
Copy link
Contributor

@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@GregoryComer merged this pull request in 911e9a3.

facebook-github-bot pushed a commit to facebook/ocamlrep that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds.

Overriding pre-existing CI failures in llama runner and mac unit test.
bypass-github-export-checks
bypass-github-executorch-ci-checks

X-link: pytorch/executorch#2530

Reviewed By: kimishpatel

Differential Revision: D55118200

Pulled By: GregoryComer

fbshipit-source-id: b094980e9fc402e316a4d7cfb24ee3646a00d64e
facebook-github-bot pushed a commit to facebook/buck2 that referenced this pull request Mar 22, 2024
Summary:
Support optimized kernel library in CMake builds.

Overriding pre-existing CI failures in llama runner and mac unit test.
bypass-github-export-checks
bypass-github-executorch-ci-checks

X-link: pytorch/executorch#2530

Reviewed By: kimishpatel

Differential Revision: D55118200

Pulled By: GregoryComer

fbshipit-source-id: b094980e9fc402e316a4d7cfb24ee3646a00d64e
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