mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-13 13:45:51 +00:00
Merge branch 'feature/zerobubble' of github.com:hpcaitech/ColossalAI into dev/zero_bubble
This commit is contained in:
commit
c82c75a9b4
@ -353,9 +353,14 @@ class Linear1D_Col(ParallelModule):
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
output_parallel = linear_with_async_comm(
|
output_parallel = linear_with_async_comm(
|
||||||
input_parallel, self.weight, bias, self.process_group, True, fp8_communication=self.fp8_communication
|
input_parallel,
|
||||||
|
self.weight,
|
||||||
|
bias,
|
||||||
|
self.process_group,
|
||||||
|
True,
|
||||||
|
fp8_communication=self.fp8_communication,
|
||||||
|
use_zbv=self.use_zbv,
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.gather_output:
|
if self.gather_output:
|
||||||
# All-gather across the partitions.
|
# All-gather across the partitions.
|
||||||
output = gather_forward_split_backward(
|
output = gather_forward_split_backward(
|
||||||
|
Loading…
Reference in New Issue
Block a user