Skip to main content

🎙️ WhisperSpeech2

An Open Source text-to-speech system built by inverting Whisper. This is a fork of WhisperSpeech optimized for inference that introduces ⚡"cuda graphs"⚡ for faster inference.

🚀 Installation

pip install whisperspeech2

PyTorch

CUDA libraries if using an Nvidia GPU (tested with torch 2.9 on CUDA 12.8 and torch 2.14.1 on CUDA 13.0).

✨ Available Models

You can mix and match the models for different quality and compute requirements. See the WhisperSpeech Hugging Face repository.

S2A Models (Semantic to Acoustic)

Model Reference
Tiny WhisperSpeech/WhisperSpeech:s2a-q4-tiny-en+pl.model
Base WhisperSpeech/WhisperSpeech:s2a-q4-base-en+pl.model
Small WhisperSpeech/WhisperSpeech:s2a-q4-small-en+pl.model
HQ Fast WhisperSpeech/WhisperSpeech:s2a-q4-hq-fast-en+pl.model
v1.1 Small WhisperSpeech/WhisperSpeech:s2a-v1.1-small-en+pl.model

T2S Models (Text to Semantic)

Model Reference
Tiny WhisperSpeech/WhisperSpeech:t2s-tiny-en+pl.model
Base WhisperSpeech/WhisperSpeech:t2s-base-en+pl.model
Small WhisperSpeech/WhisperSpeech:t2s-small-en+pl.model
Fast Small WhisperSpeech/WhisperSpeech:t2s-fast-small-en+pl.model
Fast Medium WhisperSpeech/WhisperSpeech:t2s-fast-medium-en+pl+yt.model
HQ Fast WhisperSpeech/WhisperSpeech:t2s-hq-fast-en+pl.model
v1.1 Small WhisperSpeech/WhisperSpeech:t2s-v1.1-small-en+pl.model

v1.1 Small and HQ Fast never ended a sentence early in testing, while the other T2S models occasionally do.

Benchmark (no cuda graph)

image

Benchmark (with cuda graph)

People with Nvidia GPUs can set the "use_cuda_graph" parameter to "true" for faster processing.

image

Examples

See the examples/ directory for more usage examples including GUI applications and streaming playback.

Thanks/Shout Outs

Thanks to Jakub for the inspiration.

The fine folks at the Dia2 for forcing me to learn about cuda graph. Go check theirs out too.

BIG FUCK YOU

And finally a big "fuck you" to Microsoft for installing shit on my computer that I don't need and/or want for years.

Your pathetic VibeVoice project just got pwned!

You can end support for Windows 10 but still find ways to surreptitiously install Microsoft Edge, the shittest browser ever, on my computer without notification or approval whatsoever...or consistently defeat ways to simpy install Windows without having to register an account online...again, a big FUCK YOU to Microsoft!

Metadata

Release files for whisperspeech2 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whisperspeech2 2.0.1
File Size Uploaded
whisperspeech2-2.0.1.tar.gz 33.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for whisperspeech2 2.0.1
File Interpreter ABI Platform
whisperspeech2-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 72.2 kB

Release files / whisperspeech2-2.0.1.tar.gz

Download URL whisperspeech2-2.0.1.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2fdc39c8def0cdf5453093cc3ac34d55e246985170a497971dd7ccf7e3e5e8c1
BLAKE2b-256 checksum
How to use checksums
06453aff8a4a55d4631b1e1b9a5a7223559f168ab893c8c14d3b22d1bf9042d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / whisperspeech2-2.0.1-py3-none-any.whl

Download URL whisperspeech2-2.0.1-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b9a6292b66d8a0d950ab3554c1583a5a0254ff8df0987174f663c7a9f8f081d
BLAKE2b-256 checksum
How to use checksums
3822559a3a7f156ec01e3d56ee71c0f44c24eb3fa1fb520a6b80c22baf4cf2d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.0

2 release files

0.9.3

2 release files

0.9.1

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page