Skip to content

The WhisperPipeline.generate does not support tensor or numpy array #2813

@codingl2k1

Description

@codingl2k1

I have to copy the data from the ndarray to Python and then convert the Python float list to a C++ float list. It would be beneficial if the API supported tensor or NumPy array input.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions