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.0

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.0
File Size Uploaded
whisperspeech2-2.0.0.tar.gz 33.1 kB Details

Built distribution (wheel)

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

Total release size: 71.8 kB

Release files / whisperspeech2-2.0.0.tar.gz

Download URL whisperspeech2-2.0.0.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
40df2b0d57065d716c78b6544df7bce628fe36dcb07ab3d826f5d7902bc23309
BLAKE2b-256 checksum
How to use checksums
cac75dbebde1b09fab19f4e25d803df52ee20cbe3fd3c9fd62c59f0a9472b872
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.0-py3-none-any.whl

Download URL whisperspeech2-2.0.0-py3-none-any.whl
Size 38.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73439c4e5882c1b31b8b9fdc027520de852406701792d46ec42cdfff7ba7f393
BLAKE2b-256 checksum
How to use checksums
8b83c0f004eb8823a79c5e8747eef23981251f23349a9764f96fa7f17701f6e3
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

2.0.1

2 release files

This release

2.0.0 This release

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