Skip to content

Commit

Permalink
ILP Conv Layer : AllGather/ReduceScatter and Caching Optimisation sup…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
prajwal1210 committed Jan 16, 2024
1 parent 6d0838a commit eecf387
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions axonn/intra_layer/conv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from axonn import axonn as ax
import axonn
import torch.distributed as dist
import torch
import math
Expand Down Expand Up @@ -129,6 +130,8 @@ def forward(
self.weight,
self.depth_group,
0,
axonn.intra_layer.OVERLAP_REDUCE_SCATTER, # TODO: We should ideally make the flag part of axonn.axonn instead of just axonn
cache_weights_in_all_gather,
).reshape(
self.local_out_channels,
self.local_in_channels,
Expand Down

0 comments on commit eecf387

Please sign in to comment.