sd-webui-segment-anything icon indicating copy to clipboard operation
sd-webui-segment-anything copied to clipboard

[Bug]: Mac M2 issue:mlir module expected element type f32 but received si32

Open TyroneZhang opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

Have you updated WebUI and this extension to the newest version?

  • [X] I have updated WebUI and this extension to the most up-to-date version

What happened?

/AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphExecutable.mm:1309: failed assertion `Incompatible element type for parameter at index 0, mlir module expected element type f32 but received si32'

Steps to reproduce the problem

  1. add a black point
  2. click “preview segmentation”

What should have happened?

none

Commit where the problem happens

webui: extension:

What browsers do you use to access the UI ?

No response

Command Line Arguments

none

Console logs

/AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphExecutable.mm:1309: failed assertion `Incompatible element type for parameter at index 0, mlir module expected element type f32 but received si32'

Additional information

No response

TyroneZhang avatar Apr 12 '23 13:04 TyroneZhang

It seems that your error is similar to #16 but I do not have access to Mac. Would appreciate if anybody else could help.

continue-revolution avatar Apr 12 '23 13:04 continue-revolution