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

check-and-clip linear_rescale to [0,1] #524

Closed
wants to merge 1 commit into from

Conversation

mattlevine22
Copy link

Protect against floating point errors that sometimes occur on GPUs (jax-ml/jax#24807). Previously observed that linear_rescale was sometimes returning 1.000001 for t==t1, and this was creating an error in the evaluate method of VirtualBrownianTree during SDE solves on GPU. Did not observe issue on CPUs.

@patrick-kidger
Copy link
Owner

Closing as superseded by #526! Thanks @mattlevine22 for putting this one together :)

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