Skip to content

Commit

Permalink
Fix neuron cache starting compilation before fetching (#280)
Browse files Browse the repository at this point in the history
Waiting on fetch
  • Loading branch information
michaelbenayoun authored Nov 2, 2023
1 parent b9df655 commit 39450e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/neuron/trainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(self, *args, **kwargs):
original_neuron_cache_path=_ORIGINAL_NEURON_CACHE_PATH,
fetch=fetch,
push=push,
wait_for_everyone_on_fetch=False,
wait_for_everyone_on_fetch=True,
wait_for_everyone_on_push=True,
)
self.add_callback(callback)
Expand Down

0 comments on commit 39450e4

Please sign in to comment.