-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Mobile] onnxruntime-objc crash #21026
Comments
It's not clear from the screenshots what the complete error message is, or what the callstack is. Which object Is the |
create NSString from tensorStrindData return nil |
is the string a valid UTF-8 encoded string? the representation shown by lldb ( |
This is not a valid UTF-8 string, which will cause NSString creation to fail, and NSMutableArray cannot add nil objects. |
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
Describe the issue
I am currently using Whisper for ASR, which is a tiny/base multi-language model generated by Olive. It works fine most of the time, but when I feed Chinese audio to Whisper, the generated string may crash in some cases.
To reproduce
https://github.com/microsoft/Olive/blob/main/examples/whisper/README.md
python prepare_whisper_configs.py --model_name openai/whisper-tiny --no_audio_decoder --multilingual --enable_timestamps
olive run --config whisper_cpu_int8.json --setup
Urgency
No response
Platform
iOS
OS Version
17.5.1
ONNX Runtime Installation
Built from Source
Compiler Version (if 'Built from Source')
1.18.0
Package Name (if 'Released Package')
None
ONNX Runtime Version or Commit ID
1.18.0
ONNX Runtime API
Objective-C/Swift
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: