Skip to content

Commit

Permalink
ADLR/megatron-lm!2391 - Add TorchLayerNorm alias for backward compati…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
ashors1 authored and ko3n1g committed Nov 29, 2024
1 parent 081ab4d commit e842d46
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 e842d46

Please sign in to comment.