Skip to content

Commit c82c75a

Browse files
committed
Merge branch 'feature/zerobubble' of github.com:hpcaitech/ColossalAI into dev/zero_bubble
2 parents 1d328ff + aed20fb commit c82c75a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

colossalai/shardformer/layer/linear.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,14 @@ def forward(self, input_: Tensor) -> Tuple[Tensor, Tensor]:
353353
)
354354
else:
355355
output_parallel = linear_with_async_comm(
356-
input_parallel, self.weight, bias, self.process_group, True, fp8_communication=self.fp8_communication
356+
input_parallel,
357+
self.weight,
358+
bias,
359+
self.process_group,
360+
True,
361+
fp8_communication=self.fp8_communication,
362+
use_zbv=self.use_zbv,
357363
)
358-
359364
if self.gather_output:
360365
# All-gather across the partitions.
361366
output = gather_forward_split_backward(

0 commit comments

Comments
 (0)