Skip to content

Commit

Permalink
Fix profiling packing ratio to explicitly say 1 (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea authored Mar 8, 2024
1 parent 64212cb commit c2aec30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/data/packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def profile_packing(

# Turn off packing for the dataloader (we want raw, pre-packed examples)
dataloader_cfg = copy.deepcopy(dataloader_cfg)
dataloader_cfg.dataset.packing_ratio = None
dataloader_cfg.dataset.packing_ratio = 1.0
dataloader_cfg.drop_last = False
dataloader_cfg.num_workers = 0
dataloader_cfg.prefetch_factor = None
Expand Down

0 comments on commit c2aec30

Please sign in to comment.