RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation when using distributed training

Hi, @nima_rafiee,have you solved your problem? I have just met a similar question in this topic Using ‘DistributedDataParallel’ occurs a weird error - distributed - PyTorch Forums