Skip to content

Commit

Permalink
Merge pull request #737 from mlcommons/dev
Browse files Browse the repository at this point in the history
Dev -> main
  • Loading branch information
priyakasimbeg authored Mar 27, 2024
2 parents 6a3ff16 + bb7a566 commit 576d5e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _build_input_queue(
batch_size=global_batch_size,
shuffle=train,
sampler=None,
num_workers=4 if train else self.eval_num_workers,
num_workers=4,
prefetch_factor=10,
pin_memory=False,
drop_last=train,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _build_input_queue(
batch_size=ds_iter_batch_size,
shuffle=not USE_PYTORCH_DDP and is_train,
sampler=sampler,
num_workers=4 if is_train else self.eval_num_workers,
num_workers=4,
pin_memory=True,
drop_last=is_train)

Expand Down

0 comments on commit 576d5e3

Please sign in to comment.