Skip to content

Commit

Permalink
Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Apr 24, 2024
1 parent 5fb3db0 commit 67cfe9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llmfoundry/data/finetuning/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,8 @@ def dataset_mapper(example: Dict):
desc='Tokenizing dataset',
)

log.info('Finished tokenizing dataset.')

# Use multiprocessing to introduce a custom timeout for this operation.
# A temporary workaround to avoid indefinite hangs observed occasionally due to
# filter_dataset not properly exiting and the dist.barrier() below not timing out.
Expand Down

0 comments on commit 67cfe9b

Please sign in to comment.