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

Bump tensorboardX to allow new protobuf #1033

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

MasterSkepticista
Copy link
Collaborator

@MasterSkepticista MasterSkepticista commented Aug 23, 2024

Description

This PR (permanently?) addresses protobuf version issues. OpenFL inadvertently capped protobuf to 3.x as a result of tensorboardX==2.6.

protobuf 3.20.x is >4y old at this point. So the plan is to get rid of this limitation.
It was observed that protos in OpenFL-Security (internal) builds case were always built with the recent protobuf by respecting what setup actually asked for (i.e >3.20.x version), while tensorboardX<=2.6 forced protobuf to be 3.x.

In summary, tensorboardX<=2.6 currently dictates protobuf==3.x to be used. They have long lifted this requirement of protobuf version with a minor version bump from 2.6 to 2.6.2.

Using tensorboardX>=2.6 allows usage of any recent protobuf version, making it flexible for any TPT package. Aside, tensorboardX should be deprecated in favor of PyTorch's native tensorboard support. This will be addressed in a future PR.

@MasterSkepticista
Copy link
Collaborator Author

PKI test disabled. Tracking #1034.

@MasterSkepticista MasterSkepticista merged commit 0dda444 into develop Aug 23, 2024
24 checks passed
@MasterSkepticista MasterSkepticista deleted the karansh1/tbx_bump branch August 23, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants