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'snameargument value?What is your question?
Accelerator.barrierfunction acceptnameargument (doc)Type of
nameisOptional[str], so there is no information of availablestrvalue.Are there available value list?
By the way, in
CheckpointConnector,name='TrainerIOMixin.restore_weights'is used.There is no module named
TrainerIOMixin, andrestore_weightsis hard coded function name (it is now too old name...).If the list is clarified, we can refactor this not good
namevalue.Code
from doc:
nameisOptional[str].What's your environment?
master f740245
Beta Was this translation helpful? Give feedback.
All reactions