Turn on VariablePolicy for TPUStrategy.
PiperOrigin-RevId: 337261118 Change-Id: I65e13d10f7766d9d637391e1f4714718f2f6a85c
This commit is contained in:
parent
6b3a88b6e9
commit
fbd73cd25d
@ -740,7 +740,7 @@ class TPUExtended(distribute_lib.StrategyExtendedV1):
|
||||
atexit.register(async_wait)
|
||||
|
||||
# Flag to turn on VariablePolicy
|
||||
self._use_var_policy = True
|
||||
self._use_var_policy = False
|
||||
|
||||
def _validate_colocate_with_variable(self, colocate_with_variable):
|
||||
distribute_utils. validate_colocate(colocate_with_variable, self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user