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

Support gen nodes and gensteps #2024

Closed
wants to merge 1 commit into from

Conversation

mgarrard
Copy link
Contributor

Summary:
Support both steps and nodes at the generation strategy level

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff!

upcoming:
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase

Differential Revision: D51120002

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 29, 2023
@facebook-github-bot
Copy link
Contributor

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 29, 2023
Summary:

Support both steps and nodes at the generation strategy level

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff!

upcoming:
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase

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

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 29, 2023
Summary:

Support both steps and nodes at the generation strategy level

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff!

upcoming:
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase

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

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

@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (46e61d1) 94.52% compared to head (58b13b2) 94.61%.
Report is 2 commits behind head on main.

❗ Current head 58b13b2 differs from pull request most recent head 013dd90. Consider uploading reports for the commit 013dd90 to get more accurate results

Files Patch % Lines
ax/modelbridge/generation_strategy.py 89.53% 9 Missing ⚠️
ax/modelbridge/model_spec.py 80.00% 1 Missing ⚠️
ax/modelbridge/transition_criterion.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2024      +/-   ##
==========================================
+ Coverage   94.52%   94.61%   +0.08%     
==========================================
  Files         460      460              
  Lines       44638    44830     +192     
==========================================
+ Hits        42195    42414     +219     
+ Misses       2443     2416      -27     

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 5, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff!

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Differential Revision: D51120002
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 5, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff!

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 6, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff! 

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Reviewed By: lena-kashtelyan

Differential Revision: D51120002
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 6, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff! 

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Reviewed By: lena-kashtelyan

Differential Revision: D51120002
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 6, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff! 

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Reviewed By: lena-kashtelyan

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

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 6, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff! 

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Reviewed By: lena-kashtelyan

Differential Revision: D51120002
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff! 

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Reviewed By: lena-kashtelyan

Differential Revision: D51120002
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Dec 7, 2023
… default to GenerationNodes (facebook#2024)

Summary:

This diff does the following:
Supports GenerationNodes at the level of GenerationStrategy. This is the big hurrah diff! 

upcoming:
(0) Add decorator for functions that are only supported in steps
(1) update the storage to include nodes independently (and not just as part of step)
(2) delete now unused GenStep functions
(3) final pass on all the doc strings and variables -- lots to clean up here
(4) add transition criterion to the repr string + some of the other fields that havent made it yet on GeneratinoNode
(5) Do a final pass of the generationStrategy/GenerationNode files to see what else can be migrated/condensed
(6) rename transiton criterion to action criterion
(7) remove conditionals for legacy usecase
(8) clean up any lingering todos

Reviewed By: lena-kashtelyan

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in e1d7b44.

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

Successfully merging this pull request may close these issues.

3 participants