-
Notifications
You must be signed in to change notification settings - Fork 75
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
Google protobuf package must be <= 3.20.1 #82
Comments
Thanks for reporting this. This is a very recent bug on PyTorch lightning side: Lightning-AI/pytorch-lightning#13177 I'll pin that version on COMET side also while we wait for a new version in lightning |
Thank you very much, @ugermann! |
I released a new version that Pins this version. Nonetheless, it still looks like it is failing for Python 3.9. In any case please test v1.1.1. |
@Maaalik Thanks for pointing out the errors in the docker commands I provided. They have now been corrected. I haven't used Google Colab yet, so I'm afraid I won't be able to provide any useful guidance in this respect. |
Thank you very much, @ricardorei! |
🐛 Bug
The current latest version of Google's protobuf python package is 4.x.x. However, the unbabel-comet python package requires (but does not specify) protobuf<=3.20.1.
To Reproduce
Here's a Dockerfile (for GPU-enabled nvidia-docker):
unbabel-comet-dockerfile.txt
Build a Docker image:
If you then run
docker run --rm unbabelcomet:latest comet-score
, you get the following:Uncomment the last line in the Dockerfile, rebuild the Docker image and things work as expected:
Environment
OS: Ubuntu 20.04 with Nvidia docker (see https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker)
Packaging: Docker
The text was updated successfully, but these errors were encountered: