-
Notifications
You must be signed in to change notification settings - Fork 690
Introduce preprocess custom ops #4548
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4548
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 598e34f with merge base 92edd04 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D60491675 |
This pull request was exported from Phabricator. Differential Revision: D60491675 |
67e886d
to
6b3c7e7
Compare
Summary: Pull Request resolved: pytorch#4548 For preprocess, we have two custom ops, pad and reshape. These are used to hide the implementation and any data dependent issues from export, allowing us to export the model. The model definition is in D60051533, though we're trying to upstream it to torchtune: meta-pytorch/torchtune#1242 This diff adds: - Python impl + tests - C++ function signatures + buck setup Differential Revision: D60491675
This pull request was exported from Phabricator. Differential Revision: D60491675 |
Summary: Pull Request resolved: pytorch#4548 For preprocess, we have two custom ops, pad and reshape. These are used to hide the implementation and any data dependent issues from export, allowing us to export the model. The model definition is in D60051533, though we're trying to upstream it to torchtune: meta-pytorch/torchtune#1242 This diff adds: - Python impl + tests - C++ function signatures + buck setup Differential Revision: D60491675
6b3c7e7
to
ef69514
Compare
This pull request was exported from Phabricator. Differential Revision: D60491675 |
ef69514
to
f722f21
Compare
Summary: Pull Request resolved: pytorch#4548 For preprocess, we have two custom ops, pad and reshape. These are used to hide the implementation and any data dependent issues from export, allowing us to export the model. The model definition is in D60051533, though we're trying to upstream it to torchtune: meta-pytorch/torchtune#1242 This diff adds: - Python impl + tests - C++ function signatures + buck setup for reshape. Differential Revision: D60491675
This pull request was exported from Phabricator. Differential Revision: D60491675 |
Summary: Pull Request resolved: pytorch#4548 For preprocess, we have two custom ops, pad and reshape. These are used to hide the implementation and any data dependent issues from export, allowing us to export the model. The model definition is in D60051533, though we're trying to upstream it to torchtune: meta-pytorch/torchtune#1242 This diff adds: - Python impl + tests - C++ function signatures + buck setup for reshape. Differential Revision: D60491675
f722f21
to
b6fdf55
Compare
Summary: Pull Request resolved: pytorch#4548 For preprocess, we have two custom ops, pad and reshape. These are used to hide the implementation and any data dependent issues from export, allowing us to export the model. The model definition is in D60051533, though we're trying to upstream it to torchtune: meta-pytorch/torchtune#1269 This diff adds: - Python impl + tests - C++ function signatures + buck setup for reshape using [EXECUTORCH_LIBRARY](https://pytorch.org/executorch/stable/kernel-library-custom-aten-kernel.html#custom-ops-c-api) Differential Revision: D60491675
This pull request was exported from Phabricator. Differential Revision: D60491675 |
b6fdf55
to
598e34f
Compare
Summary:
For preprocess, we have two custom ops, pad and reshape.
These are used to hide the implementation and any data dependent issues from export, allowing us to export the model.
The model definition is in D60051533, though we're trying to upstream it to torchtune: meta-pytorch/torchtune#1242
This diff adds:
Differential Revision: D60491675