Unverified Commit 9e23bab8 authored by Frank Chen's avatar Frank Chen Committed by GitHub
Browse files

Use the short path for TPUClusterResolver

The long path doesn't work for TensorFlow 1.6 because the .python package under cluster_resolver doesn't exist.
parent aff0c314
......@@ -140,7 +140,7 @@ def main(argv):
tpu_grpc_url = FLAGS.master
else:
tpu_cluster_resolver = (
tf.contrib.cluster_resolver.python.training.TPUClusterResolver(
tf.contrib.cluster_resolver.TPUClusterResolver(
tpu_names=[FLAGS.tpu_name],
zone=FLAGS.tpu_zone,
project=FLAGS.gcp_project))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment