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

whisper model to onnx exception #20

Open
kendiyang opened this issue Jan 12, 2025 · 0 comments
Open

whisper model to onnx exception #20

kendiyang opened this issue Jan 12, 2025 · 0 comments

Comments

@kendiyang
Copy link

1.optimum-cli export onnx --model openai/whisper-small onnx_model/ --monolith
2.optimum-cli onnxruntime quantize --onnx_model onnx_model/ --arm64 -o quauntized_model/

E/OrtWhisper.kt: Error in getTranscription: Error code - ORT_NOT_IMPLEMENTED - message: Could not find an implementation for ConvInteger(10) node with name '/model/encoder/conv1/Conv_quant'
E/flutter ( 6184): [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Exception: Transcript returned from platform code is null
E/flutter ( 6184): #0 WhisperNative._getTranscriptPlatformChannel (package:fonnx/models/whisper/whisper_native.dart:55:7)
E/flutter ( 6184):
E/flutter ( 6184): #1 SttService._whisperInferenceLoop.doIt (package:fonnx_example/stt_service.dart:270:23)
E/flutter ( 6184):
E/flutter ( 6184): #2 SttService._whisperInferenceLoop (package:fonnx_example/stt_service.dart:290:5)
E/flutter ( 6184):
E/flutter ( 6184):
Application finished.

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

1 participant