stable-diffusion-api-server icon indicating copy to clipboard operation
stable-diffusion-api-server copied to clipboard

Crashing on M1 Max

Open varunkumar opened this issue 2 years ago • 3 comments

Facing the below issue on M1 Max. Should I try Method-2 from the README?

/AppleInternal/Library/BuildRoots/f0468ab4-4115-11ed-8edc-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:724: failed assertion `[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32' [1] 17756 abort python3 server.py /Users/varunkumar/opt/anaconda3/envs/sd-api-server/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

varunkumar avatar Nov 28 '22 14:11 varunkumar

Face the same issue with method-2 as well.

varunkumar avatar Nov 28 '22 14:11 varunkumar

Does it mean I didn't win the lottery tonight and need to try again later?

varunkumar avatar Nov 28 '22 15:11 varunkumar

@cantrell Have any suggestions on this?

varunkumar avatar Dec 25 '22 11:12 varunkumar