pyannote-metrics 4.x requires numpy>=2.2.2; conflicts with numpy<2.2 for older CPUs Made-with: Cursor
20 lines
924 B
Plaintext
20 lines
924 B
Plaintext
# 웹·로컬 공통: 화자 분리(pyannote). 메인 requirements.txt 설치 후 이 파일을 설치하세요.
|
|
#
|
|
# pip install -U pip setuptools wheel
|
|
# pip install -r requirements.txt
|
|
# pip install -r requirements-diarize.txt
|
|
#
|
|
# `pyannote.audio>=3.1.0` 만 단독으로 두면 최신 메이저가 끌려와 torch/lightning/opentelemetry
|
|
# 등으로 pip 해석 깊이가 커져 Linux에서 resolution-too-deep 이 날 수 있습니다.
|
|
# 여기서는 pyannote 3.3.x + torch를 고정합니다 (PyPI 메타: torch>=2.0.0).
|
|
#
|
|
# CPU Linux: PyTorch 공식 CPU 인덱스
|
|
--extra-index-url https://download.pytorch.org/whl/cpu
|
|
torch==2.5.1
|
|
torchaudio==2.5.1
|
|
lightning==2.4.0
|
|
huggingface_hub>=0.26.0,<0.36.0
|
|
# pyannote-metrics 4.x 는 numpy>=2.2.2 를 요구합니다. 베이스 requirements.txt 의 numpy<2.2(구형 CPU·X86_V2 회피)와 맞추려면 3.x 로 캡합니다.
|
|
pyannote-metrics>=3.2,<4
|
|
pyannote.audio==3.3.2
|