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

Add NoOp optimizer #1560

Merged
merged 4 commits into from
Sep 30, 2024
Merged

Add NoOp optimizer #1560

merged 4 commits into from
Sep 30, 2024

Conversation

snarayan21
Copy link
Contributor

@snarayan21 snarayan21 commented Sep 30, 2024

Adds the no op optimizer. Useful mainly for debugging, or when running models when we only care about capturing tensors in fwd & bwd, saving mem, and not about changing the model params at all).

unit test included

In yaml, can simply specify as:

  optimizer:
    name: no_op

@snarayan21 snarayan21 requested a review from a team as a code owner September 30, 2024 16:52
@snarayan21 snarayan21 merged commit 4202a06 into main Sep 30, 2024
9 checks passed
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