Skip to content

Conversation

@SamDuffield
Copy link
Contributor

Adds a sigma parameter for the momenta target distribution of SGHMC and SGNHT. This is needed to get an equivalence with SGD+momenta when setting temperature=0 as SGD+momenta has three tuning parameters (lr, momentum, dampening) assuming no weight decay.

@SamDuffield SamDuffield marked this pull request as draft May 15, 2024 19:46
Copy link
Contributor

@KaelanDt KaelanDt left a comment

Choose a reason for hiding this comment

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

LGTM! Just curious, does the addition of sigma make the tests past more smoothly (ie lower tol)?

@SamDuffield SamDuffield marked this pull request as ready for review June 5, 2024 14:27
@SamDuffield SamDuffield merged commit 6152010 into main Jun 5, 2024
@SamDuffield SamDuffield deleted the momenta-var branch June 5, 2024 14:27
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