-
Notifications
You must be signed in to change notification settings - Fork 647
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
Dynamic input shape? #26
Comments
Hi @the-final! Yes dynamic shape is supported by nebullvm. It is a built-in feature of the huggingface optimization, and it can be disabled passing the parameter
If there are some further constraints as maximum and minimum size of the input tensors along some dimension this information must be given using the keyword argument
Let's consider as example a computer vision model taking as input images which size can range from 256x256 to 512x512. In this case the two arguments should be: (we are supposing
As you can see the maximum dimension should be given as actual input size and it will use as "preferred" size during optimization. Note that in the |
Does dynamic input shape support?
Whether reoptimization is required after modifying the input shape
The text was updated successfully, but these errors were encountered: