GithubHelp home page GithubHelp logo

Stuck on load_model() about whisperx HOT 4 CLOSED

dgoryeo avatar dgoryeo commented on July 20, 2024 4
Stuck on load_model()

from whisperx.

Comments (4)

iUnknownAdorn avatar iUnknownAdorn commented on July 20, 2024 5

+1 - facing the same issue

Quick fix:

from huggingface_hub.utils import _runtime
_runtime._is_google_colab = False

Don't know if something else will break if you are doing something colab dependent, but you can always turn on the flag after model is downloaded.

Related: huggingface/huggingface_hub#1952

from whisperx.

anjehub avatar anjehub commented on July 20, 2024

I'm experiencing the same issue, it just gets stuck 'forever' on the whisperx.load_model("large-v2", device, compute_type=compute_type) line.

My installation environment:

!pip install torch==2.0.0 torchaudio==2.0.1
!pip install git+https://github.com/m-bain/whisperx.git

from whisperx.

vietanhlampartvn avatar vietanhlampartvn commented on July 20, 2024

@iUnknownAdorn

Quick fix:

from huggingface_hub.utils import _runtime
_runtime._is_google_colab = False

It worked, thank you very much👼👼👼

from whisperx.

dgoryeo avatar dgoryeo commented on July 20, 2024

@iUnknownAdorn , thanks so much for the fix. It worked like a charm and no other issues so far.

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.