danielclough/vibevoice-rs

Rust implementation of VibeVoice text-to-speech with voice cloning and multi-speaker synthesis.

Rust

67

30 commits

updated Jan 30, 2026

See the code
rust
tts
vibevoice

README

VibeVoice-RS

VibeVoice-RS

Rust implementation of VibeVoice text-to-speech with voice cloning and multi-speaker synthesis.

Features

  • High-quality text-to-speech synthesis
  • Voice cloning from audio samples
  • Multi-speaker dialogue synthesis
  • GPU acceleration (Metal/CUDA)
  • Streaming audio generation (realtime model)

Crate Structure

CrateDescriptionDocumentation
vibevoiceCore libraryREADME
vibevoice-cliCommand-line interfaceREADME
vibevoice-serverHTTP server with SSE streamingREADME
vibevoice-webLeptos web frontendREADME
vibevoice-tauriDesktop applicationREADME

Requirements

  • Rust 1.85+
  • HuggingFace account and token
  • GPU recommended (Metal on Apple Silicon, CUDA on NVIDIA)

Setup

HuggingFace Token (Required)

# Create the cache directory
mkdir -p ~/.cache/huggingface

# Paste your token (get from https://huggingface.co/settings/tokens)
echo "hf_yourTokenHere" > ~/.cache/huggingface/token

# Secure it
chmod 600 ~/.cache/huggingface/token

Known Issues

Apple / Metal

Very long inputs may run over the buffer.

Error: Metal error Failed to create metal resource: Buffer

PyTorch MPS uses optimized SDPA (Scaled Dot Product Attention) that doesn't materialize the full attention matrix. Candle has flash attention but it's CUDA-only, not available for Metal.

Contributors

danielclough

30 commits

danielclough/vibevoice-rs

Rust implementation of VibeVoice text-to-speech with voice cloning and multi-speaker synthesis.

Rust

67

30 commits

updated Jan 30, 2026

See the code
rust
tts
vibevoice

README

VibeVoice-RS

VibeVoice-RS

Rust implementation of VibeVoice text-to-speech with voice cloning and multi-speaker synthesis.

Features

  • High-quality text-to-speech synthesis
  • Voice cloning from audio samples
  • Multi-speaker dialogue synthesis
  • GPU acceleration (Metal/CUDA)
  • Streaming audio generation (realtime model)

Crate Structure

CrateDescriptionDocumentation
vibevoiceCore libraryREADME
vibevoice-cliCommand-line interfaceREADME
vibevoice-serverHTTP server with SSE streamingREADME
vibevoice-webLeptos web frontendREADME
vibevoice-tauriDesktop applicationREADME

Requirements

  • Rust 1.85+
  • HuggingFace account and token
  • GPU recommended (Metal on Apple Silicon, CUDA on NVIDIA)

Setup

HuggingFace Token (Required)

# Create the cache directory
mkdir -p ~/.cache/huggingface

# Paste your token (get from https://huggingface.co/settings/tokens)
echo "hf_yourTokenHere" > ~/.cache/huggingface/token

# Secure it
chmod 600 ~/.cache/huggingface/token

Known Issues

Apple / Metal

Very long inputs may run over the buffer.

Error: Metal error Failed to create metal resource: Buffer

PyTorch MPS uses optimized SDPA (Scaled Dot Product Attention) that doesn't materialize the full attention matrix. Candle has flash attention but it's CUDA-only, not available for Metal.

Contributors

danielclough

30 commits

Languages

Rust

93.5%

CSS

4.4%

Python

1.2%