Skip to content

Consistent signature for BoTorch get_objective_weights_transform #2200

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

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Member

Summary: get_objective_weights_transform sometimes returns a function that accepts a second argument and sometimes doesn't. Its docstring and type annotation are incorrect. This will become more problematic when we reap support for passing an objective with one argument to GenericMCObjective in #2199

Differential Revision: D53706138

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 13, 2024
Summary: `get_objective_weights_transform` sometimes returns a function that accepts a second argument and sometimes doesn't. Its docstring and type annotation are incorrect. This will become more problematic when we reap support for passing an `objective` with one argument to `GenericMCObjective` in pytorch#2199

Differential Revision: D53706138
@esantorella
Copy link
Member Author

Closed as 5441833 -- not sure why this didn't auto-close.

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

Successfully merging this pull request may close these issues.

2 participants