Releases: facebook/Ax
Releases · facebook/Ax
v0.3.6 - Maintenance Release
Compatibility
New Features
- Allow batch trial to be constructed with a list of
GeneratorRun
s (#1995). - Add
label_dict
to tile plots (#2007). - Augment
exp_to_df
with a "reason" column, improve readability of "feasibility" column (#1973, #2047). - Create output message comparing baseline to optimal result in
report_utils.py
(#1997, #1998, #2016, #2025, #2031, #2042, #2046, #2050). - Allow custom search spaces in
get_experiment_with_observations
(#2027). - Partial support for
GenerationNode
s inGenerationStrategy
(#1985, #1986, #1991, #2002, #2003, #2018, #2019, #2024, #2033, #2034, #2045).
Bug Fixes
- Fix usage of batch shape for warp transform (#1994).
- Use default dtype in
Experiment.clone_with
(375bf47). - Change DerelativizeTransform to not use model predictions when
use_raw_status_quo
isTrue
or when the status quo is infeasible (#2036).
Deprecations
- Rename
Models.BOTORCH
toModels.LEGACY_BOTORCH
(#1981).
Other Changes
- Do not call
dataset.X
in input transform constructors (#1993). - Move pending point utils to core Ax (#2006).
- Load Experiment without runners and metrics in the case where search space and optimization config are immutable (#1656).
- Workaround for tutorial visualizations not working in colab and remote setup (#2030).
- Add
extract_pending_observations
function that auto-deploys to the correct pending points function for the use case (#2039). - Wait to re-poll if all results are
MetricFetchE
(#2055). - Benchmarks:
v0.3.5 Release
- Bump required botorch version to 0.9.4
- Miscellaneous bug fixes and improvements
v0.3.4 Release
- Bump required botorch version to 0.9.2, fixing major bug in single-objective optimization with outcome constraints, see botorch release 0.9.2 for details
v0.3.3 Release
- Remove typeguard usage in trial attaching function and replace with manual runtime type checking (this was causing errors for some users in Google Colab notebooks)
- Miscellaneous bug fixes and improvements
v0.3.2 Release
- Bump required Botorch version to v0.8.5
- Miscellaneous big fixes and improvements
v0.3.1 Release
- Bump required Botorch version to v0.8.3
- Pin typeguard to version 2.13.3 while we investigate best course of action for dealing with backwards incompatible changes introduced in v3.0.0
v0.3.0 Release
- Bump required botorch version to 0.8.2
- Pinned sqlalchemy version to <2.0. We will update Ax to be compatible with the newly released sqlalchemy 2.0 in the near future
- Changes to Modular Botorch Model allow for heterogeneous modeling (i.e. many surrogates, one acquisition function). A tutorial jupyter notebook will be posted on ax.dev soon.
- Added optional argument surrogate_specs to BoTorchModel: an Optional Mapping of names onto SurrogateSpecs, which specify how to initialize specific Surrogates to model specific outcomes. If None is provided a single Surrogate will be created and set up automatically based on the data provided.
- Deprecated ListSurrogate (subsumed functionality into Surrogate)
- Removed Models.MOO_MODULAR (Models.BOTORCH_MODULAR supports multi-objective setups)
- Support partial objective thresholds
- Miscellaneous testing speedups
- Miscellaneous bug fixes
v0.2.10 Release
- Bump required botorch version to 0.8.0
- Enable relative outcome constraints
- Misc bugfixes and improvements
- Bugfix in BestPointMixin.get_trace
- Avoid unnecessary model re-fitting in some cases
- Allow inferred noise in benchmarking via infer_noise flag
v0.2.9 Release
- Revamped Metric API
- Metrics now return Result type for data fetching methods. This allows metrics to encode exceptions encountered during fetching into their returned value so Ax can defer their raising.
- Call
experiment.fetch_data_results
to access these Results (organized by trial index and metric name) on the Experiment level.experiment.fetch_data
still returns Data directly by unwrapping the results under the hood for backwards compatibility considerations.
- To update your existing custom Metrics you must wrap the return value of
fetch_trial_data
withOk
.- See the Scheduler tutorial for an example
- Call
- Metrics now return Result type for data fetching methods. This allows metrics to encode exceptions encountered during fetching into their returned value so Ax can defer their raising.
- Improvements to Scheduler Exception handling via Results
- If an Exception is encountered by the Scheduler during data fetching, either mark the trial as FAILED or continue the optimization (while alerting the user) depending on the failed metric’s role in the optimization. See
scheduler.py
for exact rules.
- If an Exception is encountered by the Scheduler during data fetching, either mark the trial as FAILED or continue the optimization (while alerting the user) depending on the failed metric’s role in the optimization. See
- SAASBO memory utilization improvements
- Miscellaneous bugfixes
v0.2.8 Release
Bugfix for for compatibility with latests pandas release. Also upgrade to BoTorch v0.7.2