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

Variable inner loops for different optimizers #37

Closed
lubbersnick opened this issue Jul 19, 2023 · 0 comments
Closed

Variable inner loops for different optimizers #37

lubbersnick opened this issue Jul 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lubbersnick
Copy link
Collaborator

If we pull out the step loop from the epoch loop as a variable function, this will make the library compatible with closure-based optimizers or other optimizers (such as SAM).

To do this, we should add three versions

  • (default) regular steps
  • closure-based steps
  • two-step (like SAM)

Which version should be controlled by the Controller. We can create an enum or use a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant