-
Notifications
You must be signed in to change notification settings - Fork 27
tflite models - segmentation fault #12
Comments
n_vocab:50257 |
Could you please follow the steps outlined here Sorry, I don't have macbook pro to verify the same |
Oh, it works perfectly well with the ../models/whisper.tflite but not with the models created with the notebook. I wanted to try creating tflite with medium model. |
Use the following colab, but swap out openai/whisper-tiny for openai/whisper-medium. |
Followed the exact same steps. Trying to use the model results in segmentation faults even on Ubuntu machine. Does not look like mac issue. |
I may need to construct a new multilingual vocab bin, |
Before building stream example replace ~/openai-whisper/stream/filters_vocab_gen.h with filters_vocab_multilingual.h |
Use whisper-medium.tflite that you generated |
I am not able to upload model as it is around 700MB in size |
I could add whisper-medium.tflite |
Thanks! will try it out. |
./stream ../models/whisper-medium.tflite n_vocab:50257 |
Can u try with minimal build and replace filters vocab gen.bin with filters vocab multilingual and rename as filters vocab gen.bin |
I think it is producing more tokens than I restricted to 223 in model generation,pls change max_tokens to 384 and generate model again |
Tried with minimal build. same error...I have not yet looked into the code. will do that. Thanks. I am actually looking to implement a streaming GRPC server. |
I have incorporated 448 tokens into the whisper-medium model in an attempt to solve your issue. |
please try latest whisper-medium model |
I tried using tflite models built using the notebook https://github.com/usefulsensors/openai-whisper/blob/main/notebooks/generate_tflite_from_whisper.ipynb.
But, I am getting segmentation fault when tried with stream. Any ideas why that might be happening?
The text was updated successfully, but these errors were encountered: