From 836eeccac6ed345c41d4b14b993c393056f9e5c1 Mon Sep 17 00:00:00 2001 From: Max Balandat Date: Sat, 10 Aug 2019 16:15:45 -0700 Subject: [PATCH] Version 0.1.3 (#228) Summary: Add changelog and bump version to 0.1.3. Pull Request resolved: https://github.com/pytorch/botorch/pull/228 Test Plan: ran local tests Reviewed By: sdaulton Differential Revision: D16754050 Pulled By: Balandat fbshipit-source-id: 1bc7811b5e15146fe9b4cd88e031fc49211b35ad --- .conda/meta.yaml | 2 +- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ README.md | 2 +- botorch/__init__.py | 2 +- docs/getting_started.md | 2 +- setup.py | 2 +- 6 files changed, 36 insertions(+), 5 deletions(-) diff --git a/.conda/meta.yaml b/.conda/meta.yaml index 8538dc720d..f55f91f4a7 100644 --- a/.conda/meta.yaml +++ b/.conda/meta.yaml @@ -16,7 +16,7 @@ requirements: - python>=3.6 run: - pytorch>=1.2 - - gpytorch>=0.3.4 + - gpytorch>=0.3.5 - scipy test: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d167aa260..87cac9375a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,37 @@ The release log for BoTorch. +## [0.1.3] - Aug 9, 2019 + +Compatibility & maintenance release + +#### Compatibility +* Updates to support breaking changes in PyTorch to boolean masks and tensor + comparisons (#224). +* Require PyTorch >=1.2 (#225). +* Require GPyTorch >=0.3.5 (itself a compatibility release). + +#### New Features +* Add `FixedFeatureAcquisitionFunction` wrapper that simplifies optimizing + acquisition functions over a subset of input features (#219). +* Add `ScalarizedObjective` for scalarizing posteriors (#210). +* Change default optimization behavior to use L-BFGS-B by for box constraints + (#207). + +#### Bug fixes +* Add validation to candidate generation (#213), making sure constraints are + strictly satisfied (rater than just up to numerical accuracy of the optimizer). + +#### Minor changes +* Introduce `AcquisitionObjective` base class (#220). +* Add propagate_grads context manager, replacing the `propagate_grads` kwarg in + model `posterior()` calls (#221) +* Add `batch_initial_conditions` argument to `joint_optimize()` for + warm-starting the optimization (ec3365a37ed02319e0d2bb9bea03aee89b7d9caa). +* Add `return_best_only` argument to `joint_optimize()` (#216). Useful for + implementing advanced warm-starting procedures. + + ## [0.1.2] - July 9, 2019 Maintenance release diff --git a/README.md b/README.md index e9e20b0701..01292dfd9f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Optimization simply use Ax. **Installation Requirements** - Python >= 3.6 - PyTorch >= 1.2 -- gpytorch >= 0.3.4 +- gpytorch >= 0.3.5 - scipy diff --git a/botorch/__init__.py b/botorch/__init__.py index 42fd5a4593..24ca419fe2 100644 --- a/botorch/__init__.py +++ b/botorch/__init__.py @@ -17,7 +17,7 @@ from .utils import manual_seed -__version__ = "0.1.2" +__version__ = "0.1.3" __all__ = [ diff --git a/docs/getting_started.md b/docs/getting_started.md index 4d41aeb2c9..a9192e60c2 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -15,7 +15,7 @@ Before jumping the gun, we recommend you start with the high-level - Python >= 3.6 - PyTorch >= 1.2 -- gpytorch >= 0.3.4 +- gpytorch >= 0.3.5 - scipy BoTorch is easily installed via diff --git a/setup.py b/setup.py index dffdb8b50e..f397a51c9e 100755 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ long_description=long_description, long_description_content_type="text/markdown", python_requires=">=3.6", - install_requires=["torch>=1.2", "gpytorch>=0.3.4", "scipy"], + install_requires=["torch>=1.2", "gpytorch>=0.3.5", "scipy"], packages=find_packages(), extras_require={ "dev": DEV_REQUIRES,