I encountered the same error when testing with DistributedDataParallel  and convert_sync_batchnorm. I got the same error when testing with 1 GPU in my local machine. I found using more GPUs would resolve the error.