BeanDAO

Results 3 comments of BeanDAO

I solved this problem: int limit = bps * nch * toberead; if (limit > rawinbuf.capacity()) { rawinbuf.clear(); rawinbuf = ByteBuffer.allocate(limit); } rawinbuf.position(0); rawinbuf.limit(limit);

Great. I upgraded my iPhone 14 pro from 16.0.2 to 16.1.1. It can run without prompting memory errors。 ![run](https://user-images.githubusercontent.com/17896557/203465823-cf6fc9e6-834a-4328-92ca-e8dadd65f702.png) ![ipinfo](https://user-images.githubusercontent.com/17896557/203465839-0b4b7316-aa93-486a-9266-d7f342777bf1.png)

> @godly-devotion I created two other related issues to this. [Cannot create CoreML model with Flexible input shapes.](https://github.com/apple/ml-stable-diffusion/issues/70) and [SPLIT_EINSUM - Kernel Panic when testing UNET created with height 96...