Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-authoring torch whisper model and convert it to tflite #385

Open
yangjundy opened this issue Nov 26, 2024 · 1 comment
Open

Re-authoring torch whisper model and convert it to tflite #385

yangjundy opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
status:awaiting ai-edge-developer type:doc-feature For documentation/documentation update requests type:feature For feature requests

Comments

@yangjundy
Copy link

Description of the bug:

It would be highly beneficial to have the supports for the popular Torch Whisper model. Currently, the model is implemented with a dynamic kv_cache, making it extremely challenging to convert to TFLite. Attempts to modify the model to use a fixed-size kv_cache have revealed additional difficulties, particularly due to the dynamic slicing of the kv_cache during its updates, the tflite conversion has not been successful.

Rewriting the model with ai-edge-torch as a reference would be incredibly helpful in overcoming these challenges.

Actual vs expected behavior:

The torch implementation can be converted to tflite.

Any other information you'd like to share?

No response

@pkgoogle pkgoogle self-assigned this Nov 27, 2024
@pkgoogle pkgoogle added type:feature For feature requests type:doc-feature For documentation/documentation update requests status:awaiting ai-edge-developer labels Nov 27, 2024
@pkgoogle
Copy link
Contributor

Hi @yangjundy, thanks for the recommendation. We'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:awaiting ai-edge-developer type:doc-feature For documentation/documentation update requests type:feature For feature requests
Projects
None yet
Development

No branches or pull requests

2 participants