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

How to turn off telemetry for private diarization with Pyannote Audio

Disable pyannote's optional usage metrics for a session or globally before processing sensitive audio.

Short answer: Install with pip install pyannote.audio; then Disable metrics in your shell with export PYANNOTE_METRICS_ENABLED=0; Or in Python call set_telemetry_metrics(False, save_choice_as_default=True) from pyannote.audio.telemetry to make it the default. All steps.

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

Who it is forTeams handling confidential recordings, such as legal or medical audio.

The problemCompliance rules may forbid any outbound usage reporting from processing machines.

The outcomeDiarization that runs locally with metrics disabled.

What you need first

  • ffmpeg installed (needed by torchcodec audio decoding)
  • Python with `pip install pyannote.audio` or `uv add pyannote.audio`
  • A Hugging Face access token and accepted user conditions for pyannote/speaker-diarization-community-1; a GPU is optional

Steps

  1. Install with pip install pyannote.audio
  2. Disable metrics in your shell with export PYANNOTE_METRICS_ENABLED=0
  3. Or in Python call set_telemetry_metrics(False, save_choice_as_default=True) from pyannote.audio.telemetry to make it the default
  4. Run the local community-1 pipeline as usual

Prompt for your agent

Using pyannote/pyannote-audio, set PYANNOTE_METRICS_ENABLED=0, save the telemetry choice globally with set_telemetry_metrics, then run community-1 on <my audio> and confirm the setting.

Caveat. The README says telemetry tracks file duration and speaker count settings, not who the user is; the first model download still contacts Hugging Face.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for pyannote/pyannote-audio and "Turn off telemetry for private diarization"

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