Skip to content

Commit

Permalink
review fix
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
  • Loading branch information
akoumpa committed Aug 15, 2024
1 parent 920d6e8 commit f8ecf63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nemo/lightning/pytorch/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,7 @@ def connect(self, model: pl.LightningModule) -> None:
self._mcore_config = _maybe_mcore_config

if hasattr(self._precision_plugin, 'dtype_config'):
# print("self._precision_plugin.dtype_config= " + self._precision_plugin.dtype_config)
# quit()
from nemo.lightning.pytorch.plugins.precision import patch_dtype_config

model.config = patch_dtype_config(self._precision_plugin.dtype_config, model.config)
model.optim.config = patch_dtype_config(self._precision_plugin.dtype_config, model.optim.config)

Expand Down

0 comments on commit f8ecf63

Please sign in to comment.