Skip to content

Comments

Rename parallelism references to concurrency in docs, comments, constants, and telemetry#4925

Open
mgrange1998 wants to merge 4 commits intofacebook:mainfrom
mgrange1998:export-D93771906
Open

Rename parallelism references to concurrency in docs, comments, constants, and telemetry#4925
mgrange1998 wants to merge 4 commits intofacebook:mainfrom
mgrange1998:export-D93771906

Conversation

@mgrange1998
Copy link
Contributor

Summary: Updates remaining references from "parallelism" to "concurrency" across orchestration, telemetry, early stopping, and other modules. This covers docstrings, comments, constant names (MAX_PENDING_TRIALSMAX_CONCURRENT_TRIALS, DUMMY_MAX_PENDING_TRIALSDUMMY_MAX_CONCURRENT_TRIALS), telemetry field names, and variable names in test files. No behavioral changes — purely a terminology alignment.

Differential Revision: D93771906

…tch_utils

Summary: Renames the `max_parallelism` parameter to `max_concurrency` across GenerationStep, GenerationNode, and the generation strategy dispatch utilities. Adds backward-compatible deprecated `max_parallelism` parameters with deprecation warnings where the public API is affected (`choose_generation_strategy`). Internal variable names (`sobol_parallelism`, `bo_parallelism`) are renamed to `sobol_concurrency`, `bo_concurrency` for consistency.

Differential Revision: D92457714
@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 20, 2026
Matthew Grange and others added 3 commits February 20, 2026 07:19
Summary: Renames the `parallelism` parameter to `concurrency` in `Client.run_trials()` and adds backward-compatible deprecated `max_parallelism` parameters in `AxClient.create_experiment()` and `AxClient.get_max_parallelism()` → `get_max_concurrency()`. Both include deprecation warnings guiding callers to use the new parameter names, with validation that old and new parameters are not specified simultaneously.

Differential Revision: D93771849
…Settings

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
…ants, and telemetry (facebook#4925)

Summary:
Pull Request resolved: facebook#4925

Updates remaining references from "parallelism" to "concurrency" across orchestration, telemetry, early stopping, and other modules. This covers docstrings, comments, constant names (`MAX_PENDING_TRIALS` → `MAX_CONCURRENT_TRIALS`, `DUMMY_MAX_PENDING_TRIALS` → `DUMMY_MAX_CONCURRENT_TRIALS`), telemetry field names, and variable names in test files. No behavioral changes — purely a terminology alignment.

Differential Revision: D93771906
@meta-codesync
Copy link

meta-codesync bot commented Feb 20, 2026

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

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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant