fix(pip): split diarize deps to avoid resolution-too-deep on Linux

- 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
This commit is contained in:
dosangyoon
2026-03-23 16:03:26 +09:00
parent 5edd0b32e7
commit 49c2e4a5a7
4 changed files with 28 additions and 20 deletions

17
requirements-diarize.txt Normal file
View File

@@ -0,0 +1,17 @@
# 웹·로컬 공통: 화자 분리(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