liesel icon indicating copy to clipboard operation
liesel copied to clipboard

Replace Python loops in LieselInterface with native Jax

Open jobrachem opened this issue 5 months ago • 0 comments

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 avatar Aug 28 '24 01:08 jobrachem