During the distributed training on multiple GPUs, an error was encounted
model.to(device)
RuntimeError: DataLoader worker is killed by signal: Segmentation fault.
It turns out that the problem is related to the n_workers setting, which is over the system limit.
Solution: decreasing the n_workers can solve this problem