Kwai-Kolors / Kolors

Kolors Team
Apache License 2.0
3.43k stars 219 forks source link

提交了一次错误的版本,requirements.txt中huggingface-hub和transformers冲突 #55

Open kawayi12318 opened 1 month ago

kawayi12318 commented 1 month ago

image

问题 pip install -r requirements.txt时报错如下: ` The conflict is caused by: The user requested safetensors==0.3.3 accelerate 0.27.2 depends on safetensors>=0.3.1 transformers 4.42.4 depends on safetensors>=0.4.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict `

原因 git提交日志中有一次错误的提交

解决方法 修改为上一次提交即可 transformers==4.42.4和huggingface-hub==0.23.4无法安装 修改为huggingface-hub==0.20.2和transformers==4.26.1