Skip to content

Commit

Permalink
Fix another lintrunner issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mtavenrath committed Feb 22, 2024
1 parent 1d2b016 commit 3ecf7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/core/providers/cuda/rnn/cudnn_rnn_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ Status CudnnRnnBase<T>::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_});
Expand Down

0 comments on commit 3ecf7d3

Please sign in to comment.