File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
torchao/experimental/ops/tests Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -82,5 +82,25 @@ if (TORCHAO_BUILD_CPU_AARCH64)
82
82
endif ()
83
83
target_link_torchao_parallel_backend (test_linear_8bit_act_xbit_weight "${TORCHAO_PARALLEL_BACKEND} " )
84
84
85
+ add_executable (
86
+ test_groupwise_lowbit_weight_lut
87
+ test_groupwise_lowbit_weight_lut.cpp
88
+ ${TORCHAO_ROOT} /ops/groupwise_lowbit_weight_lut/groupwise_lowbit_weight_lut.cpp
89
+ )
90
+ target_link_libraries (
91
+ test_groupwise_lowbit_weight_lut
92
+ PRIVATE
93
+ GTest::gtest_main
94
+ )
95
+ if (TORCHAO_BUILD_CPU_AARCH64 )
96
+ target_link_libraries (
97
+ test_groupwise_lowbit_weight_lut
98
+ PRIVATE
99
+ torchao_kernels_aarch64
100
+ )
101
+ endif ()
102
+ target_link_torchao_parallel_backend (test_groupwise_lowbit_weight_lut "${TORCHAO_PARALLEL_BACKEND} " )
103
+
85
104
include (GoogleTest )
105
+ gtest_discover_tests (test_groupwise_lowbit_weight_lut )
86
106
gtest_discover_tests (test_linear_8bit_act_xbit_weight )
Original file line number Diff line number Diff line change 63
63
64
64
# Run
65
65
${CMAKE_OUT} /test_linear_8bit_act_xbit_weight
66
+ ${CMAKE_OUT} /test_groupwise_lowbit_weight_lut
You can’t perform that action at this time.
0 commit comments