k2
by k2-fsa
FSA/FST framework written from scratch in PyTorch/CUDA.
TL;DR
FSA/FST framework written from scratch in PyTorch/CUDA.
Best for differentiable WFST / lattice training on modern GPUs. Pricing: free.
Category
Open source
License
—
Stars
—
Last push
—
Pricing
free
Platforms
Linux
What it is
k2 is the FSA/FST engine that powers icefall and sherpa. Brings Kaldi-style decoders to PyTorch with autograd. Apache-2.0.
Best for: Differentiable WFST / lattice training on modern GPUs.
Watch out for: Niche audience; requires deep familiarity with FSA decoding.
Watch out for: Niche audience; requires deep familiarity with FSA decoding.
Install / use
pip install k2
Features
| Speaker diarization | No |
| Word-level timestamps | Yes |
| Streaming / real-time | No |
| Languages supported | 40 |
| HIPAA eligible | No |
k2 vs Whipscribe
| Feature | k2 | Whipscribe |
|---|---|---|
| Category | Open source | Transcription APIs |
| Pricing | free | free beta |
| Speaker diarization | No | Yes |
| Word timestamps | Yes | Yes |
| Streaming | No | No |
| Languages | 40 | 99 |
| Platforms | Linux | Web, API, MCP |
Alternatives to k2
Whipscribe is a managed faster-whisper + whisperX service. If you want transcripts without running infrastructure, paste a URL or drop a file in the form below — you'll have a transcript in seconds.