Skip to content

Pin pyannoteAI pipelines to precision-3 - #104

Merged
EduardoPach merged 1 commit into
mainfrom
eduardo/pyannote-precision-3
Sep 22, 2026
Merged

EduardoPach merged 1 commit into
mainfrom
eduardo/pyannote-precision-3

Conversation

@EduardoPach

Copy link
Copy Markdown
Collaborator

What does this PR do?

pyannoteAI released Precision-3 on 2026-09-21. Our PyannoteAIApi engine never
sent a model field, so every job ran whatever the API default happened to be.
That default is Precision-2 today, flips to Precision-3 on October 1, and
Precision-2 is deprecated on October 15. Without a pin, benchmark runs a week
apart would silently use different models.

This PR makes the model an explicit config field and pins all pyannoteAI
pipelines to precision-3.

Changes

Engine (src/openbench/engine/pyannote_engine.py)

  • PyannoteAIApi takes a model argument (default precision-3) and sends it
    on every /v1/diarize request.
  • New PyannoteAIModel literal type restricting values to precision-3,
    precision-2, and community-1, matching the current diarize API reference.

Pipelines

  • PyannoteApiConfig, PyannoteOrchestrationPipelineConfig, and
    PyannoteTranscriptionPipelineConfig gain a model field defaulting to
    precision-3 and pass it through to the engine.

Aliases and configs

  • pyannote-api, pyannote-orchestration, and pyannote-transcription pin
    model: precision-3 in both pipeline_aliases.py and their YAML configs.
  • Alias descriptions updated from Precision-2 to Precision-3.
  • Fixed the pyannote-api description, which told users to set
    PYANNOTE_API_KEY. The engine reads PYANNOTE_TOKEN.

Usage

Default (Precision-3):

openbench-cli evaluate -p pyannote-api -d <dataset-name> -m der

Precision-2 baseline, available until 2026-10-15:

openbench-cli inference -p pyannote-api --audio-path <file> --pipeline-config '{"model": "precision-2"}'

Add an explicit `model` field to PyannoteAIApi and the pyannote-api,
pyannote-orchestration, and pyannote-transcription pipelines, defaulting
to precision-3. Previously no model was sent, so runs tracked whatever
pyannoteAI's API default was at the time.

@dbrkn dbrkn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@EduardoPach
EduardoPach merged commit 115ea31 into main Sep 22, 2026
2 checks passed
@EduardoPach
EduardoPach deleted the eduardo/pyannote-precision-3 branch September 22, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants