Skip to content

Commit

Permalink
- block conv_transpose3d, giving error messages (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronian526 committed Feb 1, 2023
1 parent d1b64eb commit c00bcc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aten/src/ATen/native/mps/operations/Convolution.mm
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ Tensor _mps_convolution_transpose(
const Tensor& input_t, const Tensor& weight_t,
IntArrayRef padding, IntArrayRef output_padding, IntArrayRef stride, IntArrayRef dilation,
int64_t groups) {
TORCH_CHECK(input_t.dim() < 5, "ConvTranspose 3D is not supported on MPS");

auto output_t = mps_convolution_transpose_forward(
input_t, weight_t, padding, output_padding, stride, dilation, groups);
Expand Down

0 comments on commit c00bcc7

Please sign in to comment.