zjunlp / EasyEdit

[ACL 2024] An Easy-to-use Knowledge Editing Framework for LLMs.
https://zjunlp.github.io/project/KnowEdit
MIT License
1.74k stars 210 forks source link

A Package Conflict When Installing Dependencies #268

Closed nuster1128 closed 3 months ago

nuster1128 commented 3 months ago

Kindly remind a package conflict between tokenizers==0.13.3 and transformers==4.40.0 when installing dependencies. Error Message:

INFO: pip is looking at multiple versions of transformers to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 19) and tokenizers==0.13.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested tokenizers==0.13.3
    transformers 4.40.0 depends on tokenizers<0.20 and >=0.19

Replace transformers==4.40.0 with transformers can address this issue for installation.

XeeKee commented 3 months ago

Thank you very much for your suggestion. However, we set 'transformers==4.40.0' to ensure compatibility with LLaMA3. We have already replaced 'tokenizers==0.13.3' with 'tokenizers' in the requirements.

nuster1128 commented 3 months ago

Thanks for addressing my issue. Have a good weekend :)