Closed hamidralmasi closed 2 years ago
I think I was inside the local byteps folder when importing these and python was not looking at the installed byteps, but rather confused with the local byteps folder inside. Stepping out resolved the issue.
sorry to interrupt but I met the same error. what does 'out the byteps folder' mean? Does it mean if I run the python file out of byteps folder, it will work? I try it but still confront the same error.
Describe the bug I have installed BytePS successfully. I have specified the path for NCCL and CUDA and have working tensorflow and pytorch on my system. I'm building BytePS from source and I can see: "Tensorflow extension is built successfully." and "PyTorch extension is built successfully" in the output. I can also successfully import byteps in python after installation, however, to start my distributed training workloads I need to import byteps.torch and byteps.tensorflow that I get the following errors for:
import byteps.pytorch
Traceback (most recent call last): File "import byteps.tensorflow
Traceback (most recent call last): File "Environment:
How can I resolve the issue for each one of these cases? Thank you so much for your help!