chaiNNer icon indicating copy to clipboard operation
chaiNNer copied to clipboard

0.11.3 MacOs 11.6

Open dem10com opened this issue 2 years ago • 17 comments

It doesn't show up even though I downloaded the NCNN package . I reinstalled and restarted but the problem persists

Thank you again

Screen Shot 2022-08-21 at 12 50 58 Screen Shot 2022-08-21 at 12 53 24 .

dem10com avatar Aug 21 '22 09:08 dem10com

by the way i dont have m1. I use intel

dem10com avatar Aug 21 '22 10:08 dem10com

Can you send your logs? They should be somewhere in the application support folder for chaiNNer.

joeyballentine avatar Aug 21 '22 10:08 joeyballentine

The location for logs is ~/Library/Logs/chaiNNer/main.log on osx.

aft avatar Aug 21 '22 11:08 aft

here is my log file; i also test on my other mac ( 1080ti + macos 10.13.6, intel ). it didn't work either.

main.log

dem10com avatar Aug 21 '22 12:08 dem10com

[error] Backend: dlopen(/Users/demon/Library/Application Support/chaiNNer/python/python/lib/python3.9/site-packages/ncnn_vulkan/ncnn.cpython-39-darwin.so, 2): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib
  Referenced from: /Users/demon/Library/Application Support/chaiNNer/python/python/lib/python3.9/site-packages/ncnn_vulkan/ncnn.cpython-39-darwin.so
  Reason: image not found

I'm guessing this is the reason

joeyballentine avatar Aug 21 '22 13:08 joeyballentine

ok :) Do you have any suggestions?

dem10com avatar Aug 21 '22 14:08 dem10com

I am having the same issue - it says installed in dependency manager but in the UI it says that its not installed

ivg-design avatar Aug 21 '22 14:08 ivg-design

what is your config? ( cpu? os version ? )

dem10com avatar Aug 21 '22 14:08 dem10com

ok :) Do you have any suggestions?

I have no idea tbh. It's missing a library file it needs. Either that means there's something you need to install or there's something I need to add to the compile process.

joeyballentine avatar Aug 21 '22 14:08 joeyballentine

i just download and install python 3.9 from official site and nothing change. i also try on different computer ( high sierra 0.13.6, intel, nvidia 1080ti ) and same problem.i hope it works in the future

dem10com avatar Aug 21 '22 19:08 dem10com

No its not related to python. The ncnn package is compiled with dynamic linking, so if you are missing a library file it needs it isn't able to work.

joeyballentine avatar Aug 21 '22 22:08 joeyballentine

@dem10com are you in the chaiNNer discord and would you mind testing out the new NCNN .whl I compiled? I want to see if it resolves this issue

joeyballentine avatar Aug 23 '22 04:08 joeyballentine

I'm a member nowö but I'm out of town. I'll be happy to test it when I get back

dem10com avatar Aug 23 '22 06:08 dem10com

So I have tried the latest release and I can confirm that it is still not working - presenting the same issue - ScreenShot 2022-08-25 at 10 16@2x as you can see the log shows missing files...

ivg-design avatar Aug 25 '22 14:08 ivg-design

@woozygoozy this error is due to your computer missing vulkan. I'm not sure exactly how to resolve this but you could try installing MoltanVK through brew. If that doesn't work, then your MacBook might not support vulkan at all and therefore won't support ncnn.

joeyballentine avatar Aug 25 '22 14:08 joeyballentine

So i finally got it fixed, I downloaded vulkan SDK and then installed vulkan it via terminal using the bundled install_vulkan.py script

ivg-design avatar Aug 25 '22 14:08 ivg-design

Sweet

joeyballentine avatar Aug 25 '22 15:08 joeyballentine