Do you know what is the cause? I am also facing the same problem on linux. When num_workers is 0, it goes right to the next epoch. But when num_workers > 0, it takes few seconds to go to the next epoch. The larger the num_worker value, the slower the between epoch transition is.