Commit 3d6dc1dd authored by Yen-chi Chen's avatar Yen-chi Chen
Browse files

In #2276, auto_parallel(metagraph, model) try to import google3

This will error when num_gpus > 1
parent 09a32f32
......@@ -86,7 +86,7 @@ class UpdateCollection(object):
def auto_parallel(metagraph, model):
from google3.third_party.tensorflow.python.grappler import tf_optimizer
from tensorflow.python.grappler import tf_optimizer
rewriter_config = rewriter_config_pb2.RewriterConfig()
rewriter_config.optimizers.append("autoparallel")
rewriter_config.auto_parallel.enable = True
......
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