Skip to content
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 'deprecated' #63

Open
Nakupenda-7 opened this issue Nov 26, 2020 · 4 comments

Comments

@Nakupenda-7
Copy link

Traceback (most recent call last):
File "E:/cavaface.pytorch/train.py", line 23, in
from apex.parallel import DistributedDataParallel as DDP
File "E:\anaconda\lib\site-packages\apex\parallel_init_.py", line 8, in
ReduceOp = torch.distributed.deprecated.reduce_op
AttributeError: module 'torch.distributed' has no attribute 'deprecated'

@cavalleria
Copy link
Owner

please make sure your env settings

@Nakupenda-7
Copy link
Author

please make sure your env settings

Is it because windows does not support?

@cavalleria
Copy link
Owner

i have not tested in windows. maybe

@cepedus
Copy link

cepedus commented Dec 6, 2020

windows does not support DistributedDataParallel nor apex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants