Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit d46ff87

Browse files
adarobMesh TensorFlow Team
authored andcommitted
Set allreduce_in_bfloat16_max_group_size to 2 to avoid OOM during inference/eval.
PiperOrigin-RevId: 322776425
1 parent efcd89f commit d46ff87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesh_tensorflow/simd_mesh_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self,
4141
devices=None,
4242
device_assignment=None,
4343
logical_to_physical=None,
44-
allreduce_in_bfloat16_max_group_size=0):
44+
allreduce_in_bfloat16_max_group_size=8):
4545
"""Create a SimdMeshImpl.
4646
4747
Args:

0 commit comments

Comments
 (0)