Skip to content

Fix CPU performance on Whisper (index_put) #17420

@GregoryComer

Description

@GregoryComer

Whisper performance on CPU (through Optimum) is very slow - less than 1 token/s in decode for medium and larger. This is because it's using functional index_put, which is very slow. We should be using the KV cache update logic.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions