Closed acclayer7 closed 1 week ago
I have this error: { "name": "ImportError", "message": "cannot import name 'BatchedInferencePipeline' from 'faster_whisper' ", "stack": "--------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[13], line 1 ----> 1 from faster_whisper import WhisperModel, BatchedInferencePipeline 3 model = WhisperModel(\"large-v3\", device=\"cpu\", compute_type=\"int8\") 4 batched_model = BatchedInferencePipeline(model=model)
ImportError: cannot import name 'BatchedInferencePipeline' from 'faster_whisper' }
you should use the master branch of this repo instead.
pip install "faster-whisper @ https://github.com/SYSTRAN/faster-whisper/archive/refs/heads/master.tar.gz"
current pypi version doesn't have it.
I have this error: { "name": "ImportError", "message": "cannot import name 'BatchedInferencePipeline' from 'faster_whisper' ", "stack": "--------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[13], line 1 ----> 1 from faster_whisper import WhisperModel, BatchedInferencePipeline 3 model = WhisperModel(\"large-v3\", device=\"cpu\", compute_type=\"int8\") 4 batched_model = BatchedInferencePipeline(model=model)
ImportError: cannot import name 'BatchedInferencePipeline' from 'faster_whisper' }