GithubHelp home page GithubHelp logo

OOM && Large GPU usage about whisperx HOT 4 CLOSED

m-bain avatar m-bain commented on May 22, 2024 1
OOM && Large GPU usage

from whisperx.

Comments (4)

m-bain avatar m-bain commented on May 22, 2024

Memory scales with length of input segment to wav2vec2 model. With current version, adding
--vad_filter
Ensures that no segments greater than 30s are inputted to the w2v model. You can further reduce gpu reqs by
a. Using smaller w2v align_model
b. Limit input segment duration

I will add b as a new feature at some point

from whisperx.

arnavmehta7 avatar arnavmehta7 commented on May 22, 2024

I am using a older commit, and its now using 28gigs of GPU ram, which is TOOOO much. Any idea how to fix this?

from whisperx.

arnavmehta7 avatar arnavmehta7 commented on May 22, 2024

Files are being processed in a loop, and seems like after every file, GPU ram usage pops up by ~2gbs ram.

from whisperx.

arnavmehta7 avatar arnavmehta7 commented on May 22, 2024

@m-bain I just ran a very long audio and it showed that it tried to allocate 30gbs of GPU ram, is there any clean fast fix?
Thankyou!

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.