You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug report:
Please describe erroneous behavior you're observing and steps to reproduce it.
When I use this code import horovod.torch as hvd hvd.init()
This error occurs [0]<stdout>:Extension horovod.torch has not been built: /home/sykang/.local/lib/python3.10/site-packages/horovod/torch/mpi_lib_v2.cpython-310-x86_64-linux-gnu.so not found [0]<stdout>:If this is not expected, reinstall Horovod with HOROVOD_WITH_PYTORCH=1 to debug the build error. [0]<stdout>:Warning! MPI libs are missing, but python applications are still available. [0]<stderr>:Traceback (most recent call last): [0]<stderr>: File "/home/sykang/workspace/Distributed_Training/Horovod/GCN/gcn_main.py", line 16, in <module> [0]<stderr>: hvd.init() [0]<stderr>:AttributeError: module 'horovod.torch' has no attribute 'init'
My installation process is as follows:
2-1. HOROVOD_WITHOUT_MPI=1 pip install --no-cache-dir horovod
2-2. pip install torch
2-3. pip install torch-geometric
When I use "horovodrun --check-build"
-->
"HOROVOD_WITH_PYTORCH=1 pip install --no-cache-dir horovod"
I tried executing the command, but a build error occurred.
Is this a compatibility issue between pytorch and horovod?
I have MPI, but I want to use gloo.
The text was updated successfully, but these errors were encountered:
Environment:
Checklist:
Bug report:
Please describe erroneous behavior you're observing and steps to reproduce it.
When I use this code
import horovod.torch as hvd hvd.init()
This error occurs
[0]<stdout>:Extension horovod.torch has not been built: /home/sykang/.local/lib/python3.10/site-packages/horovod/torch/mpi_lib_v2.cpython-310-x86_64-linux-gnu.so not found [0]<stdout>:If this is not expected, reinstall Horovod with HOROVOD_WITH_PYTORCH=1 to debug the build error. [0]<stdout>:Warning! MPI libs are missing, but python applications are still available. [0]<stderr>:Traceback (most recent call last): [0]<stderr>: File "/home/sykang/workspace/Distributed_Training/Horovod/GCN/gcn_main.py", line 16, in <module> [0]<stderr>: hvd.init() [0]<stderr>:AttributeError: module 'horovod.torch' has no attribute 'init'
My installation process is as follows:
2-1. HOROVOD_WITHOUT_MPI=1 pip install --no-cache-dir horovod
2-2. pip install torch
2-3. pip install torch-geometric
When I use "horovodrun --check-build"
-->
"HOROVOD_WITH_PYTORCH=1 pip install --no-cache-dir horovod"
I tried executing the command, but a build error occurred.
Is this a compatibility issue between pytorch and horovod?
I have MPI, but I want to use gloo.
The text was updated successfully, but these errors were encountered: