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

feat: check types in splines to allow amp #52

Merged
merged 2 commits into from
Oct 26, 2023
Merged

feat: check types in splines to allow amp #52

merged 2 commits into from
Oct 26, 2023

Conversation

VincentStimper
Copy link
Owner

  • Check types and cast them if necessary in spline function so that splines and, hence, neural spline flows can be trained with automatic mixed precision (amp)

@VincentStimper VincentStimper added bug Something isn't working enhancement New feature or request labels Oct 26, 2023
@VincentStimper VincentStimper self-assigned this Oct 26, 2023
@VincentStimper VincentStimper merged commit 374c6e4 into master Oct 26, 2023
qqianfeng added a commit to qqianfeng/normalizing-flows that referenced this pull request Oct 30, 2023
feat: check types in splines to allow amp (VincentStimper#52)
qqianfeng pushed a commit to qqianfeng/normalizing-flows that referenced this pull request Oct 30, 2023
* Cast outputs to allow amp

* Only cast if necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant