Skip to content

Commit

Permalink
Revert "Allow for multiple workers when autopacking (#1375)" (#1392)
Browse files Browse the repository at this point in the history
This reverts commit d812f20.
  • Loading branch information
dakinggg authored Jul 24, 2024
1 parent ced63ee commit b636e5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llmfoundry/data/packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ def profile_packing(
dataloader_cfg = copy.deepcopy(dataloader_cfg)
dataloader_cfg.update({
'drop_last': False,
'num_workers': 0,
'prefetch_factor': None,
'persistent_workers': False,
})
dataloader_cfg['dataset']['packing_ratio'] = 1.0
Expand Down

0 comments on commit b636e5f

Please sign in to comment.