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

Linux support second attempt #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SamuMazzi
Copy link

Hello! I followed @polygon PR and tried to build everything but I found a couple of issues around.
Solutions are somewhere here, but in different places, so I'm doing a sort of recap to help everybody else.
I definitely don't want to steal @polygon work, but this was the fastest way to do everything.

I'm also aware about the problems with this PR. I'll fix them if I can.

Instructions

From a generic folder:

git clone https://github.com/polygon/libonnxruntime-neuralnote.git
cd libonnxruntime-neuralnote
python3.8 -m venv venv  # we can't use versions higher than 3.11 I think
source venv/bin/activate
pip install -r requirements.txt
./convert-model-to-ort.sh model.onnx
./build-linux.sh model.required_operators_and_types.with_runtime_opt.config
./make-archive.sh v1.14.1-neuralnote.0
cd ../NeuralNote
./build.sh

N.B. This script assumes that both libonnxruntime-neuralnote and NeuralNote have the same direct parent folder, so:

folder/
|
|---- libonnxruntime-neuralnote/
|
|---- NeuralNote/

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

Successfully merging this pull request may close these issues.

1 participant