-
Notifications
You must be signed in to change notification settings - Fork 41
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
Load model from checkpoints/kokoro-v0_19.onnx failed:This is an invalid model #64
Comments
Hello, you mean it need downgrade onnxruntime? We might need support newest kokoro onnx model |
Yes, on onnxruntime version 1.20.2-2 does not work On February 16th a new version (1.20.2) was released, which broke everything. |
Anybody knows how can we fix this be reexporting onnx file? If 2.0 of onnxruntime caused this, it might be issues for many of users |
Hurried with the message that everything works. I was only able to compile, but now the audio file is damaged. I have no idea what happened at all, everything worked two weeks ago. |
After commit 272b7b0 the error persists:
extra/onnxruntime-rocm 1.20.2-3 (20.7 MiB 1.5 GiB) (Installed) |
on onnxruntime version 1.19.2(commit 272b7b0) the file is obtained with a small artifact at the beginning: https://github.com/7jrxt42BxFZo4iAnN4CX/Kokoros/blob/wav_artifact_onnxruntime_1_19_2/sky-says-hello.wav curl -X POST http://localhost:3000/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{
"model": "anything can go here",
"input": "Hello, this is a test of the Kokoro TTS system!",
"voice": "af_sky",
"response_format": "wav"
}' --output sky-says-hello.wav |
Oh, is this on Kokoro 1.0 model? The beginning artifact seems a known issue. We might need to have a check on sending tokens and compare whether the output is the same as the python side or not. |
yes, Kokoro 1.0 model (commit 272b7b0) |
Should i wait for a fix? |
Libs:
onnx: 1.17.0-1
onnxruntime: 1.20.2-2
ort: 2.0.0-rc.4
Error:
576 messages "Schema error: Trying to register schema with name"
Solution:
Downgrade onnxruntime to 1.19.2-4
The text was updated successfully, but these errors were encountered: