-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improvements to Ablation Paths #27
base: main
Are you sure you want to change the base?
Conversation
Thanks a lot 🙏 Comments on the "controversial" changes:
|
The hypersweeper currently has two nested loops: Outer loop: hypersweeper/hydra_plugins/hypersweeper/hypersweeper_sweeper.py Lines 447 to 449 in 0515002
Inner loop: hypersweeper/hydra_plugins/hypersweeper/hypersweeper_sweeper.py Lines 456 to 458 in 0515002
Currently, the
If this is intentional, we need a second termination flag to terminate the outer loop as well. Or is it a bug and we should simply include the |
I think the above improvements are not controversial. More problematic are the following two changes:
finish_run
to the ablation path and the hypersweeper in general. This method allows for computing final statistics after a hypersweeper run is done (e.g. computing figures of the ablation paths or creating a CSV file with the configurations on the ablation path). This change made it necessary to add thefinish_run
method to every other sweeper as well. I am not sure if this aligns with your code philosophy of the project. What do you think?optimizer_termination
flag returned by theask
method to every sweeper. This allows a sweeper to early stop when it is done, as necessary by the ablation path. This fixes the work around with the error that was raised and catched in the previous implementation.