-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
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
AttributeError: module 'torch.distributed' has no attribute '_all_gather_base' #98
Comments
I have also encountered this problem, please let me know if there is a solution |
I have met the same problem |
found the solution, the newest apex (master branch) is not compatible with the old torch version, change to some of older branches e.g. 22.04-dev and it will work. refer to here |
you can use:
it can sovle my problem,and it can work well. |
Jetson AGX Xavier |
ImportError: cannot import name 'container_abcs' from 'torch._six' (/root/data1/lxy/envs/python38/lib/python3.8/site-packages/torch/_six.py) |
While running
extract_features.py
facing the following error:File "/lfs/usrhome/ms/cs21s058/.conda/envs/caption/lib/python3.7/site-packages/apex-0.1-py3.7.egg/apex/transformer/utils.py", line 11, in
AttributeError: module 'torch.distributed' has no attribute '_all_gather_base'
Pytorch version : 1.5.1
CUDA: 10.1
Python 3.7
Anyone please help me out with this issue.
The text was updated successfully, but these errors were encountered: