Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: suiyoubi <[email protected]>
  • Loading branch information
suiyoubi committed Dec 2, 2024
1 parent d363a11 commit c0a7836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/collections/llm/bert/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from megatron.core.models.bert.bert_model import BertModel as MCoreBert
except (ImportError, ModuleNotFoundError) as e:
HAVE_TE = False
MCoreBert = TransformerLayer # Place holder for import checking. BERT requires TE installed.
MCoreBert = TransformerLayer # Place holder for import checking. BERT requires TE installed.

if TYPE_CHECKING:
from nemo.collections.common.tokenizers.tokenizer_spec import TokenizerSpec
Expand Down

0 comments on commit c0a7836

Please sign in to comment.