dgl-ke icon indicating copy to clipboard operation
dgl-ke copied to clipboard

RuntimeError: Cannot re-initialize CUDA in forked subprocess

Open avi-pomicell opened this issue 2 years ago • 1 comments

Hi

I'm getting this error when trying to use dgl-ke with GPU: RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

I am able to run the code on CPU only. Any ideas?

More info: I set up the environment using these insturctions: https://github.com/awslabs/dgl-ke/issues/267#issuecomment-1347933918

avi-pomicell avatar Feb 12 '23 09:02 avi-pomicell

Same issue here.

XinliYu avatar Aug 13 '23 17:08 XinliYu