Skip to content

Commit ee56978

Browse files
zonglinpengfacebook-github-bot
authored andcommitted
added empty out (#4757)
Summary: Pull Request resolved: #4757 ~ Differential Revision: D61407442
1 parent 7b795d7 commit ee56978

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

backends/cadence/aot/functions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
- arg_meta: null
5858
kernel_name: torch::executor::embedding_out
5959

60-
- op: expand_copy.out
60+
- op: empty.out
6161
kernels:
6262
- arg_meta: null
63-
kernel_name: torch::executor::expand_copy_out
63+
kernel_name: torch::executor::empty_out
6464

6565
- op: full.out
6666
kernels:

backends/cadence/reference/operators/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ set(_aten_ops__srcs
4848
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_sub.cpp"
4949
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_to_copy.cpp"
5050
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_where.cpp"
51-
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_expand_copy.cpp"
52-
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_gelu.cpp")
51+
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_empty.cpp")
5352
add_library(aten_ops_cadence ${_aten_ops__srcs})
5453
target_link_libraries(aten_ops_cadence PUBLIC executorch)
5554
target_link_libraries(aten_ops_cadence PRIVATE cadence_kernels)

0 commit comments

Comments
 (0)