make dy contiguous
This commit is contained in:
parent
1d86812b7c
commit
894828cfb8
1 changed files with 1 additions and 0 deletions
|
|
@ -746,6 +746,7 @@ class GroupedGemm(torch.autograd.Function):
|
|||
|
||||
@staticmethod
|
||||
def backward(ctx, dY):
|
||||
dY = dY.contiguous()
|
||||
X, W, m_sizes, gather_indices = ctx.saved_tensors
|
||||
topk = ctx.topk
|
||||
permute_x = ctx.permute_x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue