We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ededf commit 4865818Copy full SHA for 4865818
lingvo/core/gshard_utils.py
@@ -30,7 +30,7 @@
30
from tensorflow.python.compiler.xla.experimental import xla_sharding
31
except ImportError:
32
# OSS backward compatibility, can be removed when TF is updated.
33
- from tensorflow.compiler.xla.experimental.xla_sharding import xla_sharding
+ from tensorflow.compiler.xla.experimental.xla_sharding import xla_sharding # pytype: disable=import-error
34
# pylint: enable=g-direct-tensorflow-import
35
36
ThreadLocalStack = thread_local_utils.ThreadLocalStack
0 commit comments