PhotoMaker icon indicating copy to clipboard operation
PhotoMaker copied to clipboard

Apple M2 Max Error: product of dimension sizes > 2**31'

Open hc0405 opened this issue 1 year ago • 3 comments

/AppleInternal/Library/BuildRoots/c651a45f-806e-11ed-a221-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:705: failed assertion `[MPSTemporaryNDArray initWithDevice:descriptor:] Error: product of dimension sizes > 2**31' zsh: abort python gradio_demo/app.py (photomaker) henrychang@MacBook-Pro PhotoMaker % anaconda3/envs/photomaker/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown

hc0405 avatar Jan 19 '24 04:01 hc0405

@cckuailong @EdwardOwusuAdjei Hi, any suggestions?

Paper99 avatar Jan 19 '24 06:01 Paper99

Maybe the image you input is a bit big.

You can refer to this discussion:https://www.reddit.com/r/StableDiffusion/comments/110x9hd/automatic1111_webui_on_apple_m1_pro_help/

cckuailong avatar Jan 19 '24 09:01 cckuailong

It seems not to be the size of the image that is causing the problem, I encountered the issue directly when using 240x320 jpg .

hc0405 avatar Jan 22 '24 03:01 hc0405