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

View File

@@ -8,10 +8,4 @@ faster-whisper
imageio-ffmpeg
psycopg[binary]
python-dotenv
# 화자 분리: 버전을 고정하지 않으면 pyannote 4.x + torch>=2.8 + opentelemetry 등으로
# 의존 그래프가 커져 pip가 «resolution-too-deep» 으로 실패하는 경우가 많습니다.
huggingface_hub>=0.26.0,<0.29.0
torch==2.5.1
torchaudio==2.5.1
lightning>=2.4.0,<2.5.0
pyannote.audio==3.3.2
# 화자 분리(pyannote·HF 허브): requirements-diarize.txt 를 추가로 설치 (torch 고정, pip resolution-too-deep 방지)