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

Throw warning in case of Triton API minor version mismatch #90

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

lkomali
Copy link
Contributor

@lkomali lkomali commented Sep 19, 2024

Currently, PA fails if there is a version mismatch between API_VERSION defined in core and client.
This PR modifies this behavior to

  1. fail when Triton API major version mismatch
  2. display a warning on the console when Triton API minor version mismatch

The reason for this difference is because major version change denotes breaking changes, minor version denotes additions.

@lkomali lkomali changed the title Graceful handling of Triton API minor version mismatch Throw warning in case of Triton API minor version mismatch Sep 19, 2024
@lkomali
Copy link
Contributor Author

lkomali commented Sep 19, 2024

I missed one of the checks, will add it.

dyastremsky
dyastremsky previously approved these changes Sep 20, 2024
@lkomali
Copy link
Contributor Author

lkomali commented Sep 20, 2024

@matthewkotila and I discussed offline and we decided to throw a warning incase of a minor version mismatch since the updates to Triton C API PA is likely to be rare and the probability of an undefined behavior is pretty low.

@lkomali lkomali merged commit c928ec4 into main Sep 25, 2024
8 checks passed
@lkomali lkomali deleted the lkomali-tpa-270 branch September 25, 2024 16:28
lkomali added a commit that referenced this pull request Oct 2, 2024
* Graceful handling of Triton API minor version mismatch

* Modify conditons
dyastremsky pushed a commit that referenced this pull request Oct 4, 2024
* Graceful handling of Triton API minor version mismatch

* Modify conditons
pvijayakrish pushed a commit that referenced this pull request Oct 8, 2024
* Adding support for TensorRT 10 APIs in the backend. Keep TRT 8 support as well (#88)

* Replace binding index-based methods with name-based alternatives

* Remove unused variables

* Remove unused variables

* Remove allInput*Specified()

* Delete TRTV1Interface

* Replace getProfileShapeValues() with getProfileTensorValues()

* Remove buffer_bindings_

* Enhancements

* Replace isExecutionBinding()

* Add INT64 support

* Remove hasImplicitBatchDimension()

* Update Copyright

* Remove unused variables

* Undo copyright

* Undo Copyright

* Undo copyright

* Fix the handling in INT64 shape tensors output

* Fix data dependent output shapes

* Fix pre commit errors

* Update copyright

* Resolve review comments

* Include source for building on TRT 8 (#86) (#87)

* Include source for building on TRT 8

* Apply suggestions from code review



---------

Co-authored-by: Misha Chornyi <[email protected]>

* Fix envvar access in CMake

---------

Co-authored-by: Sai Kiran Polisetty <[email protected]>
Co-authored-by: Misha Chornyi <[email protected]>

* Add support for kBF16

---------

Co-authored-by: Tanmay Verma <[email protected]>
Co-authored-by: Misha Chornyi <[email protected]>
lkomali added a commit that referenced this pull request Oct 31, 2024
* Graceful handling of Triton API minor version mismatch

* Modify conditons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants