Skip to content

Commit 2f303ba

Browse files
committed
move trainer builder file
Signed-off-by: Maanu Grover <[email protected]>
1 parent c8fa0c4 commit 2f303ba

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

examples/nlp/language_modeling/megatron_bert_pretraining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
# limitations under the License.
1414

1515
import torch.multiprocessing as mp
16-
from megatron_trainer_builder import MegatronBertTrainerBuilder
1716
from omegaconf.omegaconf import OmegaConf, open_dict
1817

1918
from nemo.collections.nlp.models.language_modeling.megatron_bert_model import MegatronBertModel
19+
from nemo.collections.nlp.parts.megatron_trainer_builder import MegatronBertTrainerBuilder
2020
from nemo.core.config import hydra_runner
2121
from nemo.utils import logging
2222
from nemo.utils.exp_manager import exp_manager

examples/nlp/language_modeling/megatron_gpt_pretraining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515

1616
import torch.multiprocessing as mp
17-
from megatron_trainer_builder import MegatronTrainerBuilder
1817
from omegaconf.omegaconf import OmegaConf, open_dict
1918

2019
from nemo.collections.nlp.models.language_modeling.megatron_gpt_model import MegatronGPTModel
20+
from nemo.collections.nlp.parts.megatron_trainer_builder import MegatronTrainerBuilder
2121
from nemo.core.config import hydra_runner
2222
from nemo.utils import logging
2323
from nemo.utils.exp_manager import exp_manager

examples/nlp/language_modeling/megatron_t5_pretraining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
# limitations under the License.
1414

1515

16-
from megatron_trainer_builder import MegatronT5TrainerBuilder
1716
from omegaconf.omegaconf import OmegaConf, open_dict
1817

1918
from nemo.collections.nlp.models.language_modeling.megatron_t5_model import MegatronT5Model
19+
from nemo.collections.nlp.parts.megatron_trainer_builder import MegatronT5TrainerBuilder
2020
from nemo.core.config import hydra_runner
2121
from nemo.utils import logging
2222
from nemo.utils.exp_manager import exp_manager

0 commit comments

Comments
 (0)