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 bc9edde commit 0507792Copy full SHA for 0507792
tests/data/tensorflow_mnist/mnist_mwms.py
@@ -53,3 +53,5 @@ def build_and_compile_cnn_model():
53
multi_worker_model = build_and_compile_cnn_model()
54
55
multi_worker_model.fit(multi_worker_dataset, epochs=3, steps_per_epoch=70)
56
+
57
+print(f"strategy.num_replicas_in_sync={strategy.num_replicas_in_sync}")
tests/integ/test_tf.py
@@ -212,7 +212,7 @@ def test_mwms_gpu(
212
logs = captured.out + captured.err
213
print(logs)
214
assert "Running distributed training job with multi_worker_mirrored_strategy setup" in logs
215
- assert f"nranks {instance_count}" in logs
+ assert f"strategy.num_replicas_in_sync={instance_count}" in logs
216
217
218
@pytest.mark.release
0 commit comments