You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ET-VK] Add optional blocklist and allowlist to vulkan partitioner to aid debugging (#13326)
Summary:
## Changes
* Add `operator_allowlist` and `operator_blocklist` optional arguments
to `VulkanPartitioner`
* `operator_blocklist` will prevent operators in the block list to be
lowered to Vulkan
* `operator_allowlist` will only allow operators in the allow list to be
lowered to Vulkan
* `operator_allowlist` takes precedence over `operator_blocklist`
## Context
When debugging models, it is useful to be able to prevent certain
operators from being lowered to Vulkan, or to only allow certain
operators from being lowered to Vulkan. This can help isolate which ops
are causing model output to be incorrect.
Test Plan:
## Test Plan
Tested this feature locally while debugging example models.
Co-authored-by: ssjia <[email protected]>
0 commit comments