Skip to content

Commit 8dc1b78

Browse files
author
ssjia
committed
Update on "[ET-VK][AOT] Enable exporting Q8 Quantized Linear + Convolution"
As title. Introduce fusion patterns to enable fusing quantized convolution and linear graph patterns into a custom op. ## Changes Introduce the concept of using custom pattern detection functions to detect graph patterns rather than solely relying on SubgraphMatcher. The issue with SubgraphMatcher is that a large number of graph patterns may need to be exported to obtain variants for different combinations of decompositions/quantization workflows. Having a custom detection function improves maintainability. Implement detection + replacement functions for quantized linear and quantized conv2d. Differential Revision: [D81323425](https://our.internmc.facebook.com/intern/diff/D81323425/) [ghstack-poisoned]
2 parents a9df5ea + f8966ac commit 8dc1b78

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

backends/vulkan/test/custom_ops/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ if(TARGET vulkan_backend)
4242
set(VOLK_PATH ${VULKAN_THIRD_PARTY_PATH}/volk)
4343
set(VMA_PATH ${VULKAN_THIRD_PARTY_PATH}/VulkanMemoryAllocator)
4444

45-
set(COMMON_INCLUDES
46-
$<BUILD_INTERFACE:${EXECUTORCH_ROOT}/..>
47-
$<BUILD_INTERFACE:${VULKAN_HEADERS_PATH}/include>
48-
$<BUILD_INTERFACE:${VOLK_PATH}> $<BUILD_INTERFACE:${VMA_PATH}>
45+
set(COMMON_INCLUDES ${EXECUTORCH_ROOT}/.. ${VULKAN_HEADERS_PATH} ${VOLK_PATH}
46+
${VMA_PATH}
4947
)
5048

5149
# Prototyping utility files

0 commit comments

Comments
 (0)