GithubHelp home page GithubHelp logo

benchmark-whisper-cpp's Introduction

What

I wanted to checkout how whisper.cpp performce for transcribing german speech. I took a exact 10 minute audio file (looking in podcast rss feeds for <itunes:duration>600</itunes:duration> helps) and run different tests.

Testing performance for whisper.cpp

This test runs the cpp implementation of OpenAI Whisper for a 10 minute audiofile with different cores and models.

Whisper.cpp is available from https://github.com/ggerganov/whisper.cpp

Requirements

Installed Binaries:

ffmpeg, wget, whisper.cpp

For Whisper.cpp installed models:

small, medium, large

Audio file will be downloaded during the process.

Run

Adjust models names and CPU Counts in the file itself.

Change the location of the whisper.cpp git checkout with the build binary

sh ./benchmark.sh

Compare to a GPU enabled Whisper

I can not not use it, but I would be very interested hwo whiser.cpp compared to the CUDA enabled version. If you have such a setup: Please run sh ./run_python_whisper.sh. This will the file and run the OpenAI Python implementation.

benchmark-whisper-cpp's People

Contributors

oliverwehrens avatar

Stargazers

David Boho avatar  avatar

Watchers

 avatar James Cloos avatar

benchmark-whisper-cpp's Issues

Thanks !

Hi, many thanks for your blog post and for these scripts and ressources.

I'm able to get around x2 speed on the large-v2 model with an AMD Rx 6800 (Ubuntu 22.04, PyTorch with ROCm 5.2 backend).

However, this hardware is not mine, and I'm considering upgrading my current Mac to a Mini M1 or Mac Studio. That is why, I would be very interested to know if you are able to run Whisper with the newly released MPS version of PyTorch

  • Are you able to run the large model ?
  • How fast (hopefully faster than your CPU based tests) ?

Thanks

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.