Unverified Commit d1ba56d8 authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

remove absl workaround as it's no longer needed (#14909)

the absl workaround hasn't been needed since 2019-04 https://github.com/abseil/abseil-py/issues/99 so it should be safe to remove it.
parent 04cddaf4
...@@ -24,18 +24,6 @@ ...@@ -24,18 +24,6 @@
__version__ = "4.16.0.dev0" __version__ = "4.16.0.dev0"
# Work around to update TensorFlow's absl.logging threshold which alters the
# default Python logging output behavior when present.
# see: https://github.com/abseil/abseil-py/issues/99
# and: https://github.com/tensorflow/tensorflow/issues/26691#issuecomment-500369493
try:
import absl.logging
except ImportError:
pass
else:
absl.logging.set_verbosity("info")
absl.logging.set_stderrthreshold("info")
absl.logging._warn_preinit_stderr = False
from typing import TYPE_CHECKING from typing import TYPE_CHECKING
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment