Skip to content

fix: add PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python to resolve pro…#3853

Open
Chakradhar886 wants to merge 1 commit intomainfrom
fix/protobuf-mlflow-compatibility
Open

fix: add PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python to resolve pro…#3853
Chakradhar886 wants to merge 1 commit intomainfrom
fix/protobuf-mlflow-compatibility

Conversation

@Chakradhar886
Copy link
Copy Markdown
Member

…tobuf 5.x/MLflow incompatibility

The curated tensorflow-2.16-cuda12 environment was updated with protobuf 5.x, which uses _upb C implementation that drops FieldDescriptor.label attribute. This causes MLflow log_batch() to crash with AttributeError.

Setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python forces the compatible pure Python implementation.

Description

Checklist

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

…tobuf 5.x/MLflow incompatibility

The curated tensorflow-2.16-cuda12 environment was updated with protobuf 5.x,
which uses _upb C implementation that drops FieldDescriptor.label attribute.
This causes MLflow log_batch() to crash with AttributeError.

Setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python forces the compatible
pure Python implementation.
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