# MTNode · SoulX-FlashHead Lite backend deps (Windows, single GPU).
# Derived from the official requirements.txt minus the Linux/CUDA-only pins:
#   nvidia-nccl-cu12 (no Windows wheel), xformers (Linux wheels only for this torch),
#   decord (no Windows wheel), gradio/flask (only used by the upstream demo apps).
# torch itself is installed by scripts/install.ps1 (pinned 2.8.0+cu128).
diffusers>=0.34.0
transformers==4.57.3
tokenizers>=0.20.3
accelerate>=1.8.1
xfuser>=0.4.3
# opencv is PINNED, both dists, on purpose:
#   * upstream asks for >=4.12.0.88, which today resolves to 5.0.0.93 -- its 53.8MB wheel is
#     the single most common place this install stalls (a mirror can hand out a connection
#     that trickles at <100 KB/s; see the stall watchdog in install.ps1);
#   * mediapipe 0.10.9 pulls opencv-contrib-python with no upper bound, so an unpinned
#     resolve ships opencv-python 5.x next to opencv-contrib-python 5.x / 4.x -- two dists
#     writing the same cv2 tree. Both are pinned to the same version instead.
opencv-python==4.12.0.88
opencv-contrib-python==4.12.0.88
imageio
imageio-ffmpeg
easydict
ftfy
scikit-image
loguru
pyloudnorm
librosa
mediapipe==0.10.9
tqdm
einops
safetensors
pillow
numpy
