-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Get AttributeError: type object 'object' has no attribute 'SUM' #15494
Comments
I am getting the same error on M1 Mac while importing pytorch_lightning |
For local testing, i was able to work around it by |
Same error for me on M1:
Downgrading to 1.7.7 solved the issue for now. Hoping this gets fixed in 1.8.1. |
Downgrading to 1.7.7 solved it for me as well. I think the issue is due to the ColossalAI Integration added in 1.8 |
This linked PR should fix this issue. Thanks for reporting! This bug affects all users with a torch installation where |
This isn't the first time PyTorch Lightning broke support for PyTorch build without distributed support: #10348 I wonder if it would be possible to test PyTorch without distributed support in CI... |
I have already investigated in that direction. One could change it in the CI like you said. For now, I pretend distributed is not available. What I have added so far is this regression test. |
Bug description
Getting this error:
E AttributeError: type object 'object' has no attribute 'SUM'
How to reproduce the bug
Error messages and logs
Environment
More info
No response
cc @tchaton @rohitgr7
The text was updated successfully, but these errors were encountered: