Skip to content
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

How to use orion in conjunction with hydra? #1081

Open
sophie-xhonneux opened this issue Feb 6, 2023 · 2 comments
Open

How to use orion in conjunction with hydra? #1081

sophie-xhonneux opened this issue Feb 6, 2023 · 2 comments

Comments

@sophie-xhonneux
Copy link

Would it be possible to expand the documentation to explain how to use orion with hydra together for experiment management and hyper-parameter search?

@Delaunay
Copy link
Collaborator

Delaunay commented Feb 6, 2023

Because it is a plugin for hydra you can simply follow the hydra examples.
It tries to follow the hydra way and minimize the amount a new concepts it could introduce.
In fact the plugin use the exact same example as the builtin nevergrad plugin.

So there ends up not being a lot of orion specific things to document.
The plugin readme discusses how relative/absolute paths are handled which is important if you desire to resume your HPO,

There is also a section showing you how to launch your hydra app to do an HPO but as noted above this is just standard hydra and nothing new is introduced.

@sophie-xhonneux
Copy link
Author

Well I find there a couple orion specific things with regards to the database config, because orion requires a config file to access the database and visualise the results and I am unable to do this hydra orion sweep config, so an example how to make that work would be really nice because it is non-trivial.

Similarly, hydra now makes orion create a database per multirun and various questions to how that should be set up also exist. I really don't feel like it's simple an example in the documentation would be really appreciated.

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

No branches or pull requests

2 participants