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

Add input constructors as optional field on GenerationNode #2754

Closed
wants to merge 2 commits into from

Conversation

mgarrard
Copy link
Contributor

@mgarrard mgarrard commented Sep 9, 2024

Summary:
This diff adds the input constructors property to GenerationNode and a simple test on the property.

Follow up diffs:

  • add the two additional input constructors
  • update the transition logic to leverage this
  • storage --> let's do this once we all like the 3 input constructors
  • update the input constructors to handle the case where n isn't provided as a kwarg
  • add test that all cases of input constructors are handled per Liz's suggestion

Differential Revision: D62310414

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

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

@codecov-commenter
Copy link

codecov-commenter commented Sep 9, 2024

Codecov Report

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

Project coverage is 95.67%. Comparing base (2e7291e) to head (b9dcc61).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../modelbridge/generation_node_input_constructors.py 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2754      +/-   ##
==========================================
- Coverage   95.67%   95.67%   -0.01%     
==========================================
  Files         486      488       +2     
  Lines       47713    47757      +44     
==========================================
+ Hits        45650    45691      +41     
- Misses       2063     2066       +3     

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

…t at 9/6/2024, 10:19:43 AM

Differential Revision: D62247100
mgarrard added a commit to mgarrard/Ax that referenced this pull request Sep 23, 2024
…2754)

Summary:
Pull Request resolved: facebook#2754

This diff adds the input constructors property to GenerationNode and a simple test on the property.

Follow up diffs:
- add the two additional input constructors
- update the transition logic to leverage this
- storage --> let's do this once we all like the 3 input constructors
- update the input constructors to handle the case where n isn't provided as a kwarg
- add test that all cases of input constructors are handled per Liz's suggestion

Reviewed By: lena-kashtelyan

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

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

…2754)

Summary:
Pull Request resolved: facebook#2754

This diff adds the input constructors property to GenerationNode and a simple test on the property.

Follow up diffs:
- add the two additional input constructors
- update the transition logic to leverage this
- storage --> let's do this once we all like the 3 input constructors
- update the input constructors to handle the case where n isn't provided as a kwarg
- add test that all cases of input constructors are handled per Liz's suggestion

Reviewed By: lena-kashtelyan

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 665d9dd.

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