torch-ucc icon indicating copy to clipboard operation
torch-ucc copied to clipboard

Compilation error

Open aoranwu opened this issue 5 years ago • 2 comments

When I try to build I get a compilation error.

/home/torch-ucc/include/torch_ucc.hpp:20:10: fatal error: c10d/ProcessGroup.hpp: No such file or directory

Seems this header file is in the pytorch project and it's complaining this header file is missing. I run the build command in torch-ucc directory with

sudo UCX_HOME=/opt/ucx WITH_XCCL=/opt/xccl/install WITH_CUDA=/usr/local/cuda python setup.py clean --all install

Do I do anything wrong in the process of building?

Thanks!

aoranwu avatar Oct 02 '20 17:10 aoranwu

Hi @aoranwu, What version of pytorch do you have? The plugin requires PyTorch 1.6

Sergei-Lebedev avatar Oct 05 '20 09:10 Sergei-Lebedev

Oh, my version is pytorch 1.7. Is there anyway to make the plugin work with later versions?

aoranwu avatar Oct 05 '20 16:10 aoranwu