madebyollin / maple-diffusion

Stable Diffusion inference on iOS / macOS using MPSGraph
https://madebyoll.in/posts/maple_diffusion/
MIT License
793 stars 51 forks source link

Argument passed to call that takes no arguments #13

Closed bxshan closed 1 year ago

bxshan commented 1 year ago

encountered a build failed error at:

        let guidanceScaleData = [Float16(guidanceScale)].withUnsafeBufferPointer {Data(buffer: $0)}

any suggestions?

bxshan commented 1 year ago

looks like I choose a wrong 'destination' for Mac (Intel CPU).