DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to transcribe on a CPU-only laptop or Mac with whisperX

Use int8 compute on CPU, and a smaller model if memory is tight.

Short answer: Install with pip install whisperx; then run whisperx path/to/audio.wav --compute_type int8 --device cpu; if memory runs short, add --model base. All steps.

  • Content
  • Beginner
  • 20 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA user without an NVIDIA GPU.

The problemDefault settings assume a GPU.

The outcomeA working transcript on ordinary hardware.

What you need first

  • Python with pip, ffmpeg may also be needed
  • A GPU with CUDA toolkit 12.8 for speed, CPU also works
  • A Hugging Face read token for speaker diarization

Steps

  1. Install with pip install whisperx
  2. Run whisperx path/to/audio.wav --compute_type int8 --device cpu
  3. If memory runs short, add --model base
  4. Compare the result to a larger model on a short clip if quality matters

Prompt for your agent

Using m-bain/whisperX, run `whisperx <my audio file> --compute_type int8 --device cpu` and if it fails for memory, retry with `--model base`.

Caveat. CPU runs are far slower than the 70x realtime GPU figure and smaller models can reduce quality.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for m-bain/whisperX and "Transcribe on a CPU-only laptop or Mac"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer