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
6 changes: 0 additions & 6 deletions backends/cadence/aot/ops_registrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,12 +747,6 @@ def register_fake(
"_cat_nop.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!)"
)

# Custom ops with cadence_nn_ops namespace
jarvis_nn_lib = Library("jarvis_nn_ops", "DEF")
jarvis_nn_lib.define(
"attention_mask.out(Tensor input, Tensor start, Tensor stop, *, Tensor(a!) out) -> Tensor(a!)"
)

# Custom ops in aten namespace. RMSNorm is usually decomposed, so having
# an out-variant is non-standard

Expand Down
4 changes: 2 additions & 2 deletions kernels/portable/cpu/util/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ def define_common_targets():
],
exported_deps = [
":broadcast_indexes_range",
"//executorch/runtime/core/exec_aten/util:tensor_util",
],
deps = [
":repeat_util",
"//executorch/runtime/kernel:kernel_includes",
"//executorch/runtime/core/exec_aten/util:tensor_shape_to_c_string",
"//executorch/runtime/core/exec_aten/util:tensor_util",
],
visibility = ["PUBLIC"],
)
Expand Down Expand Up @@ -424,10 +424,10 @@ def define_common_targets():
exported_headers = ["reduce_util.h"],
deps = [
"//executorch/runtime/kernel:kernel_includes{}".format(suffix),
"//executorch/runtime/core/exec_aten/util:tensor_util{}".format(suffix),
],
exported_deps = [
"//executorch/extension/threadpool:threadpool",
"//executorch/runtime/core/exec_aten/util:tensor_util{}".format(suffix),
],
exported_preprocessor_flags = ["-DUSE_ATEN_LIB"] if aten_mode else [],
visibility = ["PUBLIC"],
Expand Down
Loading