Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
ac97f01b
Commit
ac97f01b
authored
Jan 21, 2020
by
Peter Hawkins
Committed by
A. Unique TensorFlower
Jan 21, 2020
Browse files
Remove explicit initialize_tpu_system call from model garden.
PiperOrigin-RevId: 290795650
parent
d206786b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
official/utils/misc/tpu_lib.py
official/utils/misc/tpu_lib.py
+1
-0
No files found.
official/utils/misc/tpu_lib.py
View file @
ac97f01b
...
@@ -30,4 +30,5 @@ def tpu_initialize(tpu_address):
...
@@ -30,4 +30,5 @@ def tpu_initialize(tpu_address):
tpu
=
tpu_address
)
tpu
=
tpu_address
)
if
tpu_address
not
in
(
''
,
'local'
):
if
tpu_address
not
in
(
''
,
'local'
):
tf
.
config
.
experimental_connect_to_cluster
(
cluster_resolver
)
tf
.
config
.
experimental_connect_to_cluster
(
cluster_resolver
)
tf
.
tpu
.
experimental
.
initialize_tpu_system
(
cluster_resolver
)
return
cluster_resolver
return
cluster_resolver
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment