Skip to content

Migration From Client #2

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

Merged
merged 17 commits into from
Jul 29, 2024
Merged

Migration From Client #2

merged 17 commits into from
Jul 29, 2024

Conversation

fpetrini15
Copy link
Contributor

@fpetrini15 fpetrini15 commented Jun 26, 2024

Goal: Seamlessly move PA from client to its own repository.

Client changes: triton-inference-server/client#722

Copy link
Contributor

@dyastremsky dyastremsky left a comment

Choose a reason for hiding this comment

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

Phenomenal work, Francesco! Thank you for making this hard, valuable migration happen. Added some comments and questions.

PUBLIC TRITON_ENABLE_PERF_ANALYZER_OPENAI=1
)
if(NOT(${TRITON_ENABLE_CC_HTTP} AND ${TRITON_ENABLE_CC_GRPC}))
message(FATAL_ERROR "perf_analyzer requires both http and grpc client libraries.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a relic from the previous build? PA can set the protocol to be GRPC or HTTP or even just CAPI. I wonder if we can make these optional in the future, if they are not now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I first started working on this my understanding from a huddle I had was that PA requires both the GRPC and HTTP client. Is this no longer the case? If so, I can cut a ticket for further build optimization.

Copy link
Contributor

Choose a reason for hiding this comment

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

CC: Deferring to @matthewkotila. It's possible that PA requires both. If so, we may want to look at letting PA have HTTP, GRPC, or C-API (or any combination).

grpcclient_static
httpclient_static
triton-core-serverapi # from repo-core
PRIVATE
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar general question to above: will these files be duplicated across repos? In the future, will we need to make sure to mirror the changes in a CMakeLists in the clients/server repo here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See answer above.

Copy link
Collaborator

@ganeshku1 ganeshku1 left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks @fpetrini15 for working on this.

@fpetrini15 fpetrini15 merged commit e392427 into main Jul 29, 2024
@fpetrini15 fpetrini15 deleted the fpetrini-migrate-pa branch July 29, 2024 16:14
@fpetrini15 fpetrini15 restored the fpetrini-migrate-pa branch July 29, 2024 19:05
@fpetrini15 fpetrini15 deleted the fpetrini-migrate-pa branch July 30, 2024 16:06
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.

5 participants