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

Use input constructors during GS #2761

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

Conversation

mgarrard
Copy link
Contributor

Summary:
This diff adds support for leveraging the input constructors during gs.gen_with_multiple_nodes(..), as part of this we also add _previous_node param on gennodes. We presist the arms_per_node argument as we believe this is likely useful for researchers and developers internally, but this should never be exposed at api level to not cause confusion.

we also add a e2e style unit test

Follow up diffs:

  • 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 tests for real world scenario per Liz suggestion
  • add test to enforce signature across input constructors per Liz/Sait/Daniel suggestion

Differential Revision: D62316641

Mia Garrard added 4 commits September 11, 2024 20:28
…t at 9/6/2024, 10:19:43 AM

Differential Revision: D62247100
Summary: todo

Differential Revision: D62310414
Summary: todo

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

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

Summary:
Pull Request resolved: facebook#2761

This diff adds support for leveraging the input constructors during gs.gen_with_multiple_nodes(..), as part of this we also add _previous_node param on gennodes. We presist the arms_per_node argument as we believe this is likely useful for researchers and developers internally, but this should never be exposed at api level to not cause confusion.

we also add a e2e style unit test

Follow up diffs:
- 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 tests for real world scenario per Liz suggestion
- add test to enforce signature across input constructors per Liz/Sait/Daniel suggestion

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

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

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.

2 participants