ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

Symbol not found: (_$s10Accelerate6vImageO11PixelBufferV5widthSivg)

Open seboslaw opened this issue 2 years ago • 1 comments

When trying to run the example through SwiftCLI on an M1 Macbook I get a "Symbol not found" abort:

> swift run StableDiffusionSample "a photo of an astronaut riding a horse on mars" --resource-path ./Resources --seed 93 --output-path output
Building for debugging...
Build complete! (0.11s)
dyld[71007]: Symbol not found: (_$s10Accelerate6vImageO11PixelBufferV5widthSivg)
  Referenced from: '/Users/me/ml-stable-diffusion/.build/arm64-apple-macosx/debug/StableDiffusionSample'
  Expected in: '/usr/lib/swift/libswiftAccelerate.dylib'
[1]    71007 abort      swift run StableDiffusionSample  --resource-path ./Resources --seed 93  outpu

seboslaw avatar Dec 03 '22 21:12 seboslaw

Nevermind, I was trying to run it under MacOS 12.6 (Monterey), but the Package file defines macOS(.v13). So I'll try again after the update. Could someone confirm that Ventura is a requirement? If so it may help to put that in the README

seboslaw avatar Dec 03 '22 23:12 seboslaw