GithubHelp home page GithubHelp logo

Comments (3)

zacharygraber avatar zacharygraber commented on August 11, 2024 1

@geekinchief22 @HMS97 I had a similar problem (cuDNN version error) and was able to fix it by doing the following:

  1. Edit requirements.txt to unpin versions -- should look like this:
    wget
    nemo_toolkit[asr]
    transformers>=4.26.1
    faster-whisper
    . . . 
    
  2. Install this repo's requirements (pip install -r requirements.txt). For me, this replaced my PyTorch 2.1 with an older version.
  3. Manually install a newer nightly PyTorch on top of the repo:
    pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118
    

Thought I'd share this in case it helps you folk. I'm using the NVIDIA NGC PyTorch containers (23.04-py3) with driver version 525.85.05 (Ubuntu 22.04 as the host OS--the containers run Ubuntu 20.04). PyTorch is supposed to come bundled with CUDA/cuDNN, but I'm guessing that for me the error was coming from a version mismatch between the newer torch version I already had, and the older one the repo's requirements wanted to install.

from whisper-diarization.

HMS97 avatar HMS97 commented on August 11, 2024

same problem here

from whisper-diarization.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on August 11, 2024

I managed to solve the problem by removing the cudnn package that was installed in pip and torch automatically used the original cudnn installation that was installed using the official instructions

from whisper-diarization.

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.