Coder Social home page Coder Social logo

Comments (4)

KernAlan avatar KernAlan commented on June 5, 2024

Ah, the problem is that device in local_model_options was set to auto by default. I set it to cpu instead and this solved the issue.

If anyone knows where the CUDA dependencies are being called, I will gladly put in some error handling if needed.

from whisper-writer.

savbell avatar savbell commented on June 5, 2024

Hi, thanks for the bug report! :)

The local model is created here: https://github.com/savbell/whisper-writer/blob/main/src/transcription.py#L27-L31

I imagine the error comes from it auto-defaulting to GPU and not having these libraries installed: https://github.com/SYSTRAN/faster-whisper#requirements

If you wanted to add some error handling, that would be fantastic! Otherwise I'll add a note in the Readme in my next commit. Thanks again!

from whisper-writer.

KernAlan avatar KernAlan commented on June 5, 2024

Thank you! Submitted a PR: #30

This project is wonderful by the way. I plan to use it to make my prompting faster.

from whisper-writer.

savbell avatar savbell commented on June 5, 2024

Thanks for your help! I've just merged the PR :)

I'm glad you're finding the project useful! It's always cool when something you make just for yourself ends up being something other people find helpful, too!

from whisper-writer.

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.