prompt2model icon indicating copy to clipboard operation
prompt2model copied to clipboard

Particular retrieved model fails with proto descriptor error

Open saum7800 opened this issue 1 year ago • 2 comments

When trying a particular task, the model retriever retrieved this model: mrm8488/t5-base-finetuned-common_gen.

Just before training could start, p2m crashed with the following error log:

TypeError: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "sentencepiece_model.proto":
  sentencepiece_model.proto: A file with this name is already in the pool.

After searching for other people facing this issue, I found the following 3 links: https://github.com/protocolbuffers/protobuf/issues/12882 https://github.com/ValvePython/csgo/issues/8#issuecomment-296345877 https://github.com/protocolbuffers/protobuf/issues/3002#issuecomment-314179893

It seems during installation, we would need a user to install protobuf with

pip install --no-binary protobuf protobuf

Not sure what a cleaner way to do it would be.

saum7800 avatar Oct 28 '23 05:10 saum7800