MuseTalk icon indicating copy to clipboard operation
MuseTalk copied to clipboard

[Bug] Model download script triggers huggingface_hub version conflict, breaking inference

Open zengzengqwq opened this issue 1 month ago • 0 comments

Description

I encountered a dependency conflict after running the model download script (download_weights.sh). The script forces an upgrade of huggingface_hub, which breaks compatibility with the installed transformers version required by MuseTalk.

Specifically, the download script executes pip install -U "huggingface_hub[cli]", installing a version (e.g., 1.1.5) that is incompatible with the transformers library, which requires huggingface-hub<1.0.

Steps to Reproduce

  1. Set up the MuseTalk environment and install dependencies.
  2. Run the script to download weights (which contains pip install -U "huggingface_hub[cli]").
  3. Run the inference script: sh inference.sh v1.0 normal.

Root Cause Analysis

The script download_weights.sh (or equivalent) contains the following line:

# Install required packages
pip install -U "huggingface_hub[cli]"

Environment

  • MuseTalk version: main branch
  • Python: 3.10
  • Transformers version: 4.39.2
  • Huggingface_hub version (after script): 1.1.5

zengzengqwq avatar Nov 24 '25 21:11 zengzengqwq