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: extension/benchmark/apple/Benchmark/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,15 @@ kernels_portable.xcframework
72
72
kernels_quantized.xcframework
73
73
```
74
74
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
+
75
84
## Adding Models and Resources
76
85
77
86
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