Skip to content

Commit

Permalink
Add limit_val_batches in JenkinsFile for NMT
Browse files Browse the repository at this point in the history
1) Add trainer.limit_val_batches in Megatron NMT Training TP=2
2) Remove unused import in ModelPT

Signed-off-by: Abhishree <abhishreetm@gmail.com>
  • Loading branch information
athitten committed Aug 5, 2023
1 parent 5a60f11 commit c8dab2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2545,6 +2545,7 @@ pipeline {
trainer.accelerator=gpu \
trainer.log_every_n_steps=1 \
trainer.val_check_interval=10 \
+trainer.limit_val_batches=2 \
trainer.accumulate_grad_batches=1 \
trainer.max_steps=10 \
trainer.precision=16 \
Expand Down
1 change: 0 additions & 1 deletion nemo/core/classes/modelPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import copy
import inspect
import itertools
import os
import uuid
from abc import abstractmethod
Expand Down

0 comments on commit c8dab2d

Please sign in to comment.