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

Add support for models with dynamic shapes #69

Merged

Conversation

atobiszei
Copy link
Collaborator

No description provided.

@atobiszei atobiszei requested a review from dtrawins March 7, 2024 08:26
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
{
name: "input"
data_type: TYPE_FP32
dims: [ -1, 3, -1, 224]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dims: [ -1, 3, -1, 224]
dims: [ -1, 3, -1, -1]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now inconsistent with comment in L209

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Trawinski, Dariusz <[email protected]>
README.md Outdated

Following section shows how to use OpenVINO dynamic shapes. `-1` denotes dimension accepting any value on input. In this case
while model originally accepted input with layout `NCHW` and shape `(1,3,224,224)`, now it accepts any batch size and height.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
while model originally accepted input with layout `NCHW` and shape `(1,3,224,224)`, now it accepts any batch size and height.
while model originally accepted input with layout `NCHW` and shape `(1,3,224,224)`, now it accepts any batch size and resolution.

@dtrawins dtrawins merged commit a68ca46 into triton-inference-server:main Mar 8, 2024
1 check passed
nv-kmcgill53 pushed a commit that referenced this pull request Mar 8, 2024
nv-kmcgill53 added a commit that referenced this pull request Mar 9, 2024
atobiszei added a commit to atobiszei/triton_openvino_backend that referenced this pull request Mar 11, 2024
dtrawins pushed a commit that referenced this pull request Mar 13, 2024
* Revert "Revert "Add support for models with dynamic shapes (#69)" (#70)"

This reverts commit 25934f6.

* Fix building after style fixes
nv-kmcgill53 pushed a commit that referenced this pull request Mar 15, 2024
* Revert "Revert "Add support for models with dynamic shapes (#69)" (#70)"

This reverts commit 25934f6.

* Fix building after style fixes
nv-kmcgill53 added a commit that referenced this pull request Mar 16, 2024
* Revert "Revert "Add support for models with dynamic shapes (#69)" (#70)"

This reverts commit 25934f6.

* Fix building after style fixes

Co-authored-by: Adrian Tobiszewski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants