Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backends/vulkan/test/custom_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ if(TARGET vulkan_backend)
add_operator_prototype(test_q8ta_qdq)
add_operator_prototype(test_q8ta_clone)
add_operator_prototype(test_q8ta_conv2d)
add_operator_prototype(test_q8ta_conv2d_pw)
add_operator_prototype(test_q8ta_conv2d_dw)
add_operator_prototype(q8ta_q8ta_q8to_add)
endif()
1 change: 1 addition & 0 deletions backends/vulkan/test/custom_ops/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@ def define_common_targets(is_fbcode = False):
define_custom_op_test_binary("test_q8ta_qdq")
define_custom_op_test_binary("test_q8ta_clone")
define_custom_op_test_binary("test_q8ta_conv2d")
define_custom_op_test_binary("test_q8ta_conv2d_pw")
define_custom_op_test_binary("test_q8ta_conv2d_dw")
define_custom_op_test_binary("q8ta_q8ta_q8to_add")
44 changes: 0 additions & 44 deletions backends/vulkan/test/custom_ops/test_q8ta_conv2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,35 +258,6 @@ static std::vector<TestCase> generate_quantized_conv2d_test_cases() {
}

std::vector<Conv2dConfig> configs = {
// Pointwise convolutions: kernel size 1x1
{OutInChannels(32, 3),
InputSize2D(64, 64),
KernelSize(1, 1),
Stride(1, 1),
Padding(0, 0),
Dilation(1, 1),
1},
{OutInChannels(64, 32),
InputSize2D(32, 32),
KernelSize(1, 1),
Stride(1, 1),
Padding(0, 0),
Dilation(1, 1),
1},
{OutInChannels(96, 64),
InputSize2D(16, 16),
KernelSize(1, 1),
Stride(1, 1),
Padding(0, 0),
Dilation(1, 1),
1},
{OutInChannels(13, 7),
InputSize2D(57, 33),
KernelSize(1, 1),
Stride(1, 1),
Padding(0, 0),
Dilation(1, 1),
1},
// General 2D convolutions
{OutInChannels(32, 3),
InputSize2D(64, 64),
Expand Down Expand Up @@ -352,21 +323,6 @@ static std::vector<TestCase> generate_quantized_conv2d_test_cases() {
Padding(2, 2),
Dilation(1, 1),
4},
// Performance cases (pointwise - will use im2col)
{OutInChannels(128, 128),
InputSize2D(128, 128),
KernelSize(1, 1),
Stride(1, 1),
Padding(0, 0),
Dilation(1, 1),
1},
{OutInChannels(128, 128),
InputSize2D(128, 128),
KernelSize(1, 1),
Stride(1, 1),
Padding(0, 0),
Dilation(1, 1),
1},
// Performance cases (3x3 convs - will use im2col)
{OutInChannels(32, 3),
InputSize2D(256, 256),
Expand Down
Loading
Loading