-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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 'init_process_group' #467
Comments
Same here; MacOS, Python 3.7 through pip. pytorch version 1.0.0.
|
the OSX binary of PyTorch does not ship with distributed support. You can check this with: |
Thanks @soumith . I tried that indeed, but I was just wondering if it was documented anywhere, looked all over the place (e.g. maybe another backend would work?). Any tips on using MacOS anyway? It's mostly for convenience, dev testing. |
Do you have multiple GPUs on your OSX machine? :O :O :O Right now, we dont support CUDA or multi-GPU or a few of the distributed backends (such as gloo) on OSX, but if you are inclined, compile on OSX from source and it should have |
I think we can close this issue. |
Ran into this again on lazy sunday, looks like Pieter added this! pytorch/pytorch#20380 |
if i have cuda but i don't want use it.how should i do? |
AttributeError: module 'torch.distributed' has no attribute 'init_process_group'
Still getting this error after installing latest pytorch-nightly and other stuff, when I tried to run the imagenet example script.
The text was updated successfully, but these errors were encountered: