RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the ‘spawn’ start method
This is the error that I get when I want to use mutiple gpus to evaluate different models using multiprocessing.