Skip to content

Conversation

@awaelchli
Copy link
Contributor

@awaelchli awaelchli commented Aug 6, 2021

What does this PR do?

Fixes #8754

Labelling it as bugfix to unblock user in #8754 with 1.4.2 release.

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

I made sure I had fun coding 🙃

@codecov
Copy link

codecov bot commented Aug 6, 2021

Codecov Report

Merging #8765 (34da26d) into master (8473cf4) will decrease coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #8765   +/-   ##
======================================
- Coverage      93%     93%   -0%     
======================================
  Files         169     169           
  Lines       14072   14103   +31     
======================================
+ Hits        13041   13064   +23     
- Misses       1031    1039    +8     

@awaelchli awaelchli added the ci Continuous Integration label Aug 6, 2021
@awaelchli awaelchli marked this pull request as ready for review August 6, 2021 12:18
@awaelchli awaelchli added this to the v1.4.x milestone Aug 6, 2021
@awaelchli awaelchli added the bug Something isn't working label Aug 6, 2021
@Borda Borda enabled auto-merge (squash) August 6, 2021 12:20
@mergify mergify bot added the ready PRs ready to be merged label Aug 6, 2021
@Borda Borda merged commit cc03615 into master Aug 6, 2021
@Borda Borda deleted the ci/lift-tb-restriction branch August 6, 2021 13:15
@carmocca
Copy link
Contributor

carmocca commented Aug 7, 2021

Seems like this broke master...

______________ ERROR collecting tests/loggers/test_tensorboard.py ______________
tests/loggers/test_tensorboard.py:23: in <module>
    from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
/usr/local/lib/python3.7/dist-packages/tensorboard/backend/event_processing/event_accumulator.py:21: in <module>
    from tensorboard.backend.event_processing import event_file_loader
/usr/local/lib/python3.7/dist-packages/tensorboard/backend/event_processing/event_file_loader.py:21: in <module>
    from tensorboard import dataclass_compat
/usr/local/lib/python3.7/dist-packages/tensorboard/dataclass_compat.py:35: in <module>
    from tensorboard.plugins.mesh import metadata as mesh_metadata
/usr/local/lib/python3.7/dist-packages/tensorboard/plugins/mesh/metadata.py:20: in <module>
    from tensorboard.plugins.mesh import plugin_data_pb2
/usr/local/lib/python3.7/dist-packages/tensorboard/plugins/mesh/plugin_data_pb2.py:23: in <module>
    serialized_pb=_b('\n*tensorboard/plugins/mesh/plugin_data.proto\x12\x10tensorboard.mesh\"\xea\x01\n\x0eMeshPluginData\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x42\n\x0c\x63ontent_type\x18\x03 \x01(\x0e\x32,.tensorboard.mesh.MeshPluginData.ContentType\x12\x13\n\x0bjson_config\x18\x05 \x01(\t\x12\r\n\x05shape\x18\x06 \x03(\x05\x12\x12\n\ncomponents\x18\x07 \x01(\r\"=\n\x0b\x43ontentType\x12\r\n\tUNDEFINED\x10\x00\x12\n\n\x06VERTEX\x10\x01\x12\x08\n\x04\x46\x41\x43\x45\x10\x02\x12\t\n\x05\x43OLOR\x10\x03\x62\x06proto3')
/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py:983: in __new__
    return _message.default_pool.AddSerializedFile(serialized_pb)
E   TypeError: Couldn't build proto file into descriptor pool!
E   Invalid proto descriptor for file "tensorboard/plugins/mesh/plugin_data.proto":
E     tensorboard.mesh.MeshPluginData.version: "tensorboard.mesh.MeshPluginData.version" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.name: "tensorboard.mesh.MeshPluginData.name" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.content_type: "tensorboard.mesh.MeshPluginData.content_type" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.json_config: "tensorboard.mesh.MeshPluginData.json_config" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.shape: "tensorboard.mesh.MeshPluginData.shape" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.UNDEFINED: "tensorboard.mesh.MeshPluginData.UNDEFINED" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.UNDEFINED: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it.  Therefore, "UNDEFINED" must be unique within "tensorboard.mesh.MeshPluginData", not just within "ContentType".
E     tensorboard.mesh.MeshPluginData.VERTEX: "tensorboard.mesh.MeshPluginData.VERTEX" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.VERTEX: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it.  Therefore, "VERTEX" must be unique within "tensorboard.mesh.MeshPluginData", not just within "ContentType".
E     tensorboard.mesh.MeshPluginData.FACE: "tensorboard.mesh.MeshPluginData.FACE" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.FACE: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it.  Therefore, "FACE" must be unique within "tensorboard.mesh.MeshPluginData", not just within "ContentType".
E     tensorboard.mesh.MeshPluginData.COLOR: "tensorboard.mesh.MeshPluginData.COLOR" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.COLOR: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it.  Therefore, "COLOR" must be unique within "tensorboard.mesh.MeshPluginData", not just within "ContentType".
E     tensorboard.mesh.MeshPluginData.ContentType: "tensorboard.mesh.MeshPluginData.ContentType" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData: "tensorboard.mesh.MeshPluginData" is already defined in file "tensorboardX/proto/plugin_mesh.proto".
E     tensorboard.mesh.MeshPluginData.content_type: "tensorboard.mesh.MeshPluginData.ContentType" seems to be defined in "tensorboardX/proto/plugin_mesh.proto", which is not imported by "tensorboard/plugins/mesh/plugin_data.proto".  To use it here, please add the necessary import.

awaelchli added a commit that referenced this pull request Aug 7, 2021
@awaelchli awaelchli mentioned this pull request Aug 7, 2021
11 tasks
SeanNaren pushed a commit that referenced this pull request Aug 10, 2021
lexierule pushed a commit that referenced this pull request Aug 11, 2021
four4fish pushed a commit to four4fish/pytorch-lightning that referenced this pull request Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci Continuous Integration ready PRs ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PyTorch Lightning v1.4.1 not compatible with Tensorflow 2.5.0

4 participants