Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particular retrieved model fails with proto descriptor error #373

Open
saum7800 opened this issue Oct 28, 2023 · 2 comments
Open

Particular retrieved model fails with proto descriptor error #373

saum7800 opened this issue Oct 28, 2023 · 2 comments

Comments

@saum7800
Copy link
Collaborator

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.

@neubig
Copy link
Collaborator

neubig commented Oct 28, 2023

I'm not sure how common this particular error is (I've never encountered it myself), so maybe we don't need to deal with it specifically. It would be good if we have a mechanism to fall back to the next model in the retrieved model list if one fails for an edge case like this.

@saum7800 saum7800 assigned viswavi and unassigned viswavi Oct 28, 2023
@saum7800
Copy link
Collaborator Author

yeah I think a fall back mechanism makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants