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 'mpi4py' has no attribute 'MPI' #37

Open
Ningxin88 opened this issue Jul 22, 2024 · 0 comments
Open

AttributeError: module 'mpi4py' has no attribute 'MPI' #37

Ningxin88 opened this issue Jul 22, 2024 · 0 comments

Comments

@Ningxin88
Copy link

When I try to run the file ilvr_sample.py, I get stuck in the import dist_util.py. So I started trying to run this file, but I got an error, I tried to change the import to the form import mpi4py.MPI, but it still got an error (like the title). I tried searching the internet for some tutorials, but I couldn't download MPI from sudo

~/ilvr_adm$ python scripts/ilvr_sample.py Traceback (most recent call last): File "/data/hdd01/yaohy/ilvr_adm/scripts/ilvr_sample.py", line 130, in <module> main() File "/data/hdd01/yaohy/ilvr_adm/scripts/ilvr_sample.py", line 46, in main dist_util.setup_dist() File "/data/hdd01/yaohy/ilvr_adm/guided_diffusion/dist_util.py", line 30, in setup_dist comm = mpi4py.MPI.COMM_WORLD ^^^^^^^^^^ AttributeError: module 'mpi4py' has no attribute 'MPI'

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

1 participant