Skip to content

Particular retrieved model fails with proto descriptor error #373

@saum7800

Description

@saum7800

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:
protocolbuffers/protobuf#12882
ValvePython/csgo#8 (comment)
protocolbuffers/protobuf#3002 (comment)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions