Open NickoDo opened 10 months ago
Have you tried chmod +x ?
I don't have a directory called sd
inside /OnnxStream/src/build
I created one and gave it appropriate permissions. But when I execute the prompt it says ./sd Is a directory
I've installed AeroX2 stable-diffusion-xl-turbo-1.0-onnxstream
I just realised my build process in the previous step is failing :-(
I guess, the sd
is not a directory but the object file after executing the sd.cpp file.
I'm trying to install all these on my Orange PI 5B device. I'm not sure if it is supported. The build process is failing:
cmake --build . --config Release
Specs: Linux ubuntu 6.1.0-1023-rockchip # 23-Ubuntu SMP Wed Aug 14 23:55:18 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)
Opened an issue: https://github.com/vitoplantamura/OnnxStream/issues/82
I built the example following the instructions on my Raspberry pi 4, compiled XNNPACK and OnxxStream, also downloaded the stable diffusion base image. When i execute
./sd --rpi --decoder-fp16 --steps 3 --output result.jpg
i get:-bash: ./sd: Permission denied
The same happens if i try to run ./sd by itself.I have tried with chmod 777, copied the folder over to the SD card (was compiling and downloading all files to an extenral pen drive) and yet i get the same behaviour.