Skip to content

Commit a5e31e2

Browse files
authored
Revert "Add the ops for groupwise lut quantization for embeding" (#2850)
This reverts commit df7bf37.
1 parent e7251df commit a5e31e2

File tree

6 files changed

+1
-394
lines changed

6 files changed

+1
-394
lines changed

torchao/experimental/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ if(TORCHAO_BUILD_ATEN_OPS)
134134
ops/linear_8bit_act_xbit_weight/op_linear_8bit_act_xbit_weight_aten.cpp
135135
ops/groupwise_lowbit_weight_lut/groupwise_lowbit_weight_lut.cpp
136136
ops/groupwise_lowbit_weight_lut/op_groupwise_lowbit_weight_lut_aten.cpp
137-
ops/embedding_lut/op_embedding_groupwise_lowbit_lut_aten.cpp
138137
)
139138
list(TRANSFORM _torchao_op_srcs_aten PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
140139

@@ -195,8 +194,7 @@ if(TORCHAO_BUILD_EXECUTORCH_OPS)
195194
ops/linear_8bit_act_xbit_weight/linear_8bit_act_xbit_weight.cpp
196195
ops/linear_8bit_act_xbit_weight/op_linear_8bit_act_xbit_weight_executorch.cpp
197196
ops/groupwise_lowbit_weight_lut/groupwise_lowbit_weight_lut.cpp
198-
ops/groupwise_lowbit_weight_lut/op_groupwise_lowbit_weight_lut_executorch.cpp
199-
ops/embedding_lut/op_embedding_groupwise_lowbit_lut_executorch.cpp)
197+
ops/groupwise_lowbit_weight_lut/op_groupwise_lowbit_weight_lut_executorch.cpp)
200198

201199
list(TRANSFORM _torchao_op_srcs_executorch PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
202200
add_library(torchao_ops_executorch STATIC ${_torchao_op_srcs_executorch})

torchao/experimental/ops/embedding_lut/op_embedding_groupwise_lowbit_lut-impl.h

Lines changed: 0 additions & 241 deletions
This file was deleted.

torchao/experimental/ops/embedding_lut/op_embedding_groupwise_lowbit_lut_aten.cpp

Lines changed: 0 additions & 71 deletions
This file was deleted.

torchao/experimental/ops/embedding_lut/op_embedding_groupwise_lowbit_lut_executorch.cpp

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)