whispercpp

Pybind11 bindings for Whisper.cpp

APACHE-2.0 License

Downloads
847
Stars
298
Committers
12

Bot releases are hidden (Show)

whispercpp - fix: compatibility patch for GCC < 10 Latest Release

Published by aarnphm over 1 year ago

Fixes a compatibility bug with GCC < 10, thanks @mmyjona

pip install -U whispercpp

New Contributors

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.16...v0.0.17

whispercpp - v.0.0.16: Bug fix and revert a breaking change.

Published by aarnphm over 1 year ago

  • deprecating from_sampling_type to accept the enum. Users should use from_enum instead.
    Make sure to upgrade to the latest version
pip install -U whispercpp
whispercpp - v0.0.15: Performance and bug fixes!

Published by aarnphm over 1 year ago

Highlights

  • Fixes #20 where the language was causing memory corruption.
  • Supports for whisper_state initialization through no_state constructor:
m = whispercpp.Whisper.from_pretrained("tiny.en", no_state=True)

One can then initialize the state before inference:

m.context.init_state()
  • Refactor Params with builder pattern (recommended):
p = whispercpp.Params.from_enum(whispercpp.api.SAMPLING_GREEDY).with_print_progress(False).with_language("de").build()

The previous behaviour of setting property are still allowed for backward compatibility, but now deprecated and will be removed in 0.1.0

  • Added new functionalities by @pajowu for converting token as bytes
api.Context.token_to_bytes(...)
  • ARM wheels for M1 are now available.
  • Removing llvm toolchain, and using GCC for compilation.

New Contributors

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.12...v0.0.15

whispercpp - v0.0.12: Wheels

Published by aarnphm over 1 year ago

  • This is the same as 0.0.10 but with prebuilt wheels.
whispercpp - v0.0.10: Performance improvement and features

Published by aarnphm over 1 year ago

  • Added experimental streaming audio support with SDL.
  • Enable hermetic toolchain, allowing users to easily setup extensions.
  • Supports for on_new_segment callback for Python
  • Fix compilation on Linux to match performance upstream.

Install the latest version with pip:

pip install -U whispercpp

New Contributors

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.8...v0.0.10

whispercpp - v0.0.9: Performance patch and new features

Published by aarnphm over 1 year ago

Broken release with bad regex changes

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.8...v0.0.9

whispercpp - v.0.0.8: Another performance patch

Published by aarnphm over 1 year ago

So this is another performance release.

  • Fixes segfault when accessing functions within internal context, params object of Whisper.
  • move transcribe implementation to Python to avoid copying twice.
  • Change some bazel deps that it is not yet hermetic.

BREAKING CHANGE

The enums are now SAMPLING_GREEDY and SAMPLING_BEAM_SEARCH for better exposure instead of GREEDY and BEAM_SEARCH.

What's Changed

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.7...v0.0.8

whispercpp - v0.0.7: Performance improvement

Published by aarnphm over 1 year ago

  • Drastically improve transcribe that implements new_segment_callback instead of calling full at once.

What's Changed

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.6...v0.0.7

whispercpp - v0.0.6: Release with wheel

Published by aarnphm over 1 year ago

Ok I think I flushed out all the quirks when installing from pip.

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.5...v0.0.6

whispercpp - v0.0.5

Published by aarnphm over 1 year ago

  • Fixes initialization from sdist

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.4...v0.0.5

whispercpp - v0.0.4

Published by aarnphm over 1 year ago

  • fix releases wheels to run requirements update

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.3...v0.0.4

whispercpp - v0.0.3

Published by aarnphm over 1 year ago

surely now twine should be able to upload the package.

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.2...v0.0.3

whispercpp - v0.0.2: Release on PyPI

Published by aarnphm over 1 year ago

What's Changed

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.1...v0.0.2

whispercpp - v0.0.1: Supports pre-built wheels

Published by aarnphm over 1 year ago

  • Supports pre-built manylinux2014 wheels for x86_64 for Linux and macosx wheels.
  • CI setup

What's Changed

Full Changelog: https://github.com/aarnphm/whispercpp/compare/v0.0.1rc0...v0.0.1