Hello, I am making some changes such as adding attention to the results of the whisper model. I made some modifications, such as adding arguments to the generate function, however when I run the model using fast whisper it does not detect the change made to the c++ whisper model.
Do I have to build it every time I push a change to a dev fork of ctranslate2 or is there something else I am missing?
Hello, after compiling the C++ library and compiling the python wrapper in google colab and trying to run fast whisper with the change I get this error
/usr/local/lib/python3.8/dist-packages/faster_whisper/__init__.py in <module>
----> 1 from faster_whisper.transcribe import WhisperModel
/usr/local/lib/python3.8/dist-packages/faster_whisper/transcribe.py in <module>
2 import zlib
----> 4 import ctranslate2
5 import numpy as np
6 import tokenizers
/usr/local/lib/python3.8/dist-packages/ctranslate2/__init__.py in <module>
---> 20 from ctranslate2._ext import (
ImportError: libctranslate2.so: cannot open shared object file: No such file or directory
I followed the documentation, is there something I’m missing in the building process? I’m not sure that libctranslate2.so is even being added to any file directory i.e. it doesn’t show up when uninstalling it unlike when I uninstall the pip-installed version.