Commit 562d1b21 authored by mshoeybi's avatar mshoeybi
Browse files

Merge branch 'main' of https://github.com/ktaebum/Megatron-LM into github_small_prs

parents d7d788ae 92636ee1
...@@ -20,7 +20,7 @@ from .utils import split_tensor_along_last_dim ...@@ -20,7 +20,7 @@ from .utils import split_tensor_along_last_dim
def _reduce(input_): def _reduce(input_):
"""All-reduce the the input tensor across model parallel group.""" """All-reduce the input tensor across model parallel group."""
# Bypass the function if we are using only 1 GPU. # Bypass the function if we are using only 1 GPU.
if get_tensor_model_parallel_world_size()==1: if get_tensor_model_parallel_world_size()==1:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment