Skip to content

[MPS] Fix mps_executor_runner build when using cmake #1216

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

Conversation

DenisVieriu97
Copy link
Collaborator

Currently CMake is used to build the MPS runtime (mps_executor_runner). After the change from #1057, the bundled program schema is not generated automatically anymore part of schema/CMakeLists.txt, but instead it's part of sdk/CMakeLists.txt.
This change adds the bundled_program schema generation for the mps_executor_runner back as the MPS runtime relies on the bundled program feature to check against the eager results.

@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 Nov 15, 2023
Copy link

pytorch-bot bot commented Nov 15, 2023

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 8b79f3e with merge base cb2ff0f (image):

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.

@DenisVieriu97 DenisVieriu97 changed the title Fix mps_executor_runner build when using cmake [MPS] Fix mps_executor_runner build when using cmake Nov 15, 2023
@DenisVieriu97 DenisVieriu97 force-pushed the fix_bundled_program_mps_cmake branch from 1fda383 to 8b79f3e Compare November 30, 2023 18:15
@larryliu0820
Copy link
Contributor

@tarun292 has a PR fixing this exact issue #1216

@facebook-github-bot
Copy link
Contributor

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

@DenisVieriu97
Copy link
Collaborator Author

Closing - fixed by @tarun292 in #1271

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

Successfully merging this pull request may close these issues.

4 participants