Post
Replies
Boosts
Views
Activity
I have the same issue. I posted it on this StackOverflow Post
We’re reloading the same model, but Cormel is creating a new cache each time the model is loaded. We noticed this issue because one of our customers could no longer use the app due to their phone’s storage filling up. This is a high-priority issue for us, so thank you for your quick response. We hope you can help us find a solution—even a way to manually clear the cache would be very helpful.
I watched the WWDC 2023 video and understand that Core ML is supposed to create a cache and reuse it, but that’s not happening in this case. The doUnloadModel:options:qos:error warning seems to be a clear indicator of this issue.
This post explains the issue in more detail: App Storage Size Increases with CoreML or Metal Usage on iOS
I don't know enough to fix tflite's coreML implementation, but thanks for all the suggestions. my guess is that there is something that we need to update in coreml_executer.mm