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

Errors with ./sd #47

Open
NickoDo opened this issue Dec 27, 2023 · 3 comments
Open

Errors with ./sd #47

NickoDo opened this issue Dec 27, 2023 · 3 comments

Comments

@NickoDo
Copy link

NickoDo commented Dec 27, 2023

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.

@darkjacky
Copy link

Have you tried chmod +x ?

@technotip
Copy link

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

@technotip
Copy link

technotip commented Aug 30, 2024

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: #82

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

3 participants