@@ -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" ,
@@ -647,11 +642,11 @@ fbcode_target(_kind = python_unittest,
647642 ":typing_stubs" ,
648643 ":ops_registrations" ,
649644 ":pass_utils" ,
650- ":program_builder" ,
645+ "//executorch/backends/test :program_builder" ,
651646 "//caffe2:torch" ,
652647 "//executorch/exir:memory" ,
653648 "//executorch/exir/dialects:lib" ,
654- "//executorch/backends/cadence/aot :graph_builder" ,
649+ "//executorch/backends/test :graph_builder" ,
655650 "//executorch/exir/tests:models" ,
656651 ],
657652)
@@ -663,8 +658,7 @@ fbcode_target(_kind = python_unittest,
663658 ],
664659 typing = True ,
665660 deps = [
666- ":program_builder" ,
667- "//executorch/backends/cadence/aot:graph_builder" ,
661+ "//executorch/backends/test:graph_builder" ,
668662 "//executorch/backends/cadence/aot:ops_registrations" ,
669663 "//executorch/runtime:runtime" ,
670664 "//later:lib" ,
@@ -694,7 +688,7 @@ fbcode_target(_kind = python_unittest,
694688 deps = [
695689 "fbsource//third-party/pypi/parameterized:parameterized" ,
696690 "//caffe2:torch" ,
697- "//executorch/backends/cadence/aot :graph_builder" ,
691+ "//executorch/backends/test :graph_builder" ,
698692 "//executorch/backends/cadence/aot/quantizer:quantizer" ,
699693 "//executorch/exir:pass_base" ,
700694 "//pytorch/ao:torchao" ,
@@ -709,7 +703,7 @@ fbcode_target(_kind = python_unittest,
709703 typing = True ,
710704 deps = [
711705 ":ops_registrations" ,
712- ":program_builder" ,
706+ "//executorch/backends/test :program_builder" ,
713707 ":to_out_var_pass" ,
714708 "//caffe2:torch" ,
715709 "//executorch/exir:lib" ,
0 commit comments