Describe the issue
1001ec9 severely deteriorate ROCm beam search performance by >= 2.x
For an test example, before this commit the decoding performance is 0.545s for a sample with batch 2, beam 4 and min len 20, max len 128. With this commit, the time it takes is 2.274s, this is more than 2x worse!
To reproduce
git checkout f5e9625 && git cherry-pick 15f16ef36e # build and run, the perf should be good
git checkout 1001ec9 && git cherry-pick 15f16ef36e # build and run, the perf will be much worse
Urgency
No response
Platform
No response
OS Version
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1001ec9
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA and ROCm
Model File
whisper large
Is this a quantized model?
No
Describe the issue
1001ec9 severely deteriorate ROCm beam search performance by >= 2.x
For an test example, before this commit the decoding performance is 0.545s for a sample with batch 2, beam 4 and min len 20, max len 128. With this commit, the time it takes is 2.274s, this is more than 2x worse!
To reproduce
Urgency
No response
Platform
No response
OS Version
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1001ec9
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA and ROCm
Model File
whisper large
Is this a quantized model?
No