@@ -14,10 +14,10 @@ runtime.python_library(
1414 "@EXECUTORCH_CLIENTS",
1515 ],
1616 deps = [
17+ "fbsource//third-party/pypi/coremltools:coremltools",
1718 ":executorchcoreml",
1819 "//executorch/exir/backend:backend_details",
1920 "//executorch/exir/backend:compile_spec_schema",
20- "fbsource//third-party/pypi/coremltools:coremltools",
2121 ],
2222)
2323
@@ -30,13 +30,13 @@ runtime.python_library(
3030 "@EXECUTORCH_CLIENTS",
3131 ],
3232 deps = [
33+ "fbsource//third-party/pypi/coremltools:coremltools",
3334 ":backend",
3435 "//caffe2:torch",
3536 "//executorch/exir:lib",
3637 "//executorch/exir/backend:compile_spec_schema",
3738 "//executorch/exir/backend:partitioner",
3839 "//executorch/exir/backend:utils",
39- "fbsource//third-party/pypi/coremltools:coremltools",
4040 ],
4141)
4242
@@ -64,25 +64,23 @@ runtime.cxx_python_extension(
6464 headers = glob([
6565 "runtime/inmemoryfs/**/*.hpp",
6666 ]),
67+ base_module = "",
68+ compiler_flags = [
69+ "-std=c++17",
70+ ],
6771 preprocessor_flags = [
6872 "-Iexecutorch/backends/apple/coreml/runtime/util",
6973 ],
7074 types = [
7175 "executorchcoreml.pyi",
7276 ],
73- compiler_flags = [
74- "-std=c++17",
75- ],
76- base_module = "",
7777 visibility = [
7878 "//executorch/examples/apple/coreml/...",
7979 "@EXECUTORCH_CLIENTS",
8080 ],
81- external_deps = [
82- "pybind11",
83- ],
8481 deps = [
8582 "fbsource//third-party/nlohmann-json:nlohmann-json",
83+ "fbsource//third-party/pybind11:pybind11",
8684 ],
8785)
8886
@@ -92,10 +90,10 @@ runtime.python_test(
9290 "test/*.py",
9391 ]),
9492 deps = [
93+ "fbsource//third-party/pypi/pytest:pytest",
9594 ":partitioner",
9695 ":quantizer",
9796 "//caffe2:torch",
9897 "//pytorch/vision:torchvision",
99- "fbsource//third-party/pypi/pytest:pytest",
10098 ],
10199)
0 commit comments