RuntimeError: DataLoader worker (pid 137) is killed by signal: Bus error

Exactly where I have to put num_workers=0 to use this function?