- 
                Notifications
    
You must be signed in to change notification settings  - Fork 451
 
fix input constructor for LogProbabilityOfFeasibility #2945
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
Conversation
| 
           This pull request was exported from Phabricator. Differential Revision: D79281274  | 
    
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
) Summary: X-link: facebook/Ax#4080 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
06b6ed0    to
    d533622      
    Compare
  
    | 
           This pull request was exported from Phabricator. Differential Revision: D79281274  | 
    
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
) Summary: X-link: facebook/Ax#4080 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
d533622    to
    fbd4500      
    Compare
  
    | 
           This pull request was exported from Phabricator. Differential Revision: D79281274  | 
    
          Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@            Coverage Diff            @@
##              main     #2945   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          216       216           
  Lines        20225     20232    +7     
=========================================
+ Hits         20225     20232    +7     ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
  | 
    
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
Summary: X-link: meta-pytorch/botorch#2945 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274
| 
           This pull request has been merged in 1ee3a86.  | 
    
Summary: X-link: meta-pytorch/botorch#2945 Pull Request resolved: #4080 Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds). This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway. Reviewed By: SebastianAment Differential Revision: D79281274 fbshipit-source-id: ad4d7b5dc524f80c8151c11f8d6f2921aa9ea5db
Summary:
X-link: facebook/Ax#4080
Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).
This also removes
convert_to_target_pre_hook, which only works for args and doesn't work for kwargs. PreviouslyLogProbabilityOfFeasibilitywould error out if called with a kwarg---e.g.acqf(X=X)dtype and device are set in_mean_and_sigmafor these AFs anyway.Differential Revision: D79281274