Hi.
I have a segmentation fault problem while training with 4 GPUs.
The Pytorch version is 1.4.0 and I use nn.DataParallel to run 4 GPUs
Fatal Python error: Segmentation fault


Thread 0x00007fdf3134e740 (most recent call first):
  File "/usr/local/lib/python3.6/dist-packages/torch/autograd/__init__.py", line 99 in backward
  File "/usr/local/lib/python3.6/dist-packages/torch/tensor.py", line 195 in backward
  File "/root/project/v2/../libs/train_with_ft.py", line 82 in train
  File "/root/project/v2/../libs/train_with_ft.py", line 147 in main
  File "/root/project/v2/../libs/train_with_ft.py", line 181 in <module>
./run.sh: line 34: 15480 Segmentation fault      (core dumped) train_with_ft.py

I’m struggling to solve this problem. Please help me.