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

No EMA buffer at beta1==0 #32

Merged
merged 3 commits into from
Dec 18, 2024
Merged

No EMA buffer at beta1==0 #32

merged 3 commits into from
Dec 18, 2024

Conversation

dxqbYD
Copy link
Contributor

@dxqbYD dxqbYD commented Dec 16, 2024

exp_avg = state['exp_avg']
p.data.addcdiv_(exp_avg,denom, value=-dlr)
else:
p.data.addcdiv_(grad,denom, value=-dlr * d)
Copy link
Owner

Choose a reason for hiding this comment

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

Could you please fix the formatting? (missing spaces after ,)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm an a business trip - I have checked the "Allow edits by maintainers" checkbox - not sure how this works exactly, but I suppose there is an easy way for you to directly make this change on the github website, no?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah that setting makes it possible for repo admins to edit PR code via GitHub.

Copy link
Owner

Choose a reason for hiding this comment

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

Indeed, I could do it myself, thanks

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.

3 participants