Skip to content

Commit 1a7441f

Browse files
authored
Delete copy of quantized SDPA in torchao/experimental
Differential Revision: D81640227 Pull Request resolved: #13924
1 parent 79744f0 commit 1a7441f

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,9 +699,7 @@ if(EXECUTORCH_BUILD_KERNELS_TORCHAO)
699699
${EXECUTORCH_ROOT}/backends/xnnpack/third-party/pthreadpool/include
700700
${EXECUTORCH_ROOT}/backends/xnnpack/third-party/cpuinfo/include
701701
)
702-
add_subdirectory(
703-
${CMAKE_CURRENT_SOURCE_DIR}/third-party/ao/torchao/experimental
704-
)
702+
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/third-party/ao/torchao/csrc/cpu)
705703
unset(EXECUTORCH_INCLUDE_DIRS)
706704

707705
executorch_target_link_options_shared_lib(torchao_ops_executorch)

extension/llm/custom_ops/op_sdpa_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#endif
2525
#include <executorch/extension/kernel_util/make_boxed_from_unboxed_functor.h>
2626

27-
#include <torchao/experimental/kernels/cpu/interface/quantized_matmul.h>
27+
#include <torchao/csrc/cpu/torch_free_kernels/interface/quantized_matmul.h>
2828

2929
namespace torch {
3030
namespace executor {

extension/llm/custom_ops/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _get_quantized_sdpa_deps():
1414
if runtime.is_oss:
1515
return []
1616
else:
17-
return ["//pytorch/ao/torchao/experimental/kernels/cpu/interface:interface"]
17+
return ["//pytorch/ao/torchao/csrc/cpu/torch_free_kernels/interface:interface"]
1818

1919
def _get_quantized_preproc_flags():
2020
if runtime.is_oss:

third-party/ao

Submodule ao updated 215 files

0 commit comments

Comments
 (0)