Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
Apache License 2.0
2.37k
stars
247
forks
source link
Building wheels for collected packages: transformers install a wrong version of transformers (4.18.0) which is not compatible with sentence-transformers #443
Building wheels for collected packages: transformers
Building wheel for transformers (pyproject.toml) ... done
Created wheel for transformers: filename=transformers-4.18.0.dev0-py3-none-any.whl size=3916697 sha256=e0705580593e785569eb7b175f60a105e4d6f68600ed624e8b6fe51632740a00
Stored in directory: C:\Users\giaco\AppData\Local\Temp\pip-ephem-wheel-cache-_9d05b9h\wheels\7f\61\a4\40605385b5c18f5e68b93995cf621323af03bb7ff123d0f5cf
Successfully built transformers
DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: transformers
Attempting uninstall: transformers
Found existing installation: transformers 4.41.2
Uninstalling transformers-4.41.2:
Successfully uninstalled transformers-4.41.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sentence-transformers 2.7.0 requires transformers<5.0.0,>=4.34.0, but you have transformers 4.18.0.dev0 which is incompatible.
When performing the command:
I get this error when building the wheel:
How can I solve this issue?