Skip to content

Releases: CodeWithBehnam/vayu

Vayu v1.0.0

19 Jan 20:37

Choose a tag to compare

Vayu (وایو) v1.0.0

The fastest Whisper implementation on Apple Silicon.

Vayu (وایو) is the ancient Persian god of wind — the swiftest force in nature.

Installation

pip install vayu-whisper

Features

  • Batched decoding - Process multiple audio segments in parallel for 3-5x faster transcription
  • Multiple output formats - txt, vtt, srt, tsv, json
  • Word-level timestamps - Extract precise word timings
  • Multiple model support - tiny, base, small, medium, large-v3, turbo, distil variants
  • Quantization - 4-bit and 8-bit quantized models for reduced memory usage
  • Simple API - Easy-to-use LightningWhisperMLX wrapper class

Quick Start

from whisper_mlx import LightningWhisperMLX

whisper = LightningWhisperMLX(model="distil-large-v3", batch_size=12)
result = whisper.transcribe("audio.mp3")
print(result["text"])

CLI

vayu audio.mp3 --batch-size 12

Requirements

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Python 3.10+
  • MLX 0.11+