Skip to content

Commit

Permalink
Update tuning/sft_trainer.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Hari <[email protected]>
  • Loading branch information
HarikrishnanBalagopal and fabianlim authored Dec 21, 2024
1 parent b2e5a16 commit f990052
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tuning/sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,6 @@ def train(
logger.info("Packing is set to %s ", train_args.packing)

data_preprocessing_time = time.time()
padding_free = ""
if attention_and_distributed_packing_config:
if attention_and_distributed_packing_config.padding_free:
padding_free = attention_and_distributed_packing_config.padding_free
(
formatted_train_dataset,
formatted_validation_dataset,
Expand Down

0 comments on commit f990052

Please sign in to comment.