Commit 1ec6b0e9 authored by Jared Casper's avatar Jared Casper
Browse files

Merge branch 'eddiey-main-patch-12774' into 'main'

fix race in `cuApplyLayerNorm`

See merge request ADLR/megatron-lm!336
parents 3497e4da 4831071c
......@@ -329,6 +329,7 @@ void cuApplyLayerNorm(
mean[i1] = mu;
invvar[i1] = c_invvar;
}
__syncthreads();
}
}
......
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