@@ -14,10 +14,10 @@ runtime.python_library(
14
14
"@EXECUTORCH_CLIENTS",
15
15
],
16
16
deps = [
17
+ "fbsource//third-party/pypi/coremltools:coremltools",
17
18
":executorchcoreml",
18
19
"//executorch/exir/backend:backend_details",
19
20
"//executorch/exir/backend:compile_spec_schema",
20
- "fbsource//third-party/pypi/coremltools:coremltools",
21
21
],
22
22
)
23
23
@@ -30,13 +30,13 @@ runtime.python_library(
30
30
"@EXECUTORCH_CLIENTS",
31
31
],
32
32
deps = [
33
+ "fbsource//third-party/pypi/coremltools:coremltools",
33
34
":backend",
34
35
"//caffe2:torch",
35
36
"//executorch/exir:lib",
36
37
"//executorch/exir/backend:compile_spec_schema",
37
38
"//executorch/exir/backend:partitioner",
38
39
"//executorch/exir/backend:utils",
39
- "fbsource//third-party/pypi/coremltools:coremltools",
40
40
],
41
41
)
42
42
@@ -64,25 +64,23 @@ runtime.cxx_python_extension(
64
64
headers = glob([
65
65
"runtime/inmemoryfs/**/*.hpp",
66
66
]),
67
+ base_module = "",
68
+ compiler_flags = [
69
+ "-std=c++17",
70
+ ],
67
71
preprocessor_flags = [
68
72
"-Iexecutorch/backends/apple/coreml/runtime/util",
69
73
],
70
74
types = [
71
75
"executorchcoreml.pyi",
72
76
],
73
- compiler_flags = [
74
- "-std=c++17",
75
- ],
76
- base_module = "",
77
77
visibility = [
78
78
"//executorch/examples/apple/coreml/...",
79
79
"@EXECUTORCH_CLIENTS",
80
80
],
81
- external_deps = [
82
- "pybind11",
83
- ],
84
81
deps = [
85
82
"fbsource//third-party/nlohmann-json:nlohmann-json",
83
+ "fbsource//third-party/pybind11:pybind11",
86
84
],
87
85
)
88
86
@@ -92,10 +90,10 @@ runtime.python_test(
92
90
"test/*.py",
93
91
]),
94
92
deps = [
93
+ "fbsource//third-party/pypi/pytest:pytest",
95
94
":partitioner",
96
95
":quantizer",
97
96
"//caffe2:torch",
98
97
"//pytorch/vision:torchvision",
99
- "fbsource//third-party/pypi/pytest:pytest",
100
98
],
101
99
)
0 commit comments