Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol not found: (_$s10Accelerate6vImageO11PixelBufferV5widthSivg) #24

Open
seboslaw opened this issue Dec 3, 2022 · 1 comment
Open

Comments

@seboslaw
Copy link

seboslaw commented Dec 3, 2022

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
Copy link
Author

seboslaw commented Dec 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant