-
Notifications
You must be signed in to change notification settings - Fork 607
Enable pybind with mps #8401
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
Enable pybind with mps #8401
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8401
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Cancelled Job, 3 PendingAs of commit 973ef95 with merge base 89dc36c ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D69497059 |
Summary: install executorch with mps ``` ./install_executorch.sh --pybind mps ``` test the mps .pte file can run with ``` executorch_module = _load_for_executorch(filename) out = executorch_module.forward(list(inputs)) print("output: ", out) ``` Reviewed By: shoumikhin Differential Revision: D69497059
82e2b86
to
973ef95
Compare
This pull request was exported from Phabricator. Differential Revision: D69497059 |
this made lintrunner red: https://github.com/pytorch/executorch/actions/runs/13294401189/job/37122688010 |
Oops there was a different lintrunner issue and I didn't realize this pr triggers a new one. Let me fix it. |
#8433 to fix |
#8401 causes lintrunner error and it complains main function too complex. This PR refactors the main function a bit to address the error
Summary:
install executorch with mps
test the mps .pte file can run with
Differential Revision: D69497059