Skip to content

Commit f38f4b5

Browse files
committed
doc up
1 parent 34861a5 commit f38f4b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

extension/benchmark/apple/Benchmark/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ kernels_portable.xcframework
7272
kernels_quantized.xcframework
7373
```
7474

75+
#### MLState
76+
The prebuilt frameworks do not work with CoreML models that use MLState, which is used in LLM models exported for iOS18. When executing the *.pte file, you will see an error like:
77+
78+
```
79+
The input feature for X must be an MLState, but it was not.
80+
```
81+
82+
If you encounter this issue, build the frameworks locally (option 2) using **XCode 16.0** or higher.
83+
7584
## Adding Models and Resources
7685

7786
Place your exported model files (`.pte`) and any other resources (e.g., `tokenizer.bin`) into the `extension/benchmark/apple/Benchmark/Resources` directory:

0 commit comments

Comments
 (0)