score_sde_pytorch icon indicating copy to clipboard operation
score_sde_pytorch copied to clipboard

Run the code in single GPU

Open shhh0620 opened this issue 3 years ago • 0 comments

Dear Song,

Hi, thanks for your great work. I try to reproduce your work to enhance it a bit, but there is some problem in my setting. I have to use a single GPU due to the limitation of resources. For this, I add os.environ["CUDA_VISIBLE_DEVICES"]='1' in main.py or set device with torch.device('cuda:1') in run_lib.train.

However, it always assigns gpu:0, so RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR is occurred.

Is there any solution for it?

GPU that I used is NVIDIA RTX3090 with 24GB. Thank you.

shhh0620 avatar Aug 29 '22 01:08 shhh0620