GithubHelp home page GithubHelp logo

Comments (13)

davidmartinrius avatar davidmartinrius commented on June 12, 2024 4

Hi, how do you override the faster-whisper from git+https://github.com/m-bain/whisperx.git@d6562c26da467ca49866a4173c0e723f3837f367? or do you fork it?

after installing whisperx you can do this:

pip install --upgrade faster-whisper==1.0.0

from whisperx.

longdaothanh avatar longdaothanh commented on June 12, 2024 3

Hi, I just solved the problem

I'm wondering would WhisperX work with https://github.com/SYSTRAN/faster-whisper/releases/tag/v1.0.0 ?

Yes, I just tried and it worked perfect now.

Problem Solved:
Change faster-whisper~=0.10.0 in requirements.txt to the newest version 1.0.0 then install -> working

from whisperx.

longdaothanh avatar longdaothanh commented on June 12, 2024 1

Hi, how do you override the faster-whisper from git+https://github.com/m-bain/whisperx.git@d6562c26da467ca49866a4173c0e723f3837f367? or do you fork it?

Hi, you can modify, clone and install in editable mode using the instruction like in Readme.txt:
git clone https://github.com/m-bain/whisperX.git
clone the whisperX repository and make change to the requirement.txt then install whisperx locally
pip install -e <WhisperX path>

from whisperx.

longdaothanh avatar longdaothanh commented on June 12, 2024

Screenshot 2024-02-22 190759

from whisperx.

SobolevskyDmitry avatar SobolevskyDmitry commented on June 12, 2024

Seems new faster-whisper broke it
https://github.com/SYSTRAN/faster-whisper/releases

For me faster-whisper-0.10.0 worked fine, but today I got the same error as you and checked my deps and found a new version: faster-whisper-0.10.1

from whisperx.

SobolevskyDmitry avatar SobolevskyDmitry commented on June 12, 2024

I'm wondering would WhisperX work with https://github.com/SYSTRAN/faster-whisper/releases/tag/v1.0.0 ?

from whisperx.

msfuko avatar msfuko commented on June 12, 2024

Hi, how do you override the faster-whisper from git+https://github.com/m-bain/whisperx.git@d6562c26da467ca49866a4173c0e723f3837f367? or do you fork it?

from whisperx.

sushk0841 avatar sushk0841 commented on June 12, 2024

TypeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 model = whisperx.load_model("large-v2", device, compute_type=compute_type)

/usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads)
330 del default_asr_options["suppress_numerals"]
331
--> 332 default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options)
333
334 default_vad_options = {

TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0
is there any solution?

from whisperx.

longdaothanh avatar longdaothanh commented on June 12, 2024

TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 model = whisperx.load_model("large-v2", device, compute_type=compute_type)

/usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads) 330 del default_asr_options["suppress_numerals"] 331 --> 332 default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options) 333 334 default_vad_options = {

TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0 is there any solution?

I just tried to install it on colab and it ran so I don't know why you still had that problem

from whisperx.

davidmartinrius avatar davidmartinrius commented on June 12, 2024

TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 model = whisperx.load_model("large-v2", device, compute_type=compute_type)

/usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads) 330 del default_asr_options["suppress_numerals"] 331 --> 332 default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options) 333 334 default_vad_options = {

TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0 is there any solution?

Hi @sushk0841 ,

This way is working for my now:

pip install whisperx==3.1.1
pip install --upgrade faster-whisper==0.10.1

I still haven't tried what @longdaothanh said

from whisperx.

davidmartinrius avatar davidmartinrius commented on June 12, 2024

Update 2:
Don't take into account the latest update. It has been fixed in the latest version.

Update:
In addition to the above you will also have tu downgrade speechbrain:

pip install -U speechbrain==0.5.16

Because of this #723

from whisperx.

grzegorz700 avatar grzegorz700 commented on June 12, 2024

For me, the latest working version of WhisperX, with the capability of using Cuda 11.8 is:
pip install git+https://github.com/m-bain/whisperx.git@8227807fa9e076901ea4b4fbbf79c9777a6f5e03 --no-deps
And install whisperX requirements with replacement to
faster-whisper @ git+https://github.com/SYSTRAN/[email protected]
The change is connected with ?replacement tag from 0.10.0 to v0.10.0 .

from whisperx.

deep-pipeline avatar deep-pipeline commented on June 12, 2024

@longdaothanh are you satisfied this issue has now been solved? if so, could you close it please. Thank you.

from whisperx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.