Dataloader_num_workers

Hi, when I try to run this code :
training_args = TrainingArguments(
output_dir=“…”,
dataloader_num_workers=4,

)
I get an error about the “dataloader_num_workers=4”. However it works when I replace 4 by 0. Could you please explain to me how to fix this issue ?

1 Like