You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backends/apple/coreml/README.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,18 @@ Core ML is an optimized framework for running machine learning models on Apple d
7
7
## Layout
8
8
-`compiler/` : Lowers a module to Core ML backend.
9
9
-`partition/`: Partitions a module fully or partially to Core ML backend.
10
-
-`quantizer/`: Quantizes a module in Core ML favored scheme
10
+
-`quantizer/`: Quantizes a module in Core ML favored scheme.
11
11
-`scripts/` : Scripts for installing dependencies and running tests.
12
12
-`runtime/`: Core ML delegate runtime implementation.
13
13
-`inmemoryfs`: InMemory filesystem implementation used to serialize/de-serialize AOT blob.
14
14
-`kvstore`: Persistent Key-Value store implementation.
15
15
-`delegate`: Runtime implementation.
16
16
-`include` : Public headers.
17
-
-`tests` : Tests for Core ML delegate.
18
-
-`workspace` : Xcode workspace for tests.
17
+
-`sdk` : SDK implementation.
18
+
-`tests` : Unit tests.
19
+
-`workspace` : Xcode workspace for the runtime.
19
20
-`third-party/`: External dependencies.
20
21
21
-
## Help & Improvements
22
-
If you have problems or questions or have suggestions for ways to make
23
-
implementation and testing better, please create an issue on [github](https://www.github.com/pytorch/executorch/issues).
24
-
25
22
## Partition and Delegation
26
23
27
24
To delegate a Program to the **Core ML** backend, the client must call `to_backend` with the **CoreMLPartitioner**.
@@ -122,6 +119,10 @@ The `converted_graph` is the quantized torch model, and can be delegated to **Co
122
119
123
120
## Runtime
124
121
125
-
To execute a **Core ML** delegated **Program**, the client must link to the `coremldelegate` library. Once linked there are no additional steps required, **ExecuTorch** when running the **Program** would call the **Core ML** runtime to execute the **Core ML** delegated part of the **Program**.
122
+
To execute a Core ML delegated program, the application must link to the `coremldelegate` library. Once linked there are no additional steps required, ExecuTorch when running the program would call the Core ML runtime to execute the Core ML delegated part of the program.
126
123
127
124
Please follow the instructions described in the [Core ML setup](/backends/apple/coreml/setup.md) to link the `coremldelegate` library.
125
+
126
+
## Help & Improvements
127
+
If you have problems or questions or have suggestions for ways to make
128
+
implementation and testing better, please create an issue on [github](https://www.github.com/pytorch/executorch/issues).
0 commit comments