Skip to content

Commit

Permalink
Update buck deps for new replace_scalar_with_tensor transforms
Browse files Browse the repository at this point in the history
Summary: #8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Differential Revision: D69883148
  • Loading branch information
dbort authored and facebook-github-bot committed Feb 19, 2025
1 parent fe7bd3f commit c187701
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions backends/arm/_passes/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python_library(
"//executorch/backends/arm:tosa_quant_utils",
"//executorch/backends/arm:tosa_utils",
"//executorch/backends/xnnpack/_passes:xnnpack_passes",
"//executorch/backends/transforms:replace_scalar_with_tensor",
"//executorch/exir:lib",
],
)
1 change: 1 addition & 0 deletions backends/cadence/aot/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ python_library(
"//executorch/backends/cadence/aot:pass_utils",
"//executorch/backends/cadence/aot:remove_ops",
"//executorch/backends/cadence/aot:utils",
"//executorch/backends/transforms:replace_scalar_with_tensor",
"//executorch/exir:pass_base",
"//executorch/exir/dialects:lib",
"//executorch/exir/dialects/edge:lib",
Expand Down
14 changes: 14 additions & 0 deletions backends/transforms/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,20 @@ def define_common_targets():
],
)

runtime.python_library(
name = "replace_scalar_with_tensor",
srcs = [
"replace_scalar_with_tensor.py",
],
visibility = [
"//executorch/backends/...",
],
deps = [
"//caffe2:torch",
"//executorch/exir:pass_base",
],
)

runtime.python_test(
name = "test_duplicate_dynamic_quant_chain",
srcs = [
Expand Down

0 comments on commit c187701

Please sign in to comment.