Closed smiles724 closed 1 year ago
Hi, may I ask a question about DDP?
I notice that you use model.model.module to get access some customized attributes like get_embedding(). Nevertheless, as far as I know, the right way ought to be model.module.
model.model.module
get_embedding()
model.module
Interestingly, model.model.module works well in your original version.
Hi, may I ask a question about DDP?
I notice that you use
model.model.module
to get access some customized attributes likeget_embedding()
. Nevertheless, as far as I know, the right way ought to bemodel.module
.Interestingly,
model.model.module
works well in your original version.