From 3ecf7d3c3ca4038e778fad6b35f77cd967fc3f44 Mon Sep 17 00:00:00 2001 From: Markus Tavenrath Date: Thu, 22 Feb 2024 23:06:17 +0100 Subject: [PATCH] Fix another lintrunner issue --- onnxruntime/core/providers/cuda/rnn/cudnn_rnn_base.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxruntime/core/providers/cuda/rnn/cudnn_rnn_base.cc b/onnxruntime/core/providers/cuda/rnn/cudnn_rnn_base.cc index 04bf43e287aad..b61b104790fe5 100644 --- a/onnxruntime/core/providers/cuda/rnn/cudnn_rnn_base.cc +++ b/onnxruntime/core/providers/cuda/rnn/cudnn_rnn_base.cc @@ -241,9 +241,9 @@ Status CudnnRnnBase::ComputeInternal(OpKernelContext* ctx) const { ORT_RETURN_IF_ERROR(sequence_lens_buffer.CopyToGpu(ctx->GetComputeStream())); // Starting with cuDNN 8.9.1 the sequence lens buffer is ignored by cudnnRNNForward and thus it must // be copied to the GPU only for the ReverseBySequence kernels. - //if (reverse_) { + // if (reverse_) { // ORT_RETURN_IF_ERROR(sequence_lens_buffer.CopyToGpu(ctx->GetComputeStream())); - //} + // } // optional outputs TensorShapeVector dims_Y({seq_length, num_directions_, batch_size, hidden_size_});