You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"item.weight.requires_grad = True" of the forward function of class BlockA, BlockB and BlockC will cause the above error. I found it is caused by the use of DataParallel of the model. So how to train with multiple gpus?
The text was updated successfully, but these errors were encountered:
Hi @Bear-kai , this code is a converted version of the original one and just for inference. We implement the parallel training with an internal library, similar to the distributed data parallel in PyTorch.
"item.weight.requires_grad = True" of the forward function of class BlockA, BlockB and BlockC will cause the above error. I found it is caused by the use of DataParallel of the model. So how to train with multiple gpus?
The text was updated successfully, but these errors were encountered: