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 benchmark for completion pipeline #1414

Merged

Conversation

dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented Dec 7, 2023

Description

  • Executes the completion pipeline against mocked instances of nemollm and openai.
  • Mocked calls sleep for a set period of time, based upon observed times from my own machine.
  • Update completion pipeline example to optionally read country names from a file and optionally randomly sorting the order (These are changes I made to help with getting the timings, and don't really need to be merged).
  • Move the "inference" monitor to appear immediately after the inference stage.
  • Unrelated fix testing the results of tests/llm/test_agents_simple_pipe.py::test_agents_simple_pipe_integration_openai
  • Add CSV file containing the names of UN member nations

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

@dagardner-nv dagardner-nv requested a review from a team as a code owner December 7, 2023 00:28
@dagardner-nv dagardner-nv self-assigned this Dec 7, 2023
@dagardner-nv dagardner-nv added non-breaking Non-breaking change improvement Improvement to existing functionality labels Dec 7, 2023
tests/benchmarks/conftest.py Outdated Show resolved Hide resolved
@dagardner-nv
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 5d19b60 into nv-morpheus:branch-24.03 Dec 11, 2023
6 checks passed
@dagardner-nv dagardner-nv deleted the david-24.03-llm-bench branch December 11, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement to existing functionality non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants