8000 Revert D42257039: Multisect successfully blamed D42257039 for test or… · pytorch/pytorch@f66650f · GitHub
[go: up one dir, main page]

Skip to content

Commit f66650f

Browse files
weiwangmetafacebook-github-bot
authored andcommitted
Revert D42257039: Multisect successfully blamed D42257039 for test or build failures
Summary: This diff is reverting D42257039 D42257039 has been identified to be causing the following test or build failures: Tests affected: - [assistant/neural_dm/rl/modules/tests:action_mask_classifier_test - main](https://www.internalfb.com/intern/test/281475048940766/) Here's the Multisect link: https://www.internalfb.com/intern/testinfra/multisect/1493969 Here are the tasks that are relevant to this breakage: T93770103: 1 test started failing for oncall assistant_multimodal in the last 2 weeks We're generating a revert to back out the changes in this diff, please note the backout may land if someone accepts it. Test Plan: NA Reviewed By: weiwangmeta Differential Revision: D42272391 fbshipit-source-id: 9b12d0c9f0b88ddfa839149e1d4a74b39c473259
1 parent 77c2a8a commit f66650f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

setup.py

Lines chang E124 ed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,6 @@ def main():
981981
'typing_extensions',
982982
'sympy',
983983
'networkx',
984-
'packaging'
985984
]
986985

987986
extras_require = {

torch/utils/tensorboard/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import tensorboard
2-
from packaging import version # type: ignore[import]
2+
from distutils.version import LooseVersion
33

4-
if not hasattr(tensorboard, "__version__") or version.parse(
4+
if not hasattr(tensorboard, "__version__") or LooseVersion(
55
tensorboard.__version__
6-
) < version.Version("1.15"):
6+
) < LooseVersion("1.15"):
77
raise ImportError("TensorBoard logging requires TensorBoard version 1.15 or above")
88

9-
del version
9+
del LooseVersion
1010
del tensorboard
1111

1212
from .writer import FileWriter, SummaryWriter # noqa: F401

0 commit comments

Comments
 (0)
0