Coder Social home page Coder Social logo

Comments (7)

benniekiss avatar benniekiss commented on June 20, 2024 1

Have you solved this? I have been suffering from this recently.

I dont know the underlying cause, but the LD_LIBRARY_PATH env had become unset, and setting it before starting the jupyter server stopped the crashes.

I never had explicitly set it before and faster-whisper was working previously, but this has fixed my problem for now

from faster-whisper.

benniekiss avatar benniekiss commented on June 20, 2024

I am experiencing the same issue. Have you found any effective workaround or root cause?

from faster-whisper.

Null404bad avatar Null404bad commented on June 20, 2024

Have you solved this? I have been suffering from this recently.

from faster-whisper.

Null404bad avatar Null404bad commented on June 20, 2024

Have you solved this? I have been suffering from this recently.

I dont know the underlying cause, but the LD_LIBRARY_PATH env had become unset, and setting it before starting the jupyter server stopped the crashes.

I never had explicitly set it before and faster-whisper was working previously, but this has fixed my problem for now

Thanks for your response. I also fix this but by uninstalling cuda 12, then installing cuda 11 (specifically 11.8) and downgrade the faster-whisper. The latest faster-whisper requires cuda 12 but cudnn for cuda 11. I guess most crash issues are caused by this. This is really weird, anyway.

See #717

from faster-whisper.

GiCollini avatar GiCollini commented on June 20, 2024

LD_LIBRARY_PATH env had become unset, and setting it before starting the jupyter server stopped the crashes.

Appartently once the jupyter kernel is running changing the LD_LIBRARY_PATH has no effect.
So setting LD_LIBRARY_PATH in the code works for running .py script, but not when running jupyter notebooks.

I am using vscode with the Jupyter extension for running the jupyter notebook (actually on a AWS Sagemaker Code Editor instance). I was able to setting the LD_LIBRARY_PATH by:

  • cloning the kernel.json of my environment (for me it is stored in the folder .conda/envs//share/jupyter/kernels/python3) into a new folder (name is not important) within the jupyter kernel references (.local/share/jupyter/kernels)
  • changing the dispaly name in the new kernel.json "display_name": "<NAME TO BE DISPLAYED>",
  • adding "env": {"LD_LIBRARY_PATH": "<CORRECT PATH>"}

Apparently changing the original kernel.json is not used when starting up the vscode jupyter kernel corresponding to the conda environment

from faster-whisper.

GiCollini avatar GiCollini commented on June 20, 2024

Have you solved this? I have been suffering from this recently.

I dont know the underlying cause, but the LD_LIBRARY_PATH env had become unset, and setting it before starting the jupyter server stopped the crashes.
I never had explicitly set it before and faster-whisper was working previously, but this has fixed my problem for now

Thanks for your response. I also fix this but by uninstalling cuda 12, then installing cuda 11 (specifically 11.8) and downgrade the faster-whisper. The latest faster-whisper requires cuda 12 but cudnn for cuda 11. I guess most crash issues are caused by this. This is really weird, anyway.

See #717

Actually faster-whisper==1.0.2 does not require any CUDA 11 dependences. This issue has been solved

from faster-whisper.

Null404bad avatar Null404bad commented on June 20, 2024

Have you solved this? I have been suffering from this recently.

I dont know the underlying cause, but the LD_LIBRARY_PATH env had become unset, and setting it before starting the jupyter server stopped the crashes.
I never had explicitly set it before and faster-whisper was working previously, but this has fixed my problem for now

Thanks for your response. I also fix this but by uninstalling cuda 12, then installing cuda 11 (specifically 11.8) and downgrade the faster-whisper. The latest faster-whisper requires cuda 12 but cudnn for cuda 11. I guess most crash issues are caused by this. This is really weird, anyway.
See #717

Actually faster-whisper==1.0.2 does not require any CUDA 11 dependences. This issue has been solved

Thanks for sharing your solution. My current model in running normally and I'm exhausted by solving this problem : (
But I'll try this next time if it happens again. I'd like to be informed if this solution works for others.

from faster-whisper.

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.