Skip to content

Conversation

@eric-tramel
Copy link
Contributor

Description

Previously, the value of MAX_CONCURRENCY_PER_NON_LLM_GENERATOR was hard-coded into the library. This hardcoding creates a problem when a plugin (or other task definition) inherits from ColumnGeneratorCellByCell. I this case, there was presently no way to control concurrency up or down. We saw this leading to severe performance degradations for some implementations.

This PR does not yet address the root-cause (an under-defined resource-management system with respect to sub-task execution), however it does remove a blocker by bringing this parameter up to the RunConfig.

Changes

  • Update RunConfig with new non_llm_max_parallel_workers.
  • Update documentation to make sure that the RunConfig is put in code references.
  • Change default cell-by-cell execution to pull from the defined RunConfig at runtime.

@eric-tramel eric-tramel self-assigned this Jan 26, 2026
@eric-tramel eric-tramel requested a review from nabinchha January 26, 2026 15:20
@eric-tramel eric-tramel added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 26, 2026
@eric-tramel eric-tramel merged commit 613509f into main Jan 26, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants