audio.nix icon indicating copy to clipboard operation
audio.nix copied to clipboard

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

Open karimdjemai opened this issue 1 year ago • 1 comments

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!

karimdjemai avatar Oct 02 '24 15:10 karimdjemai

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.

Meptl avatar Oct 23 '24 02:10 Meptl