Skip to content

Speed up compilation of the equilibrium layer solver in REN #30

Description

@nic-barbara

We currently use a for loop to iterate through the equilibrium layer and solve for w_t. This is slow to compile in JAX, and would probably be much faster if we used jax.lax.scan instead. Switch it over.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions