-
Notifications
You must be signed in to change notification settings - Fork 607
update Vulkan nn.module test to support not decomposition #4054
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/4054
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 96f6e99 with merge base 1ba8946 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
This pull request was exported from Phabricator. Differential Revision: D58907317 |
This pull request was exported from Phabricator. Differential Revision: D58907317 |
ba502a5
to
42a50f6
Compare
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Add a test option in `lower_module_and_test_output`. By default, it will call normal APIs, with `not_decompose` enabled, it will call `_to_edge_transform_and_lower()` instead. Differential Revision: D58907317
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Add a test option in `lower_module_and_test_output`. By default, it will call normal APIs, with `not_decompose` enabled, it will call `_to_edge_transform_and_lower()` instead. Differential Revision: D58907317
This pull request was exported from Phabricator. Differential Revision: D58907317 |
42a50f6
to
f5abda2
Compare
This pull request was exported from Phabricator. Differential Revision: D58907317 |
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Add a test option in `lower_module_and_test_output`. By default, it will call normal APIs, with `not_decompose` enabled, it will call `_to_edge_transform_and_lower()` instead. Reviewed By: jorgep31415 Differential Revision: D58907317
f5abda2
to
0c3b6bc
Compare
This pull request was exported from Phabricator. Differential Revision: D58907317 |
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Add a test option in `lower_module_and_test_output`. By default, it will call normal APIs, with `not_decompose` enabled, it will call `_to_edge_transform_and_lower()` instead. Reviewed By: jorgep31415 Differential Revision: D58907317
0c3b6bc
to
d4f65c9
Compare
This pull request was exported from Phabricator. Differential Revision: D58907317 |
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Add a test option in `lower_module_and_test_output`. By default, it will call normal APIs, with `not_decompose` enabled, it will call `_to_edge_transform_and_lower()` instead. Reviewed By: jorgep31415 Differential Revision: D58907317
d4f65c9
to
6457f7a
Compare
This pull request was exported from Phabricator. Differential Revision: D58907317 |
6457f7a
to
ecb9445
Compare
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Reviewed By: jorgep31415 Differential Revision: D58907317
Summary: Pull Request resolved: pytorch#4054 In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use `_to_edge_transform_and_lower()` by passing the Vulkan partitioner. If we use this API, we don't use the combination of `to_edge()` and `to_backend()`. https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862 Reviewed By: jorgep31415 Differential Revision: D58907317
This pull request was exported from Phabricator. Differential Revision: D58907317 |
ecb9445
to
96f6e99
Compare
This pull request has been merged in f538eae. |
Summary:
In order to test the operators that are disabled to decompose, we need different APIs from excutorch to compile the model. We need to use
_to_edge_transform_and_lower()
by passing the Vulkan partitioner. If we use this API, we don't use the combination ofto_edge()
andto_backend()
.https://www.internalfb.com/code/fbsource/[1176a06a4b48]/xplat/executorch/exir/program/_program.py?lines=862
Add a test option in
lower_module_and_test_output
. By default, it will call normal APIs, withnot_decompose
enabled, it will call_to_edge_transform_and_lower()
instead.Differential Revision: D58907317