DataParallel model stuck on loss.backward()

For someone might have the same problem, U can see this post:

Hope it will be helpful!