mlc-llm icon indicating copy to clipboard operation
mlc-llm copied to clipboard

Will this work on an iPhone 14 pro?

Open teoh opened this issue 1 year ago • 7 comments

I absolutely love the idea of this repo, and am very hopeful about its future. I loved it so much that I managed to get the download off testflight. However, every time i open the app, it crashes.

Your page says

Try out this TestFlight page (limited to the first 9000 users)

Is it because 9000 users installed it before me? Is that why it's crashing? Or do I have the wrong iPhone 14 pro?

teoh avatar May 01 '23 04:05 teoh

This is weird because I did test it with my iPhone 14 pro, and it seems to work. The only known reason so far about crashes are due to OOM, but iPhone 14 pro has 6GB RAM which is sufficient.

Would you mind sharing the info under "Settings -> General -> About -> Model Name"?

junrushao avatar May 01 '23 04:05 junrushao

Tagging along here, i tried with my iPhone 13 with testflight, it also crashes after showing the system initializing message.

mikelam14 avatar May 01 '23 16:05 mikelam14

@junrushao thanks for getting back to me! here is the info from the settings:

image

I thought it was a RAM issue as well, so I tried turning my phone off/on again, but that didn't do anything. I wonder if there is a way to see the RAM consumption on iOS and close things that contribute to that.

teoh avatar May 01 '23 16:05 teoh

Tagging along here, i tried with my iPhone 13 with testflight, it also crashes after showing the system initializing message.

iPhone 13 does not have enough RAM size (6GB needed, iPhone 13 only has 4GB).

yzh119 avatar May 01 '23 19:05 yzh119

also tried building app from source on 14 pro, but it crashed, and give the following error: libc++abi: terminating due to uncaught exception of type tvm::runtime::InternalError: [21:57:10] Check failed: uniform_sample <= data[0].first (0.380284 vs. nan)

birham-red-bd avatar May 04 '23 15:05 birham-red-bd

also tried building app from source on 14 pro, but it crashed, and give the following error: libc++abi: terminating due to uncaught exception of type tvm::runtime::InternalError: [21:57:10] Check failed: uniform_sample <= data[0].first (0.380284 vs. nan)

the same as your case, and my device is iPhone 14 pro max

sysuchenpc avatar May 05 '23 09:05 sysuchenpc

Hello @junrushao, do you have any thoughts about this mystery with the iPhone 14 pro?

teoh avatar May 10 '23 05:05 teoh

Looks like upgrading iOS to the latest should work

junrushao avatar Jun 05 '23 15:06 junrushao

@junrushao thank you for the update. Confirming that this works on my device.

...Oh my gosh, this is amazing.

teoh avatar Jun 05 '23 16:06 teoh