Draco icon indicating copy to clipboard operation
Draco copied to clipboard

enable-gpu

Open innerop opened this issue 5 years ago • 1 comments

hi,

only mention of GPU "enable" flag I could see is in Readme, and nowhere in the code

I assume GPU support is not done yet?

innerop avatar Dec 31 '18 05:12 innerop

Hi @innerop, you're right that with respect to GPU support of this repo. The current version dose not have that functionality currently.

One key reason is that it seems to be the case that it's tricky to make the current implementation (PyTorch+MPI4PY) compatible with NCCL + PyTorch. Thus, to enable GPU, we need to let worker nodes compute gradients on GPUs, then copy the gradients from GPUs to CPUs, then communicate among CPUs. That would obviously incur non-negligible data movement overheads.

However, we're actively working on moving the current version to PyTorch's communication library completely. Please stay tuned.

Hope this can be helpful.

hwang595 avatar Jan 16 '19 04:01 hwang595