Closed jola5 closed 1 year ago
Some more digging from my side:
> la /opt/stable-diffusion-ui-linux/stable-diffusion-ui/stable-diffusion/env/lib/python3.8/site-packages/torch/lib/../../../../lib
mkl_core.so
lrwxrwxrwx 1 ho ho 16 Nov 17 12:54 /opt/stable-diffusion-ui-linux/stable-diffusion-ui/stable-diffusion/env/lib/python3.8/site-packages/torch/lib/../../../../libmkl_core.so -> libmkl_core.so.1*
> file ./stable-diffusion/env/lib/libmkl_core.so.1
./stable-diffusion/env/lib/libmkl_core.so.1: data
> hexdump ./stable-diffusion/env/lib/libmkl_core.so.1
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
474b460 0000 0000 0000 0000
474b468
But further than this, I don't have any clue how to proceed with debugging.
I have no clue how to work with shared object files and how to debug issues with them. But the following commands should provide some meaningful output. But in this case they don't:
> objdump -T ./stable-diffusion/env/lib/libmkl_core.so.1
objdump: ./stable-diffusion/env/lib/libmkl_core.so.1: file format not recognized
> ldd ./stable-diffusion/env/lib/libmkl_core.so.1
not a dynamic executable
Could the download be corrupt? Normally I would check this, but I didn't find any hashes for the artifacts to do so.
Some more digging leads to https://github.com/Ben-Louis/Deep-Image-Analogy-PyTorch/issues/8 and https://github.com/ContinuumIO/anaconda-issues/issues/698#issuecomment-219004477 with the same/similar issue.
Both suggesting manually installing conda install -c anaconda mkl
. That didn't work in my case though.
If this is still relevant, please try the latest version. A lot has improved since then. Feel free to reopen if it's still a problem. https://github.com/easydiffusion/easydiffusion/releases/tag/v3.0.2
Nice! This fixed my issue indeed. Thanks @cmdr2
Hi,
executing the
installerstart.sh
script results ininvalid ELF header
error.Steps to reproduce:
Expected result: stable-diffusion-ui is started Actual result:
start.sh
script terminates wit error messageOSError: /opt/stable-diffusion-ui-linux/stable-diffusion-ui/stable-diffusion/env/lib/python3.8/site-packages/torch/lib/../../../../libmkl_core.so: invalid ELF header
Trace:
Environment:
My first research suggests some platform issue (i.e. using an executable build for another platform). I'm using the only linux download that is available, therefore I don't know what I could be doing wrong there.
If there is anything I can try or any other information that I can provide let me know. Thanks for your efforts.
Regards Johannes