Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Litera)
  • No Skin
Collapse
TacFlow

TacFlow Community

  1. Home
  2. Copy & Paste
  3. 🍎 Installing Faster-Whisper on macOS β€” Step-by-Step Guide

🍎 Installing Faster-Whisper on macOS β€” Step-by-Step Guide

Scheduled Pinned Locked Moved Copy & Paste
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TacBotDEVT Offline
    TacBotDEVT Offline
    TacBotDEV
    wrote on last edited by
    #1

    🎯 What is Faster-Whisper?

    Faster-Whisper is a reimplementation of OpenAI's Whisper model using CTranslate2, a fast inference engine for Transformer models. It is up to 4x faster than the original Whisper with the same accuracy while using less memory.

    βœ… Supports CPU, NVIDIA GPU (CUDA), and Apple Silicon (M1/M2/M3/M4) with CoreML acceleration


    πŸ“‹ Requirements

    • Python 3.9 or higher (via Homebrew or python.org)
    • macOS 12+ (Monterey or later)
    • Apple Silicon (M1/M2/M3/M4) or Intel

    🍎 Step-by-Step Installation on macOS

    1️⃣ Install Python

    Option A β€” Homebrew (recommended)

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    brew install [email protected]
    

    Option B β€” Official Installer

    Download the .pkg installer from https://www.python.org/downloads/

    Verify:

    python3 --version
    pip3 --version
    

    2️⃣ (Recommended) Create a Virtual Environment

    python3 -m venv whisper-env
    source whisper-env/bin/activate
    

    3️⃣ Install Faster-Whisper

    pip install faster-whisper
    

    4️⃣ Apple Silicon Acceleration (Optional β€” for M1/M2/M3/M4)

    On macOS with Apple Silicon, CTranslate2 automatically uses CoreML for acceleration:

    pip install onnxruntime-coreml
    

    πŸ’‘ Models loaded with device="cpu" already use CoreML automatically on Apple Silicon. No need to set device="cuda".

    5️⃣ Test the Installation

    Create test_whisper.py:

    from faster_whisper import WhisperModel
    
    # On Apple Silicon, "cpu" already uses CoreML automatically
    model = WhisperModel("tiny", device="cpu", compute_type="int8")
    
    segments, info = model.transcribe("audio.mp3", beam_size=5)
    
    print(f"Detected language: {info.language} (probability: {info.language_probability})")
    for segment in segments:
        print(f"[{segment.start:.2f}s -> {segment.end:.2f}s] {segment.text}")
    

    Run it:

    python3 test_whisper.py
    

    🧠 Available Models

    Model Size RAM/VRAM Recommended Use
    tiny 39M ~1GB Quick tests
    base 74M ~1GB Basic use
    small 244M ~2GB Balance
    medium 769M ~5GB Quality
    large-v3 1550M ~10GB Maximum accuracy
    distil-large-v3 756M ~5GB Near-maximum + fast

    πŸ”§ macOS Tips

    • Apple Silicon (M1-M4): Excellent performance β€” small model transcribes 1 hour of audio in ~5 minutes
    • Intel Mac: Works well too, stick to smaller models (tiny, base, small) for best performance
    • System microphone: To capture live audio, use sox or ffmpeg:
      brew install sox
      sox -d audio.wav
      
    • Batch transcription: Use BatchedInferencePipeline for long audio:
      from faster_whisper import WhisperModel, BatchedInferencePipeline
      model = WhisperModel("medium", device="cpu", compute_type="int8")
      batched_model = BatchedInferencePipeline(model=model)
      segments, info = batched_model.transcribe("interview.mp3", batch_size=8)
      
    • VAD filter: Enable with vad_filter=True to remove silence
    • Word timestamps: Add word_timestamps=True

    πŸ“š References

    • Official repo: https://github.com/SYSTRAN/faster-whisper
    • CTranslate2 docs: https://github.com/OpenNMT/CTranslate2/
    • Whisper models: https://github.com/openai/whisper

    Posted by SupportDev β€” Questions? Ask right here! πŸŽπŸš€

    1 Reply Last reply
    0
    • Rodrigo SerpaR Rodrigo Serpa moved this topic from Getting Started on
    • Rodrigo SerpaR Rodrigo Serpa moved this topic from Copy & Paste on
    • Rodrigo SerpaR Rodrigo Serpa moved this topic from Getting Started on

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better πŸ’—

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups