- requirements.txt: drop pyannote/huggingface_hub (kept in diarize file) - requirements-diarize.txt: pin torch 2.5.1, torchaudio, lightning 2.4.0, pyannote.audio 3.3.2 - environment.yml: install both requirement files - README: two-step install, update options and platform table Made-with: Cursor
18 lines
732 B
Plaintext
18 lines
732 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.audio==3.3.2
|