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

Making gradient clipping optional & max gradient norm variable #3240

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

plonerma
Copy link
Collaborator

This PR allows users to disable gradient clipping (by setting max_grad_norm=None) and makes the maximum norm a gradient is clipped to variable.

@alanakbik
Copy link
Collaborator

@plonerma thanks for adding this!

@alanakbik alanakbik merged commit 4a4fef1 into master Aug 8, 2023
1 check passed
@alanakbik alanakbik deleted the variable_grad_norm_clipping branch August 8, 2023 19:03
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