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

Fixed point iterator #978

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

theorashid
Copy link
Contributor

Description

This builds on @aseyboldt's work in #944. It is part of the INLA hackathon (pymc-devs/pymc-experimental#340, specific related issues pymc-devs/pymc-experimental#342 and pymc-devs/pymc-experimental#343) and will later involve rewrites for the gradient using the adjoint method where we define the backward pass only at the solution point rather than backpropagating through each step of the iterator and storing all the intermediate values (implicit function theorem, see here, here, and here).

There's a crappy test that checks it matches the jax output from an example from the Deep Implicit Layers tutorial. Note, it's essential to run this with jax float64 precision

Related Issue

Checklist

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

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.

1 participant