Skip to content

Created run_pipeline API function to get benchmark results #3237

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

Closed
wants to merge 3 commits into from

Conversation

SSYernar
Copy link
Contributor

Summary:
Created run_pipeline API function that runs the pipeline on given configurations and returns the list of BenchmarkResult objects (each BenchmarkResult corresponds to a specific rank up to wolrld_size).
This change is needed for future ServiceLab integration since we will be collecting pipeline benchmarks on different settings.

Differential Revision: D78941384

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 25, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78941384

SSYernar added 3 commits July 25, 2025 16:56
…#3235)

Summary:

Added functionality to collect return values in our multiprocess runner.

Differential Revision: D78939650
Summary:

Changed the return type of benchmark pipeline runner from `List[BenchmarkResult]` to single `BenchmarkResult` since runner should return only one result for the given configuration. 
Remove with/without`apply_jit` comparison as both configurations should call pipeline benchmarking separately.

Differential Revision: D78941101
…#3237)

Summary:

Created  `run_pipeline` API function that runs the pipeline on given configurations and returns the list of BenchmarkResult objects (each BenchmarkResult corresponds to a specific `rank` up to `wolrld_size`). 
This change is needed for future ServiceLab integration since we will be collecting pipeline benchmarks on different settings.

Differential Revision: D78941384
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78941384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants