transformers: [BUG] Protobuf not being correctly installed

System Info

transformers==4.30.2 Protobuf not being installed along with transformers even when it’s specified in setup.py. This can be an issue if the environment already installs latest version of protobuf, which is not compatible with tranformers

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, …)
  • My own task or dataset (give details below)

Reproduction

pip install transformers -U pip freeze | grep protobuf

Expected behavior

protobuf with correct pinned version should be installed

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16

Most upvoted comments

@yinweisu

FYI: after #24599, we no longer pin protobuf in transformers.