Skip to content

Conversation

@Dawars
Copy link
Contributor

@Dawars Dawars commented May 29, 2019

I accidentally added a TF dependency in #20413 by using the from tensorboard.plugins.mesh.summary import _get_json_config import.

I'm removing it at the cost of code duplication.

@orionr, Please review.

Copy link
Contributor

@orionr orionr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@orionr
Copy link
Contributor

orionr commented May 29, 2019

I'm happy to land this as-is, since it is strictly better, but please add a test for add_mesh to https://github.com/pytorch/pytorch/blob/master/test/test_tensorboard.py. That way unit tests should error out if we introduce a TF dependency. Let's do that with a separate PR.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@orionr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@orionr merged this pull request in a6bb154.

akyrola pushed a commit to akyrola/pytorch that referenced this pull request Jun 3, 2019
Summary:
I accidentally added a TF dependency in pytorch#20413 by using the from tensorboard.plugins.mesh.summary import _get_json_config import.

I'm removing it at the cost of code duplication.

orionr, Please review.
Pull Request resolved: pytorch#21066

Reviewed By: natalialunova

Differential Revision: D15538746

Pulled By: orionr

fbshipit-source-id: 8a822719a4a9f5d67f1badb474e3a73cefce507f
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.

5 participants