Skip to content

Commit

Permalink
Merge branch 'public-pr-rope-fix' into 'main'
Browse files Browse the repository at this point in the history
PublicPR: None core rope fix

See merge request ADLR/megatron-lm!844
  • Loading branch information
jaredcasper committed Oct 12, 2023
2 parents 3a8ff0f + 3f3b436 commit 79a9fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megatron/model/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from megatron.model.enums import AttnMaskType, LayerType, AttnType
from megatron.model.fused_softmax import FusedScaleMaskSoftmax
from megatron.model.fused_bias_gelu import bias_gelu_impl
from megatron.core.models.common.embeddings.rotary_pos_embedding import RotaryEmbedding
from megatron.core.models.common.embeddings.rotary_pos_embedding import RotaryEmbedding, apply_rotary_pos_emb
from megatron.model.utils import attention_mask_func, openai_gelu, erf_gelu, get_norm
from megatron.core.tensor_parallel import gather_from_sequence_parallel_region_to_moe, reduce_scatter_to_sequence_parallel_region_from_moe
from megatron.core.parallel_state import get_tensor_model_parallel_group, get_tensor_and_expert_parallel_group
Expand Down

0 comments on commit 79a9fee

Please sign in to comment.