Skip to content

Commit c570b6c

Browse files
authored
Declare dynamic quantization transform dependency in test harness (pytorch#22576)
The //executorch/backends/test/harness:tester target includes stages/quantize.py, which imports duplicate_dynamic_quant_chain, but did not declare its Buck dependency. Existing consumers supplied the dependency transitively, masking the omission. The new Cortex-M explicit-layout test exposed it during test collection. Declare the dependency on the harness target that owns the importing source. Test plan: git diff --check; GitHub and internal CI. AI-assisted: Codex.
1 parent 898795d commit c570b6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • backends/test/harness

‎backends/test/harness/BUCK‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ fbcode_target(_kind = runtime.python_library,
88
srcs = native.glob(["*.py", "stages/*.py"]),
99
visibility = ["PUBLIC"],
1010
deps = [
11+
"//executorch/backends/transforms:duplicate_dynamic_quant_chain",
1112
"//executorch/exir:graph_module",
1213
],
1314
)

0 commit comments

Comments
 (0)