Closed scottfleming closed 6 months ago
Hi @scottfleming! I like this suggestions but I rather go for 2. Because if for some reason HF decides to decouple the two packages, COMET will stop working (unable to download models).
I just released a new version that should solve this dependency issue. Ping me if the error still persists.
PS: I went for option 2
Thanks so much, @ricardorei! I'll test this out and let you know if I run into any problems.
🐛 Bug
COMET has an explicit dependency for both
transformers = "^4.17"
andhuggingface-hub = "^0.16.0"
which will only allow versions up to 0.17.0, but the newest version of transformers (v4.36.1) has its ownhuggingface-hub
dependency which is>=0.19.3,<1.0
. This creates dependency conflicts for anyone trying to build a package onCOMET
and the latesttransformers
package. Can we do one of the following:huggingface-hub
dependency fromCOMET
and just keep thetransformers
dependency given that the former is implicit in the latter;huggingface-hub
dependency thattransformers
uses (namely"huggingface-hub>=0.19.3,<1.0"
) to mitigate dependency conflicts;huggingface-hub
dependency to be^0.19.3
.