Skip to content

Commit

Permalink
Set pin_memory to false
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez authored May 16, 2024
1 parent 7cfa5be commit fe3036a
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 @@ -134,7 +134,7 @@ def _get_dataloader(self, dataset, stage, store_dataloader=True):
batch_size=batch_size,
num_workers=self.hparams["num_workers"],
persistent_workers=True if self.hparams["num_workers"] > 0 else False,
pin_memory=True,
pin_memory=False,
shuffle=shuffle,
)

Expand Down

0 comments on commit fe3036a

Please sign in to comment.