@@ -160,16 +160,7 @@ Status RunMusaConv2D(OpKernelContext* ctx, const Tensor& input,
160160 static_cast <int >(status));
161161 }
162162
163- mConvolution ::Algorithm algo;
164- status = conv.GetRecommendForwardAlgorithm (handle, algo, y, x, w);
165- if (status != mStatus ::SUCCESS ) {
166- return errors::Internal (
167- " muDNN Convolution::GetRecommendForwardAlgorithm failed. status=" ,
168- static_cast <int >(status), " , data_format=NHWC" ,
169- " , input_shape=" , input.shape ().DebugString (),
170- " , filter_shape=" , filter.shape ().DebugString (),
171- " , output_shape=" , output->shape ().DebugString ());
172- }
163+ const mConvolution ::Algorithm algo = mConvolution ::Algorithm::IMPLICIT_GEMM ;
173164
174165 size_t workspace_size = 0 ;
175166 status = conv.GetForwardWorkspaceSize (handle, workspace_size, y, x, w, algo);
@@ -325,8 +316,7 @@ class MusaConv2DOp : public MusaOpKernel {
325316 return ;
326317 }
327318
328- const bool use_tf32 =
329- tf32_enabled_ && dilation_h_ == 1 && dilation_w_ == 1 ;
319+ const bool use_tf32 = tf32_enabled_ && dilation_h_ == 1 && dilation_w_ == 1 ;
330320
331321 if (data_format_ == FORMAT_NHWC ) {
332322 OP_REQUIRES_OK (
0 commit comments