This is the error I am getting :"RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method". I am using 13.0nc12s_v3 Cluster.
I used this one :"
import torch.multiprocessing as mp
mp.set_start_method('spawn', force=True)
from pytorch_lightning.callbacks import EarlyStopping
", but still getting the same issue. Any solution?
Thanks