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

Resume Sweep after stop #22

Open
Delaunay opened this issue Nov 11, 2022 · 0 comments
Open

Resume Sweep after stop #22

Delaunay opened this issue Nov 11, 2022 · 0 comments

Comments

@Delaunay
Copy link
Collaborator

Delaunay commented Nov 11, 2022

my-app/
├─ my_app.py
├─ multirun/
│  ├─ 2022-11-09 
│  │  ├─ 12-37-09            <= old experiment we want to resume from
│  │  │  ├─ experiment
│  │  │  ├─ datatbase.pkl   <= old orion database 

To resume the sweep you should set the database path to the absolute path of the old sweep you want to resume

python my_app.py -m hydra.sweeper.storage.database.host=$(pwd)/multirun/2022-11-09/12-37-09/datatbase.pkl

Could we support resuming directly ?

It all depends on when the folders for the new sweep are created, if they are created soon enough we could copy the old database to the new location for the user so he would not have to change the db path

python my_app.py -m hydra.sweeper.resume=$(pwd)/multirun/2022-11-09/12-37-09/datatbase.pkl

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

1 participant