aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py')
-rw-r--r--tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py b/tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py
index f0144e9faa..c74da9cabd 100644
--- a/tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py
+++ b/tensorflow/contrib/cluster_resolver/python/training/tpu_cluster_resolver.py
@@ -80,13 +80,9 @@ class TPUClusterResolver(ClusterResolver):
raise ImportError('googleapiclient must be installed before using the '
'TPU cluster resolver')
- # TODO(b/67375680): Remove custom URL once TPU APIs are finalized
self._service = discovery.build(
- 'tpu',
- 'v1',
- credentials=self._credentials,
- discoveryServiceUrl='https://storage.googleapis.com'
- '/tpu-api-definition/v1alpha1.json')
+ 'tpu', 'v1alpha1',
+ credentials=self._credentials)
else:
self._service = service