update Vulkan nn.module test to support not decomposition (#4054)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/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 bypass-github-export-checks bypass-github-pytorch-ci-checks bypass-github-executorch-ci-checks Reviewed By: jorgep31415 Differential Revision: D58907317 fbshipit-source-id: d54d25c7d7e84eeb1960324267b76dd6c44101dd
Y
Yujie Hui committed
f538eae73e68de46863edf132767edd6206269f9
Parent: 1ba8946
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 6/25/2024, 8:50:18 PM