Skip to content

Rename num_parallel_jobs to num_concurrent_jobs in BenchmarkExecutionSettings#4924

Closed
mgrange1998 wants to merge 2 commits intofacebook:mainfrom
mgrange1998:export-D93771883
Closed

Rename num_parallel_jobs to num_concurrent_jobs in BenchmarkExecutionSettings#4924
mgrange1998 wants to merge 2 commits intofacebook:mainfrom
mgrange1998:export-D93771883

Conversation

@mgrange1998
Copy link
Contributor

Summary: Renames num_parallel_jobs to num_concurrent_jobs in BenchmarkExecutionSettings and all nightly benchmark configurations. Also updates the docstring in BenchmarkMethod to reference "pending trials" instead of "parallelism". This is a mechanical rename with no behavioral change.

Differential Revision: D93771883

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 20, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 26, 2026

@mgrange1998 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D93771883.

mgrange1998 added a commit to mgrange1998/Ax that referenced this pull request Feb 26, 2026
…ings (facebook#4924)

Summary:

Updates docstrings in `BenchmarkMethod`, `BenchmarkExecutionSettings`, and `nightly.py` to use "concurrency" terminology instead of "parallelism" where appropriate. Also applies a formatting fix to a multi-line `BenchmarkExecutionSettings(...)` call in `nightly.py`. No interface or behavioral changes.

Differential Revision: D93771883
mgrange1998 added a commit to mgrange1998/Ax that referenced this pull request Feb 26, 2026
…ings (facebook#4924)

Summary:

Updates docstrings in `BenchmarkMethod`, `BenchmarkExecutionSettings`, and `nightly.py` to use "concurrency" terminology instead of "parallelism" where appropriate. Also applies a formatting fix to a multi-line `BenchmarkExecutionSettings(...)` call in `nightly.py`. No interface or behavioral changes.

Differential Revision: D93771883
@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.85%. Comparing base (3a77c2b) to head (401cbfb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4924      +/-   ##
==========================================
- Coverage   96.85%   96.85%   -0.01%     
==========================================
  Files         597      597              
  Lines       63664    63668       +4     
==========================================
+ Hits        61664    61667       +3     
- Misses       2000     2001       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…ok#4923)

Summary:

Renames `AxClient.get_max_parallelism()` to `get_max_concurrency()` and updates internal variable names, comments, and docstrings to use "concurrency" terminology. The old `get_max_parallelism` is preserved as a deprecated stub raising `NotImplementedError`. Also updates `get_recommended_max_parallelism` to point to the new name, and imports `MaxParallelismReachedException` / `MaxGenerationParallelism` under concurrency-named aliases.

`get_max_parallelism` is only used directly in ad-hoc notebooks, making this a low-risk rename

Reviewed By: saitcakmak

Differential Revision: D93771849
…ings (facebook#4924)

Summary:

Updates docstrings in `BenchmarkMethod`, `BenchmarkExecutionSettings`, and `nightly.py` to use "concurrency" terminology instead of "parallelism" where appropriate. Also applies a formatting fix to a multi-line `BenchmarkExecutionSettings(...)` call in `nightly.py`. No interface or behavioral changes.

Reviewed By: saitcakmak

Differential Revision: D93771883
@meta-codesync
Copy link

meta-codesync bot commented Mar 4, 2026

This pull request has been merged in 1cd0b89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants