Skip to content

Commit

Permalink
Set persistent_workers to False
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed May 16, 2024
1 parent f30743c commit e3924d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmdnet/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _get_dataloader(self, dataset, stage, store_dataloader=True):
dataset=dataset,
batch_size=batch_size,
num_workers=self.hparams["num_workers"],
persistent_workers=True,
persistent_workers=False,
pin_memory=True,
shuffle=shuffle,
)
Expand Down

0 comments on commit e3924d7

Please sign in to comment.