Skip to content

Commit 4b566d4

Browse files
tayotfboyd
authored andcommitted
Updating stale DistributionStrategy test. (#6281)
1 parent e1ae37c commit 4b566d4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

official/utils/misc/distribution_utils_test.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ def test_mirrored_strategy(self):
4444
for device in ds.extended.worker_devices:
4545
self.assertIn('GPU', device)
4646

47-
def test_override_strategy(self):
48-
ds = distribution_utils.get_distribution_strategy(
49-
distribution_strategy='collective', num_gpus=2)
50-
self.assertTrue(
51-
isinstance(ds, tf.contrib.distribute.CollectiveAllReduceStrategy))
52-
5347

5448
class PerDeviceBatchSizeTest(tf.test.TestCase):
5549
"""Tests for per_device_batch_size."""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy