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

[FEAT] Add option to modify the default configure_optimizers() behavior #1015

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

JQGoh
Copy link
Contributor

@JQGoh JQGoh commented May 23, 2024

Rationale

This shall deprecate the earlier work introduced in: #998

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez
Copy link
Member

Hey @JQGoh, thanks a lot for trying this approach! Although I think it's fine to add more arguments for now, we can give this a shot when we work towards v2.0.

@JQGoh
Copy link
Contributor Author

JQGoh commented May 23, 2024

Hey @JQGoh, thanks a lot for trying this approach! Although I think it's fine to add more arguments for now, we can give this a shot when we work towards v2.0.

In that case, I shall put this on hold then.

@JQGoh JQGoh force-pushed the feat/modify-config-optimizers branch from 3924876 to eca5d9b Compare December 11, 2024 17:53
nbdev_clean --clear_all

remove unnecessary changes
@JQGoh JQGoh force-pushed the feat/modify-config-optimizers branch from eca5d9b to 2e3d7c6 Compare December 11, 2024 17:57
@JQGoh JQGoh marked this pull request as ready for review December 11, 2024 18:51
@JQGoh
Copy link
Contributor Author

JQGoh commented Dec 11, 2024

@jmoralez @elephaint @marcopeix
Please review. After the first round of review, I can improve it with raising a warning when set_configure_optimizers will suggest the fallback option.

@JQGoh
Copy link
Contributor Author

JQGoh commented Dec 13, 2024

This breaking change shall fix #1096

@@ -69,7 +69,7 @@ nbdev_export
If you're working on the local interface you can just use `nbdev_test --n_workers 1 --do_print --timing`.

### Cleaning notebooks
Since the notebooks output cells can vary from run to run (even if they produce the same outputs) the notebooks are cleaned before committing them. Please make sure to run `nbdev_clean --clear_all` before committing your changes. If you clean the library's notebooks with this command please backtrack the changes you make to the example notebooks `git checkout nbs/examples`, unless you intend to change the examples.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Revise this outdated path

@JQGoh
Copy link
Contributor Author

JQGoh commented Dec 22, 2024

@jmoralez I have modified it based on your suggestion.

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.

2 participants