Skip to content

PyAnnote not initializing on Macbook Pro M4 Pro #445

@Morgan-airqueen

Description

@Morgan-airqueen

Hi,

There appears to be an issue with the initialization of the PyAnnote model in my installation of Scriberr.

Here is the output when starting up Scriberr.

time=11:23:40 level="INFO " msg="Starting Scriberr" version=1.2.0
[+] Loading configuration
time=11:23:40 level="INFO " msg="Registering adapters with environment path" whisperx_env=data/whisperx-env
time=11:23:40 level="INFO " msg="Adapter registration complete"
[+] Connecting to database
[+] Setting up authentication
[+] Initializing SSE broadcaster
[+] Initializing repositories
[+] Initializing services
[+] Initializing transcription service
[+] Initializing transcription service
[+] Preparing Python environment
time=11:23:40 level="INFO " msg="Initializing unified transcription service"
time=11:23:40 level="INFO " msg="Initializing registered models in parallel..."
time=11:23:40 level="INFO " msg="Preparing NVIDIA Sortformer environment" env_path=data/whisperx-env/parakeet
time=11:23:40 level="INFO " msg="Preparing NVIDIA Canary environment" env_path=data/whisperx-env/parakeet
time=11:23:40 level="INFO " msg="transcription model initialized" model_id=openai_whisper
time=11:23:40 level="INFO " msg="Preparing NVIDIA Parakeet environment" env_path=data/whisperx-env/parakeet
time=11:23:40 level="INFO " msg="Preparing PyAnnote environment" env_path=data/whisperx-env/pyannote
time=11:23:40 level="INFO " msg="Preparing WhisperX environment" env_path=data/whisperx-env
time=11:23:40 level="INFO " msg="Installing PyAnnote dependencies"
time=11:23:40 level=ERROR msg="Failed to initialize diarization model" model_id=pyannote error="failed to setup PyAnnote environment: uv sync failed: exit status 2: Resolved 132 packages in 3ms\nerror: Distribution torch==2.8.0 @ registry+https://download.pytorch.org/whl/cpu can't be installed because it doesn't have a source distribution or wheel for the current platform\n\nhint: You're using CPython 3.14 (cp314), but torch (v2.8.0) only has wheels with the following Python ABI tag: cp313t"
time=11:23:40 level="INFO " msg="WhisperX environment already ready"
time=11:23:40 level="INFO " msg="transcription model initialized" model_id=whisperx
time=11:23:44 level="INFO " msg="Environment already configured by Parakeet"
time=11:23:44 level="INFO " msg="Parakeet environment not ready, setting up"
time=11:23:44 level="INFO " msg="Canary model already exists" path=data/whisperx-env/parakeet/canary-1b-v2.nemo size=6358958080
time=11:23:44 level="INFO " msg="Canary environment prepared successfully"
time=11:23:44 level="INFO " msg="transcription model initialized" model_id=canary
time=11:23:44 level="INFO " msg="Installing Parakeet dependencies"
time=11:23:44 level="INFO " msg="Sortformer model already exists" path=data/whisperx-env/parakeet/diar_streaming_sortformer_4spk-v2.nemo size=471367680
time=11:23:44 level="INFO " msg="Sortformer environment prepared successfully"
time=11:23:44 level="INFO " msg="diarization model initialized" model_id=sortformer
time=11:23:44 level="INFO " msg="Parakeet model already exists" path=data/whisperx-env/parakeet/parakeet-tdt-0.6b-v3.nemo size=2509332480
time=11:23:44 level="INFO " msg="Created buffered transcription script" path=data/whisperx-env/parakeet/transcribe_buffered.py
time=11:23:44 level="INFO " msg="Parakeet environment prepared successfully"
time=11:23:44 level="INFO " msg="transcription model initialized" model_id=parakeet
time=11:23:44 level="WARN " msg="Some models failed to initialize" error_count=1
time=11:23:44 level="WARN " msg="Model initialization error" error="diarization model pyannote: failed to setup PyAnnote environment: uv sync failed: exit status 2: Resolved 132 packages in 3ms\nerror: Distribution torch==2.8.0 @ registry+https://download.pytorch.org/whl/cpu can't be installed because it doesn't have a source distribution or wheel for the current platform\n\nhint: You're using CPython 3.14 (cp314), but torch (v2.8.0) only has wheels with the following Python ABI tag: cp313t"
time=11:23:44 level="INFO " msg="Model initialization completed"
time=11:23:44 level="INFO " msg="Unified transcription service initialized successfully"
[+] Initializing quick transcription service
[+] Starting background processing
time=11:23:44 level="INFO " msg="Scriberr is ready" url=http://0.0.0.0:8080

This is runing on a Macbook Pro M4 Pro 24 gb ram, 512 gb integrated ssd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions