Replies: 1 comment 1 reply
-
The name argument is just for readability. As a comment for why the barrier is performed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
❓ Questions and Help
Are there the list of available
Accelerator.barrier
'sname
argument value?What is your question?
Accelerator.barrier
function acceptname
argument (doc)Type of
name
isOptional[str]
, so there is no information of availablestr
value.Are there available value list?
By the way, in
CheckpointConnector
,name='TrainerIOMixin.restore_weights'
is used.There is no module named
TrainerIOMixin
, andrestore_weights
is hard coded function name (it is now too old name...).If the list is clarified, we can refactor this not good
name
value.Code
from doc:
name
isOptional[str]
.What's your environment?
master f740245
Beta Was this translation helpful? Give feedback.
All reactions