Skip to content

Conversation

justinxzhao
Copy link
Collaborator

No description provided.

@justinxzhao justinxzhao changed the title Explicitly uninstall tensorflow to prevent protobuf version conflict when installing ludwig. In tutorial notebooks, explicitly uninstall tensorflow to prevent protobuf version conflict when installing ludwig. Oct 19, 2022
@justinxzhao
Copy link
Collaborator Author

It looks like ludwig-ai/ludwig#2673 fixes one protobuf issue in our tutorial/demo colab notebooks, but there's now a new protobuf error that happens during the training of Ludwig models, if tensorflow is also installed:

[libprotobuf FATAL google/protobuf/stubs/common.cc:87] This program was compiled against version 3.9.2 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.17.3). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "bazel-out/k8-opt/bin/tensorflow/core/framework/tensor_shape.pb.cc".)

I'll recommend that we proceed with this change to explicitly uninstall tensorflow in our tutorial/demo colab notebooks.

@justinxzhao justinxzhao merged commit 0c1d51c into master Oct 24, 2022
@justinxzhao justinxzhao deleted the fix_notebooks branch October 24, 2022 16:46
@justinxzhao
Copy link
Collaborator Author

Confirming that this is still an issue with tensorflow's 2.11.0rc1 pre-release.

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

Successfully merging this pull request may close these issues.

1 participant