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 OpenAI client #482

Merged
merged 2 commits into from
Mar 4, 2024
Merged

Conversation

GuanLuo
Copy link
Contributor

@GuanLuo GuanLuo commented Mar 1, 2024

No description provided.

@GuanLuo GuanLuo force-pushed the gluo-openai_client branch from db26905 to df263bb Compare March 2, 2024 00:37
@tgerdesnv tgerdesnv force-pushed the gluo-openai_client branch from df263bb to df4464f Compare March 4, 2024 15:51
@tgerdesnv tgerdesnv force-pushed the tgerdes-endpoint-scaffolding branch from abad69f to 8a9f910 Compare March 4, 2024 15:51
Copy link
Collaborator

@tgerdesnv tgerdesnv left a comment

Choose a reason for hiding this comment

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

Looks great!

@tgerdesnv tgerdesnv merged commit 867003b into tgerdes-endpoint-scaffolding Mar 4, 2024
@tgerdesnv tgerdesnv deleted the gluo-openai_client branch March 4, 2024 16:00
tgerdesnv pushed a commit that referenced this pull request Mar 5, 2024
* Add OpenAI client

* Address comment
tgerdesnv pushed a commit that referenced this pull request Mar 6, 2024
* Add OpenAI client

* Address comment
tgerdesnv added a commit that referenced this pull request Mar 6, 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 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
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants