sd-webui-segment-anything
sd-webui-segment-anything copied to clipboard
[Bug]: Mac M2 issue:mlir module expected element type f32 but received si32
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
- add a black point
- 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
It seems that your error is similar to #16 but I do not have access to Mac. Would appreciate if anybody else could help.