Skip to content

Commit 1730382

Browse files
update
1 parent 170fe71 commit 1730382

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tensorflow_recommenders_addons/dynamic_embedding/python/kernel_tests/horovod_embedding_restrict_save_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ def test_all_to_all_embedding_restrict_policy_save(self):
9393
if hvd.rank() == 0:
9494
if os.path.exists(save_dir):
9595
shutil.rmtree(save_dir)
96-
hvd.join() # Sync for avoiding files conflict
96+
# Sync for avoiding files conflict
97+
hvd.join()
9798
base_model.save(save_dir, options=save_options)
9899
de.keras.models.save_model(base_model, save_dir, options=save_options)
99100

0 commit comments

Comments
 (0)