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

Replace Python loops in LieselInterface with native Jax #205

Open
jobrachem opened this issue Aug 28, 2024 · 0 comments
Open

Replace Python loops in LieselInterface with native Jax #205

jobrachem opened this issue Aug 28, 2024 · 0 comments
Labels
comp:goose This issue is related to the goose module enhancement New feature or request

Comments

@jobrachem
Copy link
Contributor

jobrachem commented Aug 28, 2024

I keep experiencing relatively long compile times. I suspect, the Python loops in LieselInterface.update_state, and possibly in LieselInterface.extract_position might be partly responsible for this, see this point in the Jax FAQ. I have not looked into it in detail, but I hope these loops can be replaced by using something like jax.lax.scan.

@jobrachem jobrachem added enhancement New feature or request comp:goose This issue is related to the goose module labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:goose This issue is related to the goose module enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant