Skip to content
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

Update gen_for_multiple_trials_with_multiple_models to call into gen_with_multiple_nodes #2822

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mgarrard
Copy link
Contributor

@mgarrard mgarrard commented Oct 3, 2024

Summary:
This should be a no-op on the logic, since we aren't actually using quickbo anywhere, but this diff makes gen_with_multiple_nodes a sub-method of gen_multiple_trials_with_multiple_models and makes the later the primary entry point into GS. We update the method in all locations it's defined.

We also ensure that pending points are handled correctly by gen_multiple_trials_with_multiple_models, and ensure backwards compatability with all live GS.

Differential Revision: D63657844

Summary:

In extending gen_multiple_trials_with_multiple models, we realized that gen_with_multiple_nodes doesn't currently handle pending points gracefully. This diff ensure that points generated from one node are considered pending for the next node in a single trial's gen loop (and so forth for any number of nodes).

Reviewed By: saitcakmak

Differential Revision: D63785539
…with_multiple_nodes

Summary:
This should be a no-op on the logic, since we aren't actually using quickbo anywhere, but this diff makes gen_with_multiple_nodes a sub-method of gen_multiple_trials_with_multiple_models and makes the later the primary entry point into GS. We update the method in all locations it's defined.

We also ensure that pending points are handled correctly by gen_multiple_trials_with_multiple_models, and ensure backwards compatability with all live GS.

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

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

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Oct 3, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 98.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.70%. Comparing base (85ae2b9) to head (215788d).

Files with missing lines Patch % Lines
ax/core/generation_strategy_interface.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2822   +/-   ##
=======================================
  Coverage   95.70%   95.70%           
=======================================
  Files         492      492           
  Lines       48548    48599   +51     
=======================================
+ Hits        46464    46513   +49     
- Misses       2084     2086    +2     

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants