We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when run the train.py, encounters the problem: [rank2]: AttributeError: module 'torch.distributed' has no attribute 'nn'.
[rank2]: AttributeError: module 'torch.distributed' has no attribute 'nn'
The text was updated successfully, but these errors were encountered:
it can be solved by adding this line: import torch.distributed.nn as nn_dist in model/model_longclip.py file.
import torch.distributed.nn as nn_dist
model/model_longclip.py
by the way, @beichenzbc can u share the training log file, i want to see whether can reproduce the result. thanks
Sorry, something went wrong.
i also meet this error,thinks for your solution
No branches or pull requests
when run the train.py, encounters the problem:
[rank2]: AttributeError: module 'torch.distributed' has no attribute 'nn'
.The text was updated successfully, but these errors were encountered: