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 31312d5 commit 0e13f76Copy full SHA for 0e13f76
tensorflow_asr/utils/env_util.py
@@ -112,7 +112,7 @@ def setup_strategy(
112
available_devices = setup_devices(devices)
113
if len(available_devices) == 1:
114
return tf.distribute.get_strategy()
115
- return tf.distribute.MirroredStrategy(devices=[d.name for d in available_devices])
+ return tf.distribute.MultiWorkerMirroredStrategy()
116
117
118
def has_devices(
0 commit comments