Skip to content

Commit

Permalink
fix(QA): add real tgs to train_CI (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
li126com authored May 24, 2024
1 parent 39ae4da commit c355767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_training/train_CI.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def check_model_weights(model, ckpt_path, total_equal=False):


def main(args):
very_begining_time = time.time()
# init setting
skip_batches = gpc.config.data.skip_batches
total_steps = gpc.config.data.total_steps
Expand Down Expand Up @@ -305,6 +306,7 @@ def main(args):
optimizer=optimizer,
beta2_scheduler=beta2_scheduler,
trainer=trainer,
very_begining_time=very_begining_time,
start_time=start_time,
loss=loss,
moe_loss=moe_loss,
Expand Down

0 comments on commit c355767

Please sign in to comment.