Post

Replies

Boosts

Views

Activity

Reply to CoreML Model Instantiation Crashes
Ok I'm able to reproduce on an iPhone XR running iOS 18.2, and I see some logs printed before the crash: Invalid layer: Tensor dimensions N1D1C1H1W43844 are not within supported range, N[1-4096]D[1-1]C[1-65536]H[1-16384]W[1-16384]. Invalid layer: Tensor dimensions N1D1C1H1W43844 are not within supported range, N[1-4096]D[1-1]C[1-65536]H[1-16384]W[1-16384]. Invalid layer: Tensor dimensions N1D1C1H1W21922 are not within supported range, N[1-4096]D[1-1]C[1-65536]H[1-16384]W[1-16384]. Invalid layer: Tensor dimensions N1D1C1H1W21922 are not within supported range, N[1-4096]D[1-1]C[1-65536]H[1-16384]W[1-16384]. Invalid layer: Invalid input tensor channel 1 and format size 2 bytes, must be aligned on 64 bytes Invalid layer: Invalid input tensor channel 1 and format size 2 bytes, must be aligned on 64 bytes Invalid layer: Invalid input tensor channel 1 and format size 2 bytes, must be aligned on 64 bytes Invalid layer: Invalid input tensor channel 1 and format size 2 bytes, must be aligned on 64 bytes The input shape of the model is 1x43844x1. Model loads fine on an iPhone 15 Pro. Does iPhone XR not support this input shape?
Jan ’25