Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
eitanturok committed Sep 27, 2024
1 parent 24ffeb4 commit 04da536
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llmfoundry/data/finetuning/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ def build_finetuning_dataloader(

# Get the preprocessing function.
proto_preprocessing_fn = dataset_cfg.get('preprocessing_fn')
assert proto_preprocessing_fn is not None
if isinstance(proto_preprocessing_fn, (dict, DictConfig)):
preprocessing_fn = dataset_constructor.get_preprocessing_fn_from_dict(
dict(proto_preprocessing_fn),
Expand Down

0 comments on commit 04da536

Please sign in to comment.