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

Update Inference Benchmarking Scripts - Support AML #868

Merged
merged 23 commits into from
Mar 6, 2024

Conversation

lekurile
Copy link
Contributor

@lekurile lekurile commented Mar 1, 2024

This PR fixes/updates the inference benchmarking analysis scripts to support [fastgen, vllm, aml] backends. The scripts are generalized to support models beyond just Llama, which was hardcoded in the scripts previously. A number of bugs and formatting issues are also resolved. The scripts that were fixed/updated are:

  • plot_effective_throughput.py
  • plot_latency_percentile.py:
  • plot_repl_scale.py:
  • plot_th_lat.py:
  • plot_tp_sizes.py:

Example plots for the scripts:

  • plot_effective_throughput.py:
    image

  • plot_latency_percentile.py:
    image

  • plot_repl_scale.py:
    image

  • plot_th_lat.py:
    NOTE: the resulting data should not be used to draw any conclusions. The GPUs, tp_size, etc are different across the different data points. This is simply demonstrating the plot generation.
    image

  • plot_tp_sizes.py:
    image

@lekurile lekurile requested a review from tohtana March 5, 2024 02:10
Copy link
Contributor

@tohtana tohtana left a comment

Choose a reason for hiding this comment

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

Do you have an example that shows how to run them?

@lekurile
Copy link
Contributor Author

lekurile commented Mar 5, 2024

Do you have an example that shows how to run them?

@tohtana, thank you for the comment, I will update the README w/ examples showing how to run the scripts.

@lekurile lekurile merged commit 6e9ada6 into master Mar 6, 2024
2 checks passed
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.

4 participants