@@ -225,8 +225,7 @@ fbcode_target(_kind = runtime.python_library,
225225 ],
226226 typing = True ,
227227 deps = [
228- "fbcode//caffe2:torch" ,
229- "fbcode//executorch/exir:pass_base" ,
228+ "//executorch/backends/test:graph_builder" ,
230229 ],
231230)
232231
@@ -237,11 +236,7 @@ fbcode_target(_kind = runtime.python_library,
237236 ],
238237 typing = True ,
239238 deps = [
240- ":graph_builder" ,
241- "fbcode//caffe2:torch" ,
242- "fbcode//executorch/exir:lib" ,
243- "fbcode//executorch/exir:pass_base" ,
244- "fbcode//executorch/exir/verification:verifier" ,
239+ "//executorch/backends/test:program_builder" ,
245240 ],
246241)
247242
@@ -252,7 +247,7 @@ fbcode_target(_kind = python_unittest,
252247 ],
253248 typing = True ,
254249 deps = [
255- ":program_builder" ,
250+ "//executorch/backends/test :program_builder" ,
256251 "//caffe2:torch" ,
257252 "//later:lib" ,
258253 ],
@@ -396,7 +391,7 @@ fbcode_target(_kind = python_unittest,
396391 ":typing_stubs" ,
397392 ":type_dispatch" ,
398393 "//caffe2:torch" ,
399- "//executorch/backends/cadence/aot :graph_builder" ,
394+ "//executorch/backends/test :graph_builder" ,
400395 "//executorch/backends/cadence/aot:pass_utils" ,
401396 "//executorch/exir:pass_base" ,
402397 "//executorch/exir/dialects:lib" ,
@@ -436,7 +431,7 @@ fbcode_target(_kind = python_unittest,
436431 deps = [
437432 ":ops_registrations" ,
438433 "//caffe2:torch" ,
439- "//executorch/backends/cadence/aot :graph_builder" ,
434+ "//executorch/backends/test :graph_builder" ,
440435 "//executorch/backends/cadence/aot:pass_utils" ,
441436 "//executorch/exir:pass_base" ,
442437 "//executorch/exir/dialects:lib" ,
@@ -457,7 +452,7 @@ fbcode_target(_kind = python_unittest,
457452 ":replace_ops" ,
458453 "//caffe2:torch" ,
459454 "//executorch/backends/cadence/aot:compiler" ,
460- "//executorch/backends/cadence/aot :graph_builder" ,
455+ "//executorch/backends/test :graph_builder" ,
461456 "//executorch/backends/cadence/aot:pass_utils" ,
462457 "//executorch/exir:pass_base" ,
463458 "//executorch/exir/dialects:lib" ,
@@ -478,7 +473,7 @@ fbcode_target(_kind = python_unittest,
478473 "//caffe2:torch" ,
479474 ":typing_stubs" ,
480475 "//executorch/backends/cadence/aot:compiler" ,
481- "//executorch/backends/cadence/aot :graph_builder" ,
476+ "//executorch/backends/test :graph_builder" ,
482477 "//executorch/backends/cadence/aot:pass_utils" ,
483478 "//executorch/exir:pass_base" ,
484479 "//executorch/exir/dialects:lib" ,
@@ -499,7 +494,7 @@ fbcode_target(_kind = python_unittest,
499494 "//caffe2:torch" ,
500495 "//executorch/backends/cadence/aot:compiler" ,
501496 "//executorch/backends/cadence/aot:fuse_ops" ,
502- "//executorch/backends/cadence/aot :graph_builder" ,
497+ "//executorch/backends/test :graph_builder" ,
503498 "//executorch/backends/cadence/aot:ops_registrations" ,
504499 "//executorch/backends/cadence/aot:pass_utils" ,
505500 "//executorch/exir/dialects:lib" ,
@@ -520,7 +515,7 @@ fbcode_target(_kind = python_unittest,
520515 ":compiler" ,
521516 "//caffe2:torch" ,
522517 "//executorch/backends/cadence/aot:compiler" ,
523- "//executorch/backends/cadence/aot :graph_builder" ,
518+ "//executorch/backends/test :graph_builder" ,
524519 "//executorch/backends/cadence/aot:ops_registrations" ,
525520 "//executorch/backends/cadence/aot:pass_utils" ,
526521 "//executorch/backends/cadence/aot:remove_ops" ,
@@ -540,7 +535,7 @@ fbcode_target(_kind = python_unittest,
540535 ":typing_stubs" ,
541536 "//caffe2:torch" ,
542537 "//executorch/backends/cadence/aot:compiler" ,
543- "//executorch/backends/cadence/aot :graph_builder" ,
538+ "//executorch/backends/test :graph_builder" ,
544539 "//executorch/backends/cadence/aot:ops_registrations" ,
545540 "//executorch/backends/cadence/aot:pass_utils" ,
546541 "//executorch/backends/cadence/aot:simplify_ops" ,
@@ -560,7 +555,7 @@ fbcode_target(_kind = python_unittest,
560555 "//caffe2:torch" ,
561556 "//executorch/backends/cadence/aot:compiler" ,
562557 "//executorch/backends/cadence/aot:fuse_ops" ,
563- "//executorch/backends/cadence/aot :graph_builder" ,
558+ "//executorch/backends/test :graph_builder" ,
564559 "//executorch/backends/cadence/aot:ops_registrations" ,
565560 "//executorch/backends/cadence/aot:pass_utils" ,
566561 "//executorch/backends/cadence/aot:reorder_ops" ,
@@ -648,11 +643,11 @@ fbcode_target(_kind = python_unittest,
648643 ":typing_stubs" ,
649644 ":ops_registrations" ,
650645 ":pass_utils" ,
651- ":program_builder" ,
646+ "//executorch/backends/test :program_builder" ,
652647 "//caffe2:torch" ,
653648 "//executorch/exir:memory" ,
654649 "//executorch/exir/dialects:lib" ,
655- "//executorch/backends/cadence/aot :graph_builder" ,
650+ "//executorch/backends/test :graph_builder" ,
656651 "//executorch/exir/tests:models" ,
657652 ],
658653)
@@ -664,8 +659,7 @@ fbcode_target(_kind = python_unittest,
664659 ],
665660 typing = True ,
666661 deps = [
667- ":program_builder" ,
668- "//executorch/backends/cadence/aot:graph_builder" ,
662+ "//executorch/backends/test:graph_builder" ,
669663 "//executorch/backends/cadence/aot:ops_registrations" ,
670664 "//executorch/runtime:runtime" ,
671665 "//later:lib" ,
@@ -695,7 +689,7 @@ fbcode_target(_kind = python_unittest,
695689 deps = [
696690 "fbsource//third-party/pypi/parameterized:parameterized" ,
697691 "//caffe2:torch" ,
698- "//executorch/backends/cadence/aot :graph_builder" ,
692+ "//executorch/backends/test :graph_builder" ,
699693 "//executorch/backends/cadence/aot/quantizer:quantizer" ,
700694 "//executorch/exir:pass_base" ,
701695 "//pytorch/ao:torchao" ,
@@ -710,7 +704,7 @@ fbcode_target(_kind = python_unittest,
710704 typing = True ,
711705 deps = [
712706 ":ops_registrations" ,
713- ":program_builder" ,
707+ "//executorch/backends/test :program_builder" ,
714708 ":to_out_var_pass" ,
715709 "//caffe2:torch" ,
716710 "//executorch/exir:lib" ,
0 commit comments