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

E2E benchmark tests #269

Merged
17 commits merged into from
Aug 8, 2022
Merged

Conversation

efajardo-nv
Copy link
Contributor

@efajardo-nv efajardo-nv commented Jul 12, 2022

Uses pytest-benchmark to perform E2E benchmarks on the following workflows:

  • SID NLP
  • Phishing Detection NLP
  • ABP FIL
  • HAMMAH

Input for these tests are pulled from LFS data already included in this repo. Hook is used to add the following information to the output JSON:

GPU:

"gpu_0": {
    "id": 0,
    "name": "Quadro RTX 8000",
    "load": "0.0%",
    "free_memory": "42444.0MB",
    "used_memory": "6156.0MB",
    "temperature": "61.0 C",
    "uuid": "GPU-dc32de82-bdaa-2d05-2abe-260a847e1989"
}

Morpheus config for each workflow:

  • num_threads
  • pipeline_batch_size
  • model_max_batch_size
  • feature_length
  • edge_buffer_size

Additional benchmark stats for each workflow:

  • input_lines
  • min_throughput_lines
  • max_throughput_lines
  • mean_throughput_lines
  • median_throughput_lines
  • input_bytes
  • min_throughput_bytes
  • max_throughput_bytes
  • mean_throughput_bytes
  • median_throughput_bytes

Thoughputs were calculated by dividing input lines/bytes by total runtimes. These calculations will be replaced using tracer implementation developed by @drobison00. Tracer will be added in a separate PR.

@efajardo-nv efajardo-nv added enhancement Additional functionality added to an existing feature non-breaking Non-breaking change feature request New feature or request labels Jul 12, 2022
@efajardo-nv efajardo-nv requested a review from a team as a code owner July 12, 2022 14:43
@efajardo-nv efajardo-nv marked this pull request as draft July 12, 2022 14:45
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

Lets get this merged and update when the SRF tracing has been fixed.

Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

Let move one file into a JSON

tests/benchmarks/test_bench_e2e_pipelines.py Outdated Show resolved Hide resolved
@efajardo-nv efajardo-nv marked this pull request as ready for review August 1, 2022 21:18
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

LGTM

@mdemoret-nv
Copy link
Contributor

@gpucibot merge

@ghost ghost merged commit a47cc65 into nv-morpheus:branch-22.08 Aug 8, 2022
@efajardo-nv efajardo-nv deleted the benchmark-tests branch July 29, 2024 21:04
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additional functionality added to an existing feature feature request New feature or request non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants