Skip to content

Commit

Permalink
Merge branch 'torch_norm_alias' into 'main'
Browse files Browse the repository at this point in the history
Add TorchLayerNorm alias for backward compatibility

See merge request ADLR/megatron-lm!2391
  • Loading branch information
ko3n1g committed Nov 29, 2024
2 parents 8e9d4dc + e842d46 commit 31a29b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions megatron/core/transformer/torch_layer_norm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
from megatron.core.transformer.torch_norm import WrappedTorchNorm

WrappedTorchLayerNorm = WrappedTorchNorm

0 comments on commit 31a29b8

Please sign in to comment.