Skip to content

Commit

Permalink
StreamingTextDataset takes correct device batch size (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 committed Sep 6, 2023
1 parent b8854e1 commit 8687a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llmfoundry/data/text_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def build_text_dataloader(
dataset = StreamingTextDataset(
tokenizer=tokenizer,
streams=streams,
batch_size=device_batch_size,
**cfg.dataset,
)

Expand Down

0 comments on commit 8687a16

Please sign in to comment.