src-d / kmcuda

Large scale K-means and K-nn implementation on NVIDIA GPU / CUDA
Other
783 stars 144 forks source link

peer access is not supported between these two devices #80

Closed 448357739 closed 5 years ago

448357739 commented 5 years ago

I have 3 GPUs,I‘v already chosen gpu by 'torch.cuda.set_device(0)'.However ,I got several warnings. warning: p2p 1 <-> 0 is impossible warning: p2p 2 <-> 0 is impossible warning: p2p 2 <-> 1 is impossible warning: failed to enable p2p on gpu #0: peer access is not supported between these two devices warning: failed to enable p2p on gpu #0: peer access is not supported between these two devices warning: failed to enable p2p on gpu #1: peer access is not supported between these two devices warning: failed to enable p2p on gpu #1: peer access is not supported between these two devices warning: failed to enable p2p on gpu #2: peer access is not supported between these two devices warning: failed to enable p2p on gpu #2: peer access is not supported between these two devices

448357739 commented 5 years ago

I missed the parameter 'device'.Sorry to bother you.

kkissmart commented 3 years ago

I still have this issue. how to set device? default 0 is using all the GPUs?