mirror of https://github.com/llvm/torch-mlir
Fix CI failure due to upstream PyTorch change in aten.mean.dim op
Fixes https://github.com/llvm/torch-mlir/issues/1121 Signed-Off By: Vivek Khandelwal<vivek@nod-labs.com>pull/1113/head
parent
b389053653
commit
9a1203c844
|
@ -97,7 +97,7 @@ class MeanDimDtypeModule(torch.nn.Module):
|
|||
([-1, -1, -1], torch.float64, True),
|
||||
])
|
||||
def forward(self, x):
|
||||
return torch.ops.aten.mean(x, 0, dtype=torch.float32)
|
||||
return torch.ops.aten.mean(x, (0,), dtype=torch.float32)
|
||||
|
||||
|
||||
@register_test_case(module_factory=lambda: MeanDimDtypeModule())
|
||||
|
|
Loading…
Reference in New Issue