-
Notifications
You must be signed in to change notification settings - Fork 234
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
OpenAi endpoint support #476
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tgerdesnv
force-pushed
the
tgerdes-endpoint-scaffolding
branch
3 times, most recently
from
March 4, 2024 15:51
abad69f
to
8a9f910
Compare
tgerdesnv
changed the base branch from
feature-endpoint-openai
to
feature-genai-pa
March 4, 2024 16:48
tgerdesnv
changed the base branch from
feature-genai-pa
to
feature-endpoint-openai
March 4, 2024 16:48
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
commented
Mar 4, 2024
tgerdesnv
force-pushed
the
tgerdes-endpoint-scaffolding
branch
from
March 4, 2024 17:26
9f98ee8
to
e1cb83d
Compare
oandreeva-nv
reviewed
Mar 4, 2024
oandreeva-nv
reviewed
Mar 4, 2024
oandreeva-nv
reviewed
Mar 4, 2024
dyastremsky
reviewed
Mar 4, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work here! This looks fantastic.
Added a few minor comments.
GuanLuo
approved these changes
Mar 5, 2024
oandreeva-nv
approved these changes
Mar 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add OpenAI client * Address comment
Co-authored-by: dyastremsky <[email protected]>
* Address comment * Update src/c++/perf_analyzer/client_backend/openai/openai_client.cc * Update src/c++/perf_analyzer/client_backend/openai/http_client.cc * formatting --------- Co-authored-by: Timothy Gerdes <[email protected]> Co-authored-by: tgerdes <[email protected]>
tgerdesnv
force-pushed
the
tgerdes-endpoint-scaffolding
branch
from
March 6, 2024 22:10
906f54f
to
46a03db
Compare
tgerdesnv
changed the base branch from
feature-endpoint-openai
to
feature-genai-pa
March 6, 2024 22:56
matthewkotila
approved these changes
Mar 6, 2024
debermudez
pushed a commit
that referenced
this pull request
Mar 12, 2024
* Add openai service-kind and add endpoint to CLI * Add openai to model parser * OpenAI client backend + cmake * Create OpenAI backend * New JSON datatype for PA. Show json data available at http_client level * Add an output to OpenAI models * Add OpenAI client (#482) * Add OpenAI client * Address comment * Pass endpoint to openai client * Resolve fixmes * update copyright years * more cleanup * Update src/c++/perf_analyzer/command_line_parser.cc Co-authored-by: dyastremsky <[email protected]> * remove 'file' from top of files * clean up help message and add endpoint to help * Fix client stats * remove unused fn * Assert on json input format * Use a single SEND_END point * Add sync assert. Add OPENAI to helper fn * remove unused typedef * Add batch size assert * Address comment (#487) * Address comment * Update src/c++/perf_analyzer/client_backend/openai/openai_client.cc * Update src/c++/perf_analyzer/client_backend/openai/http_client.cc * formatting --------- Co-authored-by: Timothy Gerdes <[email protected]> Co-authored-by: tgerdes <[email protected]> * Make copy of exported data so it isn't corrupted (#488) --------- Co-authored-by: oandreeva-nv <[email protected]> Co-authored-by: GuanLuo <[email protected]> Co-authored-by: dyastremsky <[email protected]>
debermudez
pushed a commit
that referenced
this pull request
Mar 13, 2024
* Add openai service-kind and add endpoint to CLI * Add openai to model parser * OpenAI client backend + cmake * Create OpenAI backend * New JSON datatype for PA. Show json data available at http_client level * Add an output to OpenAI models * Add OpenAI client (#482) * Add OpenAI client * Address comment * Pass endpoint to openai client * Resolve fixmes * update copyright years * more cleanup * Update src/c++/perf_analyzer/command_line_parser.cc Co-authored-by: dyastremsky <[email protected]> * remove 'file' from top of files * clean up help message and add endpoint to help * Fix client stats * remove unused fn * Assert on json input format * Use a single SEND_END point * Add sync assert. Add OPENAI to helper fn * remove unused typedef * Add batch size assert * Address comment (#487) * Address comment * Update src/c++/perf_analyzer/client_backend/openai/openai_client.cc * Update src/c++/perf_analyzer/client_backend/openai/http_client.cc * formatting --------- Co-authored-by: Timothy Gerdes <[email protected]> Co-authored-by: tgerdes <[email protected]> * Make copy of exported data so it isn't corrupted (#488) --------- Co-authored-by: oandreeva-nv <[email protected]> Co-authored-by: GuanLuo <[email protected]> Co-authored-by: dyastremsky <[email protected]>
mc-nv
pushed a commit
that referenced
this pull request
Mar 13, 2024
* Add openai service-kind and add endpoint to CLI * Add openai to model parser * OpenAI client backend + cmake * Create OpenAI backend * New JSON datatype for PA. Show json data available at http_client level * Add an output to OpenAI models * Add OpenAI client (#482) * Add OpenAI client * Address comment * Pass endpoint to openai client * Resolve fixmes * update copyright years * more cleanup * Update src/c++/perf_analyzer/command_line_parser.cc Co-authored-by: dyastremsky <[email protected]> * remove 'file' from top of files * clean up help message and add endpoint to help * Fix client stats * remove unused fn * Assert on json input format * Use a single SEND_END point * Add sync assert. Add OPENAI to helper fn * remove unused typedef * Add batch size assert * Address comment (#487) * Address comment * Update src/c++/perf_analyzer/client_backend/openai/openai_client.cc * Update src/c++/perf_analyzer/client_backend/openai/http_client.cc * formatting --------- Co-authored-by: Timothy Gerdes <[email protected]> Co-authored-by: tgerdes <[email protected]> * Make copy of exported data so it isn't corrupted (#488) --------- Co-authored-by: oandreeva-nv <[email protected]> Co-authored-by: GuanLuo <[email protected]> Co-authored-by: dyastremsky <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added ability to drive OpenAI endpoints via a new backend_client