Crash opening MLModel on iPhone 12 (normal & pro)

Hi, I have a custom YOLOv4 MLModel and when i try to open it on iPhone 12 and iPhone 12 Pro i get a crash instant with this:

[espresso] [Espresso::handle_ex_plan] exception=Espresso exception: "Invalid blob shape": ANE does not support blob rank < 0 status=-7

It works fine on older devices, and I have no 13s iPhone to test on. I can't find more informations on this crash and I was wondering if someone has a clue to help me.

Thanks !

Hi, what is the OS version on your iPhone 12? Do you mind sharing a simple repro case along with the model?

Hi, theses crash were occuring on iOS 14.7 on the iPhone 12 and 14.8 on the iPhone 12 Pro. Now both of theses devices are on iOS 15.0.1 and the crash were occuring on 15 and 15.0.1

Unfortunately i can't share the model on public forums. Is there a way via private message ?

Crash opening MLModel on iPhone 12 (normal & pro)
 
 
Q