Skip to content

Conversation

@mgarrard
Copy link
Contributor

Summary:
Pros of this change:

  • Reduce number of transition criterion classes --> may be easier for folks to wrap their head around the options with fewer options
  • In the future we want to move this type of budget to concurrency or something like that, so we can go ahead and improve the stack clarity now

Cons of this change:

  • maxgenerationparallelism was a pretty explict name that defined what that criterion was for, without it you have to reason about the inputs of mintrials to understand how to configure parallelism
  • some maxgen special casing need to be checked using tc.block_gen_if_met property -- this is mainly for test cases (okay imo) and gs init where we construct the transition_to property for steps

Note:
Given we only have MinTrials as subclass of TrialBasedCriterion, we could actually compress this even further to only have TrialBasedCriterion if we would like. Totally open to that, but kept it as is as it could make developing new trialbased criterion easier to have the base class.

Differential Revision: D91358715

Mia Garrard added 9 commits January 23, 2026 13:12
…racked changes)

Differential Revision: D90802656
Differential Revision: D91011637
Differential Revision: D91011862
Differential Revision: D91011958
Summary: wip

Differential Revision: D91064377
Summary: This cleans up a todo from long ago, this is unique enough as it uses all components of a GeneratorSpec

Differential Revision: D91229383
Summary:
After discussing with Jason Chow, AEPysch no longer interfaces with Ax, instead it directly leverages BoTorch. There are no plans atm to integrate directly with Ax, but if that is taken on in the future, it would be better to re-onboard them using GenNode based GSs given the opportunity for a clean slate.

This allows us to remove special casing for AEPysch from GS codebase

Differential Revision: D91156800
@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 23, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 23, 2026

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

…lism with MinTrials (facebook#4819)

Summary:
Pull Request resolved: facebook#4819

Pros of this change:
* Reduce number of transition criterion classes --> may be easier for folks to wrap their head around the options with fewer options
* In the future we want to move this type of budget to concurrency or something like that, so we can go ahead and improve the stack clarity now

Cons of this change:
* maxgenerationparallelism was a pretty explict name that defined what that criterion was for, without it you have to reason about the inputs of mintrials to understand how to configure parallelism
* some maxgen special casing need to be checked using tc.block_gen_if_met property -- this is mainly for test cases (okay imo) and gs init where we construct the transition_to property for steps

Note:
Given we only have MinTrials as subclass of TrialBasedCriterion, we could actually compress this even further to only have TrialBasedCriterion if we would like. Totally open to that, but kept it as is as it could make developing new trialbased criterion easier to have the base class.

Differential Revision: D91358715
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