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

Support static shape #719

Open
hans00 opened this issue Apr 21, 2024 · 0 comments
Open

Support static shape #719

hans00 opened this issue Apr 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hans00
Copy link
Contributor

hans00 commented Apr 21, 2024

Feature request

Support static shape (auto padding to max length on input) and static shape KV cache for LLM.

Motivation

Static shape will be problem when enable NPU, WebNN or CoreML.

Your contribution

I can submit a PR.
But I'm not pro of models, not sure correct implement of static KV cache.

@hans00 hans00 added the enhancement New feature or request label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant