Skip to content

[CMake] llm_runner use executorch_core #10698

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

Merged
merged 26 commits into from
May 7, 2025
Merged

Conversation

kirklandsign
Copy link
Contributor

@kirklandsign kirklandsign commented May 5, 2025

Summary

We only need executorch_core. We don't need prim ops for runner library. runner.exe can add prim_ops separately

Change:

set(_extension_llm_runner__srcs
-    extension/tensor/tensor_ptr.cpp
-    extension/tensor/tensor_ptr_maker.cpp
)```

### Test plan
CI

cc @larryliu0820 @jathu

Copy link

pytorch-bot bot commented May 5, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit ec6ec3c with merge base 1984c5f (image):

NEW FAILURE - The following job has failed:

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 May 5, 2025
@kirklandsign kirklandsign requested a review from shoumikhin as a code owner May 5, 2025 23:52
@kirklandsign kirklandsign added ciflow/trunk ciflow/binaries module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. labels May 5, 2025
@facebook-github-bot
Copy link
Contributor

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

Currently, _extension_module__srcs has srcs from flat_tensor. This is
bad.

```
set(_extension_module__srcs
    extension/flat_tensor/flat_tensor_data_map.cpp
    extension/flat_tensor/serialize/flat_tensor_header.cpp
    extension/module/module.cpp
)
```

We need to update deps. We need to export extension_flat_tensor to
install directory.
@kirklandsign kirklandsign changed the base branch from main to module-avoid-dupe-cpp May 7, 2025 03:48
@kirklandsign kirklandsign changed the title [CMake] Update extension/ deps executorch -> executorch_core [CMake] llm_runner use executorch_core May 7, 2025
@kirklandsign kirklandsign changed the base branch from module-avoid-dupe-cpp to main May 7, 2025 04:33
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit 6932baf into main May 7, 2025
278 of 279 checks passed
@facebook-github-bot facebook-github-bot deleted the use-executorch-core branch May 7, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/binaries ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants