Skip to content

Commit

Permalink
🔊 Confirm train hang
Browse files Browse the repository at this point in the history
Signed-off-by: Evaline Ju <[email protected]>
  • Loading branch information
evaline-ju committed Feb 14, 2025
1 parent 6442481 commit 96ebe31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions caikit_nlp/modules/text_generation/text_generation_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ def _launch_training(
train_dataset=training_dataset, **training_args
)

# Confirm if stuck in training
assert False

# Start training via Trainer.train function
trainer.train()

# Check if training starts
assert False

# save the model temporarily and reload it
# this is done, since otherwise the model might be distributed in different
# devices, in which case its better to use trainer's `prediction_step`
Expand Down

0 comments on commit 96ebe31

Please sign in to comment.