Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@benjamc
Copy link
Collaborator

@benjamc benjamc commented May 9, 2023

2.0.1

Improvements

  • Callbacks registration is now a public method of the optimizer and allows callbacks to be inserted at a specific position.
  • Adapt developer install instructions to include pre-commit installation
  • Add option to pass a dask client to the facade, e.g. enables running on a hpc cluster (Pipe dask_client through facade for exec on hpc #983).
  • Added scenario.use_default_config argument/attribute=False, that adds the user's configspace default configuration
    as an additional_config to the inital design if set to True. This adds one additional configuration to the number of configs
    originating from the initial design. Since n_trials is still respected, this results in one fewer BO steps
  • Adapt developer install instructions to include pre-commit installation.
  • Add option to pass a dask client to the facade, e.g. enables running on a hpc cluster (Pipe dask_client through facade for exec on hpc #983).
  • Add example for using a callback to log run metadata to a file (SMAC Data Collection #996).
  • Move base callback and metadata callback files to own callback directory.
  • Add a workaround to be able to pass a dataset via dask.scatter so that serialization/deserialization in Dask becomes much quicker (Add a workaround to be able to pass a dataset via dask.scatter #993).

Bugfixes

@mlindauer 🍰 #1000

helegraf and others added 10 commits April 25, 2023 16:18
Adjust hyperband configuration distribution across brackets
…ovided by the user by means of the configspace he generated. (and is no longer ignored)
* Pipe dask_client through facade for exec on hpc

* Handle pynisher's memory arg

Before: Could only pass int via SMAC with the default unit B, but now tuple/list is possible

* Update CHANGELOG.md

* Make format

* No printi

---------

Co-authored-by: Carolin Benjamins <[email protected]>
@benjamc benjamc marked this pull request as draft May 9, 2023 12:42
sarah-segel and others added 12 commits May 16, 2023 13:20
* Add example for using a callback to log run metadata to a file

* Add issue number in changelog

* Changelog formatting

* Simplify metadata example

* Simplify metadata example

* Put callback in smac directory to allow importing it in custom repos

* Move callback files to callback directory

* Edit changelog

* Correct metadata callback argument types

* Additional metadata arguments in example

* Set metadata default values in callback

* Edit comment to fix PR
[Feature] Initial Design now supports executing the default config pr…
* Update requirements (dask_jobqueue)

* Fix broken link

* Ignore parallel example

* Add parallelization example

* Remove imports, add comment abt dask client

* Add E's information

* Update docs

* Add comment about n_workers

---------

Co-authored-by: Carolin Benjamins <[email protected]>
* Update requirements (dask_jobqueue)

* Fix broken link

* Ignore parallel example

* Add parallelization example

* Remove imports, add comment abt dask client

* Add E's information

* Update docs

* Add comment about n_workers

---------

Co-authored-by: Carolin Benjamins <[email protected]>
* Add info message that scenario.n_workers is ignored

When passing a dask client,
directly set n_workers in client.

* Change info to warning

---------

Co-authored-by: Carolin Benjamins <[email protected]>
* Update smac version

* Add hint on github release in make publish
* check if config in rh when storing state

* maint

* remove unnecessary changes

* Adapt developer install instructions to include pre-commit installation (#994)

* Pipe dask_client through facade for exec on hpc (#983)

* Pipe dask_client through facade for exec on hpc

* Handle pynisher's memory arg

Before: Could only pass int via SMAC with the default unit B, but now tuple/list is possible

* Update CHANGELOG.md

* Make format

* No printi

---------

Co-authored-by: Carolin Benjamins <[email protected]>

* update changelog

* Increase tolerance for runhistory restoration test

---------

Co-authored-by: Sarah Segel <[email protected]>
Co-authored-by: C. Benjamins <[email protected]>
Co-authored-by: Carolin Benjamins <[email protected]>
Co-authored-by: Helena Graf <[email protected]>
* [feat] Support dask.scatter

* [fix] Add shared_data arg in abstract_facade

* Address the comments by Eddie

* [fix] Fix errors raised by Eddie

* [format] Apply black locally

* [fix] Get retries back to 16 as it was a mistake

* [doc] Update CHANGELOG

---------

Co-authored-by: helegraf <[email protected]>
Co-authored-by: C. Benjamins <[email protected]>
* binder

* maint

* fix dependencies

* maint docs

* Revert "maint docs"

This reverts commit 4fa1a0f.

* add requirement

---------

Co-authored-by: Difan Deng <[email protected]>
@sarah-segel sarah-segel marked this pull request as ready for review May 17, 2023 11:22
Copy link
Contributor

@alexandertornede alexandertornede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sarah-segel sarah-segel merged commit 712543f into main May 17, 2023
github-actions bot pushed a commit that referenced this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.