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

NeuralNote: Segfault: The ORT format model version [6] is not supported in this build 1.14.1 #2

Open
karimdjemai opened this issue Oct 2, 2024 · 1 comment

Comments

@karimdjemai
Copy link

Hi,

when building Neural Note using: nix run github:polygon/audio.nix#neuralnote --extra-experimental-features nix-command --extra-experimental-features flakes'
The build completes but then this error message pops up when it starts the executable:

terminate called after throwing an instance of 'Ort::Exception'
  what():  inference_session.cc:1020 LoadOrtModelWithLoader The ORT format model version [6] is not supported in this build 1.14.1. This build doesn't support ORT format models older than version 5. See: https://github.com/microsoft/onnxruntime/blob/rel-1.14.0/docs/ORT_Format_Update_in_1.13.md
[1]    89904 IOT instruction (core dumped)  nix run github:polygon/audio.nix#neuralnote --extra-experimental-features   

I suppose this is a segfault?
The error message confuses me, since according to

https://onnxruntime.ai/docs/performance/model-optimizations/ort-format-models.html

there is no ORT format model version 6, but only 5 and below.
I know that you don't really offer support but maybe I am not the only one with this error, and maybe there is some value to solving this.
Thanks in advance for any help!

@Meptl
Copy link

Meptl commented Oct 23, 2024

Building/running from one of the older commits is a workaround: nix run 'github:polygon/audio.nix?ref=v1.1.0'#neuralnote

This isn't the last working commit just the one I first tested.

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

2 participants